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 de04269..52d4312 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -66,6 +66,7 @@ static const struct plugin_api rockbox_api = { /* lcd */ lcd_set_contrast, + lcd_update, lcd_clear_display, lcd_setmargins, lcd_getstringsize, @@ -114,7 +115,6 @@ static const struct plugin_api rockbox_api = { lcd_puts_scroll_style, &lcd_framebuffer[0][0], lcd_blit, - lcd_update, lcd_update_rect, gui_scrollbar_draw, font_get, diff --git a/apps/plugin.h b/apps/plugin.h index 7688057..cb076f5 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -110,12 +110,12 @@ #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 50 +#define PLUGIN_API_VERSION 51 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any new function which are "waiting" at the end of the function table) */ -#define PLUGIN_MIN_API_VERSION 50 +#define PLUGIN_MIN_API_VERSION 51 /* plugin return codes */ enum plugin_status { @@ -134,6 +134,7 @@ struct plugin_api { /* lcd */ void (*lcd_set_contrast)(int x); + void (*lcd_update)(void); void (*lcd_clear_display)(void); void (*lcd_setmargins)(int x, int y); int (*lcd_getstringsize)(const unsigned char *str, int *w, int *h); @@ -191,7 +192,6 @@ struct plugin_api { fb_data* lcd_framebuffer; void (*lcd_blit) (const fb_data* data, int x, int by, int width, int bheight, int stride); - void (*lcd_update)(void); void (*lcd_update_rect)(int x, int y, int width, int height); void (*gui_scrollbar_draw)(struct screen * screen, int x, int y, int width, int height, int items, |