diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-10-01 10:20:55 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-10-01 10:20:55 +0000 |
commit | 05042affc76ec42481bcddba4a3f94a7b77ec98d (patch) | |
tree | fc1f73129fbe09b3e2022828c717ba7eb9507603 /apps/plugin.h | |
parent | f0fe3c94772ddf971810e5082dcfb9b0ac462ae4 (diff) | |
download | rockbox-05042affc76ec42481bcddba4a3f94a7b77ec98d.tar.gz rockbox-05042affc76ec42481bcddba4a3f94a7b77ec98d.zip |
Core: A graphics framework can now register a hook function to extend the core screendump routine. * Grayscale library: (1) Changed the screendump routine into a hook, and implemented it for H1x0. (2) The planar pixel setting routines now use one register less. Fixes build problem with developer builds (frame pointers enabled) on coldfire.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7574 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index f133d325a5..8fd57d2b5a 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -90,7 +90,7 @@ | |||
90 | #endif | 90 | #endif |
91 | 91 | ||
92 | /* increase this every time the api struct changes */ | 92 | /* increase this every time the api struct changes */ |
93 | #define PLUGIN_API_VERSION 51 | 93 | #define PLUGIN_API_VERSION 52 |
94 | 94 | ||
95 | /* update this to latest version if a change to the api struct breaks | 95 | /* update this to latest version if a change to the api struct breaks |
96 | backwards compatibility (and please take the opportunity to sort in any | 96 | backwards compatibility (and please take the opportunity to sort in any |
@@ -443,6 +443,8 @@ struct plugin_api { | |||
443 | void (*menu_draw)(int menu); | 443 | void (*menu_draw)(int menu); |
444 | void (*menu_insert)(int menu, int position, char *desc, bool (*function) (void)); | 444 | void (*menu_insert)(int menu, int position, char *desc, bool (*function) (void)); |
445 | void (*menu_set_cursor)(int menu, int position); | 445 | void (*menu_set_cursor)(int menu, int position); |
446 | |||
447 | void (*screen_dump_set_hook)(void (*hook)(int fh)); | ||
446 | }; | 448 | }; |
447 | 449 | ||
448 | int plugin_load(const char* plugin, void* parameter); | 450 | int plugin_load(const char* plugin, void* parameter); |