diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-02-26 13:37:42 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-02-26 13:37:42 +0000 |
commit | 6a972e02497d3015236189f72931c3d59fa51755 (patch) | |
tree | 0c0185dd66b47d7d1ee2d91e4a3ffb6dbabcc7d1 /apps/plugin.h | |
parent | 14fe89aa8d2ef05595bdba0e0b78f021f3e8d087 (diff) | |
download | rockbox-6a972e02497d3015236189f72931c3d59fa51755.tar.gz rockbox-6a972e02497d3015236189f72931c3d59fa51755.zip |
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.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 7c35902248..6d96d36dc1 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -98,7 +98,7 @@ | |||
98 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 98 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
99 | 99 | ||
100 | /* increase this every time the api struct changes */ | 100 | /* increase this every time the api struct changes */ |
101 | #define PLUGIN_API_VERSION 8 | 101 | #define PLUGIN_API_VERSION 9 |
102 | 102 | ||
103 | /* update this to latest version if a change to the api struct breaks | 103 | /* update this to latest version if a change to the api struct breaks |
104 | backwards compatibility (and please take the opportunity to sort in any | 104 | backwards compatibility (and please take the opportunity to sort in any |
@@ -469,6 +469,10 @@ struct plugin_api { | |||
469 | the API gets incompatible */ | 469 | the API gets incompatible */ |
470 | 470 | ||
471 | struct tree_context* (*tree_get_context)(void); | 471 | struct tree_context* (*tree_get_context)(void); |
472 | #if defined(SIMULATOR) && defined(HAVE_LCD_BITMAP) && LCD_DEPTH < 8 | ||
473 | void (*sim_lcd_ex_init)(int shades, unsigned long (*getpixel)(int, int)); | ||
474 | void (*sim_lcd_ex_update_rect)(int x, int y, int width, int height); | ||
475 | #endif | ||
472 | 476 | ||
473 | }; | 477 | }; |
474 | 478 | ||