summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 3cd3fa6b63..0187de8678 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -104,7 +104,7 @@
104#define PLUGIN_MAGIC 0x526F634B /* RocK */ 104#define PLUGIN_MAGIC 0x526F634B /* RocK */
105 105
106/* increase this every time the api struct changes */ 106/* increase this every time the api struct changes */
107#define PLUGIN_API_VERSION 24 107#define PLUGIN_API_VERSION 25
108 108
109/* update this to latest version if a change to the api struct breaks 109/* update this to latest version if a change to the api struct breaks
110 backwards compatibility (and please take the opportunity to sort in any 110 backwards compatibility (and please take the opportunity to sort in any
@@ -221,7 +221,7 @@ struct plugin_api {
221 void (*lcd_remote_puts_style)(int x, int y, const unsigned char *str, int style); 221 void (*lcd_remote_puts_style)(int x, int y, const unsigned char *str, int style);
222 void (*lcd_remote_puts_scroll_style)(int x, int y, const unsigned char* string, 222 void (*lcd_remote_puts_scroll_style)(int x, int y, const unsigned char* string,
223 int style); 223 int style);
224 unsigned char* lcd_remote_framebuffer; 224 fb_remote_data* lcd_remote_framebuffer;
225 void (*lcd_remote_update)(void); 225 void (*lcd_remote_update)(void);
226 void (*lcd_remote_update_rect)(int x, int y, int width, int height); 226 void (*lcd_remote_update_rect)(int x, int y, int width, int height);
227 227
@@ -529,6 +529,16 @@ struct plugin_api {
529 const unsigned char *(*font_get_bits)( struct font *pf, unsigned short char_code ); 529 const unsigned char *(*font_get_bits)( struct font *pf, unsigned short char_code );
530 struct font* (*font_load)(const char *path); 530 struct font* (*font_load)(const char *path);
531#endif 531#endif
532#if defined(HAVE_REMOTE_LCD) && (LCD_REMOTE_DEPTH > 1)
533 void (*lcd_remote_set_foreground)(unsigned foreground);
534 unsigned (*lcd_remote_get_foreground)(void);
535 void (*lcd_remote_set_background)(unsigned foreground);
536 unsigned (*lcd_remote_get_background)(void);
537 void (*lcd_remote_bitmap_part)(const fb_remote_data *src, int src_x, int src_y,
538 int stride, int x, int y, int width, int height);
539 void (*lcd_remote_bitmap)(const fb_remote_data *src, int x, int y, int width,
540 int height);
541#endif
532}; 542};
533 543
534/* plugin header */ 544/* plugin header */