lcd-charcell: Add set_drawmode() wrapper to multi-screen API.

Change-Id: Idb6477aca8b19cb346ba2c2f5b91074e4679b0dd
This commit is contained in:
Thomas Martitz 2013-12-20 23:34:28 +01:00
parent 77836e5736
commit acee675a5e
2 changed files with 12 additions and 3 deletions

View file

@ -66,6 +66,7 @@ struct screen
#ifdef HAVE_BUTTONBAR
bool has_buttonbar;
#endif
void (*set_drawmode)(int mode);
void (*set_viewport)(struct viewport* vp);
int (*getwidth)(void);
int (*getheight)(void);
@ -101,7 +102,6 @@ struct screen
void (*bmp)(const struct bitmap *bm, int x, int y);
void (*bmp_part)(const struct bitmap* bm, int src_x, int src_y,
int x, int y, int width, int height);
void (*set_drawmode)(int mode);
#if defined(HAVE_LCD_COLOR) && defined(LCD_REMOTE_DEPTH) && LCD_REMOTE_DEPTH > 1
unsigned (*color_to_native)(unsigned color);
#endif