summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2007-04-05 11:39:21 +1000
committerJeremy Kerr <jk@ozlabs.org>2007-04-05 11:39:21 +1000
commit457341fd01e3796f908dd1c428bf1b23eabee704 (patch)
treee5e98e818d6aed0c5fa4f3860684e90827e7ef78
parent498b745ce85026ceb5912b10a08e53ffbd0f1598 (diff)
downloadpetitboot-457341fd01e3796f908dd1c428bf1b23eabee704.zip
petitboot-457341fd01e3796f908dd1c428bf1b23eabee704.tar.gz
Use compressed cursor
Twin can support compressed cursors, so save a little space here. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
-rw-r--r--Makefile2
-rw-r--r--artwork/cursorbin38740 -> 0 bytes
-rw-r--r--artwork/cursor.gzbin0 -> 9167 bytes
-rw-r--r--petitboot.c2
4 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 870fb14..ff7d446 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ LDFLAGS =
CFLAGS = -O0 -ggdb -Wall '-DPREFIX="$(PREFIX)"'
PARSERS = native yaboot kboot
-ARTWORK = background.jpg cdrom.png hdd.png usbpen.png cursor
+ARTWORK = background.jpg cdrom.png hdd.png usbpen.png cursor.gz
all: petitboot udev-helper
diff --git a/artwork/cursor b/artwork/cursor
deleted file mode 100644
index fac3b0c..0000000
--- a/artwork/cursor
+++ /dev/null
Binary files differ
diff --git a/artwork/cursor.gz b/artwork/cursor.gz
new file mode 100644
index 0000000..b73b72f
--- /dev/null
+++ b/artwork/cursor.gz
Binary files differ
diff --git a/petitboot.c b/petitboot.c
index b76a718..ea7dc57 100644
--- a/petitboot.c
+++ b/petitboot.c
@@ -1082,7 +1082,7 @@ int main(int argc, char **argv)
twin_linux_mouse_create(NULL, pboot_screen);
if (pboot_fbdev != NULL) {
- char *cursor_path = artwork_pathname("cursor");
+ char *cursor_path = artwork_pathname("cursor.gz");
pboot_cursor = twin_load_X_cursor(cursor_path, 2,
&pboot_cursor_hx,
&pboot_cursor_hy);
OpenPOWER on IntegriCloud