summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index b081887328..801c49e0f1 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -403,10 +403,17 @@ struct plugin_api {
403 int *rundb_initialized; 403 int *rundb_initialized;
404 int (*strncmp)(const char *, const char *, size_t); 404 int (*strncmp)(const char *, const char *, size_t);
405#if LCD_DEPTH > 1 405#if LCD_DEPTH > 1
406#ifdef HAVE_LCD_COLOR
407 void (*lcd_set_foreground)(struct rgb color);
408 struct rgb (*lcd_get_foreground)(void);
409 void (*lcd_set_background)(struct rgb color);
410 struct rgb (*lcd_get_background)(void);
411#else
406 void (*lcd_set_foreground)(int brightness); 412 void (*lcd_set_foreground)(int brightness);
407 int (*lcd_get_foreground)(void); 413 int (*lcd_get_foreground)(void);
408 void (*lcd_set_background)(int brightness); 414 void (*lcd_set_background)(int brightness);
409 int (*lcd_get_background)(void); 415 int (*lcd_get_background)(void);
416#endif
410 void (*lcd_bitmap_part)(const unsigned char *src, int src_x, int src_y, 417 void (*lcd_bitmap_part)(const unsigned char *src, int src_x, int src_y,
411 int stride, int x, int y, int width, int height); 418 int stride, int x, int y, int width, int height);
412 void (*lcd_bitmap)(const unsigned char *src, int x, int y, int width, 419 void (*lcd_bitmap)(const unsigned char *src, int x, int y, int width,