summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2009-12-21 13:32:43 +0000
committerTeruaki Kawashima <teru@rockbox.org>2009-12-21 13:32:43 +0000
commita2fc6415708d2e0bdc83898eda749515046fad90 (patch)
tree60aace79c43ea10e721dd6e8a715f50c4643dab5 /apps/plugin.h
parent847ac057af1a17a60ab1c9ef4fd5769ae5b22581 (diff)
downloadrockbox-a2fc6415708d2e0bdc83898eda749515046fad90.zip
rockbox-a2fc6415708d2e0bdc83898eda749515046fad90.tar.gz
rockbox-a2fc6415708d2e0bdc83898eda749515046fad90.tar.bz2
rockbox-a2fc6415708d2e0bdc83898eda749515046fad90.tar.xz
properties,shortcuts_view: enable the theme while showing list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24092 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 8e5f474..632533c 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -135,7 +135,7 @@ void* plugin_get_buffer(size_t *buffer_size);
#define PLUGIN_MAGIC 0x526F634B /* RocK */
/* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 177
+#define PLUGIN_API_VERSION 178
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
@@ -855,6 +855,11 @@ struct plugin_api {
#endif
unsigned (*crc_32)(const void *src, unsigned len, unsigned crc32);
int (*open_utf8)(const char* pathname, int flags);
+#ifdef HAVE_LCD_BITMAP
+ void (*viewportmanager_theme_enable)(enum screen_type screen, bool enable,
+ struct viewport *viewport);
+ void (*viewportmanager_theme_undo)(enum screen_type screen, bool force_redraw);
+#endif
};
/* plugin header */