summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 61a3219893..1998bcf315 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -97,7 +97,7 @@
97#define PLUGIN_MAGIC 0x526F634B /* RocK */ 97#define PLUGIN_MAGIC 0x526F634B /* RocK */
98 98
99/* increase this every time the api struct changes */ 99/* increase this every time the api struct changes */
100#define PLUGIN_API_VERSION 4 100#define PLUGIN_API_VERSION 5
101 101
102/* update this to latest version if a change to the api struct breaks 102/* update this to latest version if a change to the api struct breaks
103 backwards compatibility (and please take the opportunity to sort in any 103 backwards compatibility (and please take the opportunity to sort in any
@@ -161,10 +161,6 @@ struct plugin_api {
161 int stride, int x, int y, int width, int height); 161 int stride, int x, int y, int width, int height);
162 void (*lcd_bitmap)(const fb_data *src, int x, int y, int width, 162 void (*lcd_bitmap)(const fb_data *src, int x, int y, int width,
163 int height); 163 int height);
164 void (*lcd_bitmap_transparent_part)(const fb_data *src, int src_x, int src_y,
165 int stride, int x, int y, int width, int height);
166 void (*lcd_bitmap_transparent)(const fb_data *src, int x, int y,
167 int width, int height);
168#endif 164#endif
169 void (*lcd_putsxy)(int x, int y, const unsigned char *string); 165 void (*lcd_putsxy)(int x, int y, const unsigned char *string);
170 void (*lcd_puts_style)(int x, int y, const unsigned char *str, int style); 166 void (*lcd_puts_style)(int x, int y, const unsigned char *str, int style);
@@ -449,6 +445,12 @@ struct plugin_api {
449 void (*queue_post)(struct event_queue *q, long id, void *data); 445 void (*queue_post)(struct event_queue *q, long id, void *data);
450 void (*queue_wait_w_tmo)(struct event_queue *q, struct event *ev, int ticks); 446 void (*queue_wait_w_tmo)(struct event_queue *q, struct event *ev, int ticks);
451 void (*usb_acknowledge)(long id); 447 void (*usb_acknowledge)(long id);
448#if LCD_DEPTH == 16
449 void (*lcd_bitmap_transparent_part)(const fb_data *src, int src_x, int src_y,
450 int stride, int x, int y, int width, int height);
451 void (*lcd_bitmap_transparent)(const fb_data *src, int x, int y,
452 int width, int height);
453#endif
452}; 454};
453 455
454/* plugin header */ 456/* plugin header */