summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-02-26 13:37:42 +0000
committerJens Arnold <amiconn@rockbox.org>2006-02-26 13:37:42 +0000
commit6a972e02497d3015236189f72931c3d59fa51755 (patch)
tree0c0185dd66b47d7d1ee2d91e4a3ffb6dbabcc7d1 /apps/plugin.h
parent14fe89aa8d2ef05595bdba0e0b78f021f3e8d087 (diff)
downloadrockbox-6a972e02497d3015236189f72931c3d59fa51755.zip
rockbox-6a972e02497d3015236189f72931c3d59fa51755.tar.gz
rockbox-6a972e02497d3015236189f72931c3d59fa51755.tar.bz2
rockbox-6a972e02497d3015236189f72931c3d59fa51755.tar.xz
Finally - grayscale library support for the simulators. Currently SDL only, win32 and x11 won't link anymore due to missing simulator functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8845 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 7c35902..6d96d36 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -98,7 +98,7 @@
#define PLUGIN_MAGIC 0x526F634B /* RocK */
/* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 8
+#define PLUGIN_API_VERSION 9
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
@@ -469,6 +469,10 @@ struct plugin_api {
the API gets incompatible */
struct tree_context* (*tree_get_context)(void);
+#if defined(SIMULATOR) && defined(HAVE_LCD_BITMAP) && LCD_DEPTH < 8
+ void (*sim_lcd_ex_init)(int shades, unsigned long (*getpixel)(int, int));
+ void (*sim_lcd_ex_update_rect)(int x, int y, int width, int height);
+#endif
};