diff options
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 7688057d86..cb076f5b85 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -110,12 +110,12 @@ | |||
110 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 110 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
111 | 111 | ||
112 | /* increase this every time the api struct changes */ | 112 | /* increase this every time the api struct changes */ |
113 | #define PLUGIN_API_VERSION 50 | 113 | #define PLUGIN_API_VERSION 51 |
114 | 114 | ||
115 | /* update this to latest version if a change to the api struct breaks | 115 | /* update this to latest version if a change to the api struct breaks |
116 | backwards compatibility (and please take the opportunity to sort in any | 116 | backwards compatibility (and please take the opportunity to sort in any |
117 | new function which are "waiting" at the end of the function table) */ | 117 | new function which are "waiting" at the end of the function table) */ |
118 | #define PLUGIN_MIN_API_VERSION 50 | 118 | #define PLUGIN_MIN_API_VERSION 51 |
119 | 119 | ||
120 | /* plugin return codes */ | 120 | /* plugin return codes */ |
121 | enum plugin_status { | 121 | enum plugin_status { |
@@ -134,6 +134,7 @@ struct plugin_api { | |||
134 | 134 | ||
135 | /* lcd */ | 135 | /* lcd */ |
136 | void (*lcd_set_contrast)(int x); | 136 | void (*lcd_set_contrast)(int x); |
137 | void (*lcd_update)(void); | ||
137 | void (*lcd_clear_display)(void); | 138 | void (*lcd_clear_display)(void); |
138 | void (*lcd_setmargins)(int x, int y); | 139 | void (*lcd_setmargins)(int x, int y); |
139 | int (*lcd_getstringsize)(const unsigned char *str, int *w, int *h); | 140 | int (*lcd_getstringsize)(const unsigned char *str, int *w, int *h); |
@@ -191,7 +192,6 @@ struct plugin_api { | |||
191 | fb_data* lcd_framebuffer; | 192 | fb_data* lcd_framebuffer; |
192 | void (*lcd_blit) (const fb_data* data, int x, int by, int width, | 193 | void (*lcd_blit) (const fb_data* data, int x, int by, int width, |
193 | int bheight, int stride); | 194 | int bheight, int stride); |
194 | void (*lcd_update)(void); | ||
195 | void (*lcd_update_rect)(int x, int y, int width, int height); | 195 | void (*lcd_update_rect)(int x, int y, int width, int height); |
196 | void (*gui_scrollbar_draw)(struct screen * screen, int x, int y, | 196 | void (*gui_scrollbar_draw)(struct screen * screen, int x, int y, |
197 | int width, int height, int items, | 197 | int width, int height, int items, |