diff options
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index b081887..801c49e 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -403,10 +403,17 @@ struct plugin_api { int *rundb_initialized; int (*strncmp)(const char *, const char *, size_t); #if LCD_DEPTH > 1 +#ifdef HAVE_LCD_COLOR + void (*lcd_set_foreground)(struct rgb color); + struct rgb (*lcd_get_foreground)(void); + void (*lcd_set_background)(struct rgb color); + struct rgb (*lcd_get_background)(void); +#else void (*lcd_set_foreground)(int brightness); int (*lcd_get_foreground)(void); void (*lcd_set_background)(int brightness); int (*lcd_get_background)(void); +#endif void (*lcd_bitmap_part)(const unsigned char *src, int src_x, int src_y, int stride, int x, int y, int width, int height); void (*lcd_bitmap)(const unsigned char *src, int x, int y, int width, |