diff options
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/screen_access.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/screen_access.h b/apps/screen_access.h index c94e0bd..08e0ef0 100644 --- a/apps/screen_access.h +++ b/apps/screen_access.h @@ -70,7 +70,11 @@ struct screen int x, int y, int width, int height); void (*set_drawmode)(int mode); #if LCD_DEPTH > 1 +#if HAVE_LCD_COLOR + void (*set_background)(struct rgb color); +#else void (*set_background)(int brightness); +#endif #endif /* LCD_DEPTH > 1 */ void (*update_rect)(int x, int y, int width, int height); void (*fillrect)(int x, int y, int width, int height); |