summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h56
1 files changed, 30 insertions, 26 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 78bffe08ed..b2e798d0e8 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -189,35 +189,39 @@ struct plugin_api {
189 189
190#ifdef HAVE_REMOTE_LCD 190#ifdef HAVE_REMOTE_LCD
191 /* remote lcd */ 191 /* remote lcd */
192 void (*remote_clear_display)(void); 192 void (*lcd_remote_set_contrast)(int x);
193 void (*remote_puts)(int x, int y, const unsigned char *string); 193 void (*lcd_remote_clear_display)(void);
194 void (*remote_lcd_puts_scroll)(int x, int y, const unsigned char* string); 194 void (*lcd_remote_puts)(int x, int y, const unsigned char *string);
195 void (*remote_lcd_stop_scroll)(void); 195 void (*lcd_remote_lcd_puts_scroll)(int x, int y, const unsigned char* string);
196 void (*remote_set_contrast)(int x); 196 void (*lcd_remote_lcd_stop_scroll)(void);
197 197
198 void (*remote_putsxy)(int x, int y, const unsigned char *string); 198 void (*lcd_remote_roll)(int pixels);
199 void (*remote_puts_style)(int x, int y, const unsigned char *str, int style); 199
200 void (*remote_puts_scroll_style)(int x, int y, const unsigned char* string, 200 void (*lcd_remote_set_drawmode)(int mode);
201 int style); 201 int (*lcd_remote_get_drawmode)(void);
202 void (*remote_bitmap)(const unsigned char *src, int x, int y, 202 void (*lcd_remote_setfont)(int font);
203 int nx, int ny, bool clear); 203 int (*lcd_remote_getstringsize)(const unsigned char *str, int *w, int *h);
204 void (*remote_drawline)(int x1, int y1, int x2, int y2); 204 void (*lcd_remote_drawpixel)(int x, int y);
205 void (*remote_clearline)(int x1, int y1, int x2, int y2); 205 void (*lcd_remote_drawline)(int x1, int y1, int x2, int y2);
206 void (*remote_drawpixel)(int x, int y); 206 void (*lcd_remote_hline)(int x1, int x2, int y);
207 void (*remote_clearpixel)(int x, int y); 207 void (*lcd_remote_vline)(int x, int y1, int y2);
208 void (*remote_setfont)(int font); 208 void (*lcd_remote_drawrect)(int x, int y, int nx, int ny);
209 struct font* (*remote_font_get)(int font); 209 void (*lcd_remote_fillrect)(int x, int y, int nx, int ny);
210 void (*remote_clearrect)(int x, int y, int nx, int ny); 210 void (*lcd_remote_bitmap_part)(const unsigned char *src, int src_x,
211 void (*remote_fillrect)(int x, int y, int nx, int ny); 211 int src_y, int stride, int x, int y,
212 void (*remote_drawrect)(int x, int y, int nx, int ny); 212 int width, int height);
213 void (*remote_invertrect)(int x, int y, int nx, int ny); 213 void (*lcd_remote_bitmap)(const unsigned char *src, int x, int y, int nx,
214 int (*remote_getstringsize)(const unsigned char *str, int *w, int *h); 214 int ny);
215 void (*remote_update)(void); 215 void (*lcd_remote_putsxy)(int x, int y, const unsigned char *string);
216 void (*remote_update_rect)(int x, int y, int width, int height); 216 void (*lcd_remote_puts_style)(int x, int y, const unsigned char *str, int style);
217 void (*lcd_remote_puts_scroll_style)(int x, int y, const unsigned char* string,
218 int style);
219 unsigned char* lcd_remote_framebuffer;
220 void (*lcd_remote_update)(void);
221 void (*lcd_remote_update_rect)(int x, int y, int width, int height);
217 222
218 void (*remote_backlight_on)(void); 223 void (*remote_backlight_on)(void);
219 void (*remote_backlight_off)(void); 224 void (*remote_backlight_off)(void);
220 unsigned char* lcd_remote_framebuffer;
221#endif 225#endif
222 226
223 /* button */ 227 /* button */