From b0263be48ebadfb688b068d6bb2f50c9e1db20a6 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 9 Dec 2012 17:27:11 +1100 Subject: Add the 9 segment lcd funciton to remote lcds Change-Id: I00f9a067522624a87befcf95a811b49ad685029c --- apps/screen_access.c | 1 + firmware/export/lcd-remote.h | 2 ++ 2 files changed, 3 insertions(+) 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); -- cgit v1.2.3