summaryrefslogtreecommitdiff
path: root/apps/screen_access.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-10-12 20:45:31 +0000
committerDave Chapman <dave@dchapman.com>2006-10-12 20:45:31 +0000
commitfc865cb5a85d2c465159b64e459fbf4e02a8e987 (patch)
treeed764aba712679e22b782535db26db8af3276de9 /apps/screen_access.c
parent00d218257be50f7f572deeed49f2ba9b2e235834 (diff)
downloadrockbox-fc865cb5a85d2c465159b64e459fbf4e02a8e987.tar.gz
rockbox-fc865cb5a85d2c465159b64e459fbf4e02a8e987.zip
Revert change to screen_access.c (adding the native-bitmap drawing function) that caused warnings on the H3x0. We now draw the USB logo using the normal lcd_bitmap() and lcd_remote_bitmap() functions instead of the screens API, which doesn't handle the differing bitmaps types well. Remove apps/gui/logo.[ch] as they are now longer used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11208 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screen_access.c')
-rw-r--r--apps/screen_access.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c
index cac0b862ca..704cab1a37 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -54,12 +54,7 @@ void screen_init(struct screen * screen, enum screen_type screen_type)
54 screen->mono_bitmap=&lcd_remote_mono_bitmap; 54 screen->mono_bitmap=&lcd_remote_mono_bitmap;
55 screen->mono_bitmap_part=&lcd_remote_mono_bitmap_part; 55 screen->mono_bitmap_part=&lcd_remote_mono_bitmap_part;
56 screen->set_drawmode=&lcd_remote_set_drawmode; 56 screen->set_drawmode=&lcd_remote_set_drawmode;
57#if LCD_REMOTE_DEPTH == 1 57#if LCD_REMOTE_DEPTH > 1
58 screen->bitmap=&lcd_remote_mono_bitmap;
59 screen->bitmap_part=&lcd_remote_mono_bitmap_part;
60#else
61 screen->bitmap=&lcd_remote_bitmap;
62 screen->bitmap_part=&lcd_remote_bitmap_part;
63 screen->get_background=&lcd_remote_get_background; 58 screen->get_background=&lcd_remote_get_background;
64 screen->get_foreground=&lcd_remote_get_foreground; 59 screen->get_foreground=&lcd_remote_get_foreground;
65 screen->set_background=&lcd_remote_set_background; 60 screen->set_background=&lcd_remote_set_background;
@@ -131,9 +126,9 @@ void screen_init(struct screen * screen, enum screen_type screen_type)
131 screen->mono_bitmap=&lcd_mono_bitmap; 126 screen->mono_bitmap=&lcd_mono_bitmap;
132 screen->mono_bitmap_part=&lcd_mono_bitmap_part; 127 screen->mono_bitmap_part=&lcd_mono_bitmap_part;
133 screen->set_drawmode=&lcd_set_drawmode; 128 screen->set_drawmode=&lcd_set_drawmode;
129#if LCD_DEPTH > 1
134 screen->bitmap=&lcd_bitmap; 130 screen->bitmap=&lcd_bitmap;
135 screen->bitmap_part=&lcd_bitmap_part; 131 screen->bitmap_part=&lcd_bitmap_part;
136#if LCD_DEPTH > 1
137#if LCD_DEPTH == 2 132#if LCD_DEPTH == 2
138 /* No transparency yet for grayscale lcd */ 133 /* No transparency yet for grayscale lcd */
139 screen->transparent_bitmap=&lcd_bitmap; 134 screen->transparent_bitmap=&lcd_bitmap;