diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugin.c | 2 | ||||
-rw-r--r-- | apps/plugin.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index de04269a89..52d43123b7 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -66,6 +66,7 @@ static const struct plugin_api rockbox_api = { | |||
66 | 66 | ||
67 | /* lcd */ | 67 | /* lcd */ |
68 | lcd_set_contrast, | 68 | lcd_set_contrast, |
69 | lcd_update, | ||
69 | lcd_clear_display, | 70 | lcd_clear_display, |
70 | lcd_setmargins, | 71 | lcd_setmargins, |
71 | lcd_getstringsize, | 72 | lcd_getstringsize, |
@@ -114,7 +115,6 @@ static const struct plugin_api rockbox_api = { | |||
114 | lcd_puts_scroll_style, | 115 | lcd_puts_scroll_style, |
115 | &lcd_framebuffer[0][0], | 116 | &lcd_framebuffer[0][0], |
116 | lcd_blit, | 117 | lcd_blit, |
117 | lcd_update, | ||
118 | lcd_update_rect, | 118 | lcd_update_rect, |
119 | gui_scrollbar_draw, | 119 | gui_scrollbar_draw, |
120 | font_get, | 120 | font_get, |
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, |