summaryrefslogtreecommitdiffstats
path: root/apps/screen_access.c
diff options
context:
space:
mode:
authorBen Basha <benbasha@rockbox.org>2006-02-10 13:57:11 +0000
committerBen Basha <benbasha@rockbox.org>2006-02-10 13:57:11 +0000
commite0622ab588583d1148af54c0e856ae63339a3491 (patch)
tree89ee56eb249b4a02399690e35ea3d08d031ffcb9 /apps/screen_access.c
parent1e385fdaeb7f21d70c8f2dea180ce75461ac27b9 (diff)
downloadrockbox-e0622ab588583d1148af54c0e856ae63339a3491.tar.gz
rockbox-e0622ab588583d1148af54c0e856ae63339a3491.tar.bz2
rockbox-e0622ab588583d1148af54c0e856ae63339a3491.zip
add a bitmap progress bar option + add %P|filename.bmp| tag to the WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8648 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screen_access.c')
-rw-r--r--apps/screen_access.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c
index a1f615cd16..4aa2cad67f 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -52,6 +52,7 @@ void screen_init(struct screen * screen, enum screen_type screen_type)
screen->getstringsize=&lcd_remote_getstringsize;
screen->putsxy=&lcd_remote_putsxy;
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
screen->get_background=&lcd_remote_get_background;
@@ -121,14 +122,18 @@ void screen_init(struct screen * screen, enum screen_type screen_type)
screen->getstringsize=&lcd_getstringsize;
screen->putsxy=&lcd_putsxy;
screen->mono_bitmap=&lcd_mono_bitmap;
+ screen->mono_bitmap_part=&lcd_mono_bitmap_part;
screen->set_drawmode=&lcd_set_drawmode;
#if LCD_DEPTH > 1
screen->bitmap=&lcd_bitmap;
+ screen->bitmap_part=&lcd_bitmap_part;
#if LCD_DEPTH == 2
/* No transparency yet for grayscale lcd */
screen->transparent_bitmap=&lcd_bitmap;
+ screen->transparent_bitmap_part=&lcd_bitmap_part;
#else
screen->transparent_bitmap=&lcd_bitmap_transparent;
+ screen->transparent_bitmap_part=&lcd_bitmap_transparent_part;
#endif
screen->get_background=&lcd_get_background;
screen->get_foreground=&lcd_get_foreground;