summaryrefslogtreecommitdiffstats
path: root/apps/screen_access.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/screen_access.h')
-rw-r--r--apps/screen_access.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/screen_access.h b/apps/screen_access.h
index c94e0bd95f..08e0ef0cb2 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);