diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2007-03-31 09:58:49 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2007-03-31 09:58:49 +0000 |
| commit | 54ea2e435e1a5688de4e4dcf551a1fc9c1db323f (patch) | |
| tree | e8ee4e55a20c872a6c0deff554734038c35dc661 /apps/plugin.h | |
| parent | 6186b556bdbe97bc3c50dd8feb970590bec2053c (diff) | |
| download | rockbox-54ea2e435e1a5688de4e4dcf551a1fc9c1db323f.zip rockbox-54ea2e435e1a5688de4e4dcf551a1fc9c1db323f.tar.gz rockbox-54ea2e435e1a5688de4e4dcf551a1fc9c1db323f.tar.bz2 rockbox-54ea2e435e1a5688de4e4dcf551a1fc9c1db323f.tar.xz | |
Charcell lcd driver: Preparations for switching to non-immediate LCD updates, using lcd_update() like on bitmap targets. * Added proper clipping. * Simplified simulator code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12979 a1c6a512-1295-4272-9138-f99709370657
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 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, |