summaryrefslogtreecommitdiffstats
path: root/apps/screen_access.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-10-06 08:37:22 +0000
committerDave Chapman <dave@dchapman.com>2006-10-06 08:37:22 +0000
commitda2bf53230f0b1b50a2ee480fce61d0669fd4dcc (patch)
tree1262a256ecf2eadd756e4d3e1d7d776c48a3dbb9 /apps/screen_access.c
parenta9a5c3584b5cfedd80851de5c761829b589ef49c (diff)
downloadrockbox-da2bf53230f0b1b50a2ee480fce61d0669fd4dcc.tar.gz
rockbox-da2bf53230f0b1b50a2ee480fce61d0669fd4dcc.tar.bz2
rockbox-da2bf53230f0b1b50a2ee480fce61d0669fd4dcc.zip
Move USB logo to an external (native-depth) bitmap.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11137 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screen_access.c')
-rw-r--r--apps/screen_access.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c
index 704cab1a37..2bcd2370f5 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -54,7 +54,12 @@ void screen_init(struct screen * screen, enum screen_type screen_type)
screen->mono_bitmap=&lcd_remote_mono_bitmap;
screen->mono_bitmap_part=&lcd_remote_mono_bitmap_part;
screen->set_drawmode=&lcd_remote_set_drawmode;
-#if LCD_REMOTE_DEPTH > 1
+#if LCD_REMOTE_DEPTH == 1
+ screen->bitmap=&lcd_remote_mono_bitmap;
+ screen->bitmap_part=&lcd_remote_mono_bitmap_part;
+#else
+ screen->bitmap=&lcd_remote_bitmap;
+ screen->bitmap_part=&lcd_remote_bitmap_part;
screen->get_background=&lcd_remote_get_background;
screen->get_foreground=&lcd_remote_get_foreground;
screen->set_background=&lcd_remote_set_background;