mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
lcd-charcell: Add set_drawmode() wrapper to multi-screen API.
Change-Id: Idb6477aca8b19cb346ba2c2f5b91074e4679b0dd
This commit is contained in:
parent
77836e5736
commit
acee675a5e
2 changed files with 12 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue