Add the 9 segment lcd funciton to remote lcds

Change-Id: I00f9a067522624a87befcf95a811b49ad685029c
This commit is contained in:
Jonathan Gordon 2012-12-09 17:27:11 +11:00
parent 406a363dde
commit b0263be48e
2 changed files with 3 additions and 0 deletions

View file

@ -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,

View file

@ -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);