Use compressed cursor
authorJeremy Kerr <jk@ozlabs.org>
Thu, 5 Apr 2007 01:39:21 +0000 (11:39 +1000)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 5 Apr 2007 01:39:21 +0000 (11:39 +1000)
Twin can support compressed cursors, so save a little space here.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Makefile
artwork/cursor [deleted file]
artwork/cursor.gz [new file with mode: 0644]
petitboot.c

index 870fb14a184aac46d2d4810abfe94cc08cf20a90..ff7d446dd5a1c3b7b3f1a806334d95e8b82faf2f 100644 (file)
--- 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 (file)
index fac3b0c..0000000
Binary files a/artwork/cursor and /dev/null differ
diff --git a/artwork/cursor.gz b/artwork/cursor.gz
new file mode 100644 (file)
index 0000000..b73b72f
Binary files /dev/null and b/artwork/cursor.gz differ
index b76a7189518fd67b95cd6a096850e21cf8429957..ea7dc57619d1df9f540f6a8642182f3a621f5777 100644 (file)
@@ -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);