summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2012-12-09 17:27:11 +1100
committerJonathan Gordon <rockbox@jdgordon.info>2012-12-09 17:27:11 +1100
commitb0263be48ebadfb688b068d6bb2f50c9e1db20a6 (patch)
tree99e3fa23f09251be952ad20e163ff6246370bf8a
parent406a363dde3833984d981eeca571b7d77ade9f89 (diff)
downloadrockbox-b0263be48ebadfb688b068d6bb2f50c9e1db20a6.tar.gz
rockbox-b0263be48ebadfb688b068d6bb2f50c9e1db20a6.zip
Add the 9 segment lcd funciton to remote lcds
Change-Id: I00f9a067522624a87befcf95a811b49ad685029c
-rw-r--r--apps/screen_access.c1
-rw-r--r--firmware/export/lcd-remote.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c
index 79ab459475..152f96f7fa 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -303,6 +303,7 @@ struct screen screens[NB_SCREENS] =
303#endif 303#endif
304 .bmp = &lcd_remote_bmp, 304 .bmp = &lcd_remote_bmp,
305 .bmp_part = &lcd_remote_bmp_part, 305 .bmp_part = &lcd_remote_bmp_part,
306 .nine_segment_bmp = &lcd_remote_nine_segment_bmp,
306#if LCD_REMOTE_DEPTH > 1 307#if LCD_REMOTE_DEPTH > 1
307#if defined(HAVE_LCD_COLOR) 308#if defined(HAVE_LCD_COLOR)
308 .color_to_native=&lcd_remote_color_to_native, 309 .color_to_native=&lcd_remote_color_to_native,
diff --git a/firmware/export/lcd-remote.h b/firmware/export/lcd-remote.h
index 1bb19a5cfa..6a3371fef2 100644
--- a/firmware/export/lcd-remote.h
+++ b/firmware/export/lcd-remote.h
@@ -139,6 +139,8 @@ extern void lcd_remote_bitmap_part(const fb_remote_data *src, int src_x,
139 int width, int height); 139 int width, int height);
140extern void lcd_remote_bitmap(const fb_remote_data *src, int x, int y, 140extern void lcd_remote_bitmap(const fb_remote_data *src, int x, int y,
141 int width, int height); 141 int width, int height);
142extern void lcd_remote_nine_segment_bmp(const struct bitmap* bm, int x, int y,
143 int width, int height);
142 144
143/* Low-level drawing function types */ 145/* Low-level drawing function types */
144typedef void lcd_remote_pixelfunc_type(int x, int y); 146typedef void lcd_remote_pixelfunc_type(int x, int y);