summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 3d5f9a5504..4656b05be5 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -111,7 +111,7 @@ struct plugin_api {
111 111
112 /* lcd */ 112 /* lcd */
113 void (*lcd_clear_display)(void); 113 void (*lcd_clear_display)(void);
114 void (*lcd_puts)(int x, int y, unsigned char *string); 114 void (*lcd_puts)(int x, int y, const unsigned char *string);
115 void (*lcd_puts_scroll)(int x, int y, unsigned char* string); 115 void (*lcd_puts_scroll)(int x, int y, unsigned char* string);
116 void (*lcd_stop_scroll)(void); 116 void (*lcd_stop_scroll)(void);
117 void (*lcd_set_contrast)(int x); 117 void (*lcd_set_contrast)(int x);
@@ -125,7 +125,7 @@ struct plugin_api {
125 void (*lcd_icon)(int icon, bool enable); 125 void (*lcd_icon)(int icon, bool enable);
126#else 126#else
127 void (*lcd_putsxy)(int x, int y, const unsigned char *string); 127 void (*lcd_putsxy)(int x, int y, const unsigned char *string);
128 void (*lcd_puts_style)(int x, int y, unsigned char *str, int style); 128 void (*lcd_puts_style)(int x, int y, const unsigned char *str, int style);
129 void (*lcd_bitmap)(const unsigned char *src, int x, int y, 129 void (*lcd_bitmap)(const unsigned char *src, int x, int y,
130 int nx, int ny, bool clear); 130 int nx, int ny, bool clear);
131 void (*lcd_drawline)(int x1, int y1, int x2, int y2); 131 void (*lcd_drawline)(int x1, int y1, int x2, int y2);
@@ -138,7 +138,7 @@ struct plugin_api {
138 void (*lcd_fillrect)(int x, int y, int nx, int ny); 138 void (*lcd_fillrect)(int x, int y, int nx, int ny);
139 void (*lcd_drawrect)(int x, int y, int nx, int ny); 139 void (*lcd_drawrect)(int x, int y, int nx, int ny);
140 void (*lcd_invertrect)(int x, int y, int nx, int ny); 140 void (*lcd_invertrect)(int x, int y, int nx, int ny);
141 int (*lcd_getstringsize)(unsigned char *str, int *w, int *h); 141 int (*lcd_getstringsize)(const unsigned char *str, int *w, int *h);
142 void (*lcd_update)(void); 142 void (*lcd_update)(void);
143 void (*lcd_update_rect)(int x, int y, int width, int height); 143 void (*lcd_update_rect)(int x, int y, int width, int height);
144 void (*scrollbar)(int x, int y, int width, int height, int items, 144 void (*scrollbar)(int x, int y, int width, int height, int items,