summaryrefslogtreecommitdiffstats
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.tar.bz2
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] =
#endif
.bmp = &lcd_remote_bmp,
.bmp_part = &lcd_remote_bmp_part,
+ .nine_segment_bmp = &lcd_remote_nine_segment_bmp,
#if LCD_REMOTE_DEPTH > 1
#if defined(HAVE_LCD_COLOR)
.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,
int width, int height);
extern void lcd_remote_bitmap(const fb_remote_data *src, int x, int y,
int width, int height);
+extern void lcd_remote_nine_segment_bmp(const struct bitmap* bm, int x, int y,
+ int width, int height);
/* Low-level drawing function types */
typedef void lcd_remote_pixelfunc_type(int x, int y);