diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2012-12-09 17:27:11 +1100 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2012-12-09 17:27:11 +1100 |
| commit | b0263be48ebadfb688b068d6bb2f50c9e1db20a6 (patch) | |
| tree | 99e3fa23f09251be952ad20e163ff6246370bf8a | |
| parent | 406a363dde3833984d981eeca571b7d77ade9f89 (diff) | |
| download | rockbox-b0263be48ebadfb688b068d6bb2f50c9e1db20a6.zip rockbox-b0263be48ebadfb688b068d6bb2f50c9e1db20a6.tar.gz rockbox-b0263be48ebadfb688b068d6bb2f50c9e1db20a6.tar.bz2 rockbox-b0263be48ebadfb688b068d6bb2f50c9e1db20a6.tar.xz | |
Add the 9 segment lcd funciton to remote lcds
Change-Id: I00f9a067522624a87befcf95a811b49ad685029c
| -rw-r--r-- | apps/screen_access.c | 1 | ||||
| -rw-r--r-- | firmware/export/lcd-remote.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c index 79ab459..152f96f 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 1bb19a5..6a3371f 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); |