diff options
| author | Yoshihisa Uchida <uchida@rockbox.org> | 2010-07-08 13:54:28 +0000 |
|---|---|---|
| committer | Yoshihisa Uchida <uchida@rockbox.org> | 2010-07-08 13:54:28 +0000 |
| commit | bc46541bcd895cc5b16b8c9815632fb182481ad2 (patch) | |
| tree | 87d5edc644f28370e7ada14880aafc2756495bff /apps | |
| parent | cd98d01926c9a8fbc981a93546726c3d4f7d4a03 (diff) | |
| download | rockbox-bc46541bcd895cc5b16b8c9815632fb182481ad2.zip rockbox-bc46541bcd895cc5b16b8c9815632fb182481ad2.tar.gz rockbox-bc46541bcd895cc5b16b8c9815632fb182481ad2.tar.bz2 rockbox-bc46541bcd895cc5b16b8c9815632fb182481ad2.tar.xz | |
plugin api: delete sb_skin_update().
text viewer: use send_event() instead of sb_skin_update(). thanks to teru.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27348 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/plugin.c | 1 | ||||
| -rw-r--r-- | apps/plugin.h | 1 | ||||
| -rw-r--r-- | apps/plugins/text_viewer/text_viewer.c | 2 |
3 files changed, 1 insertions, 3 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 4c0ec84..a102c32 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -721,7 +721,6 @@ static const struct plugin_api rockbox_api = { #ifdef HAVE_LCD_BITMAP sb_skin_get_info_vp, - sb_skin_update, #endif /* new stuff at the end, sort into place next time diff --git a/apps/plugin.h b/apps/plugin.h index bc37c9c..d5a0168 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -888,7 +888,6 @@ struct plugin_api { #ifdef HAVE_LCD_BITMAP struct viewport *(*sb_skin_get_info_vp)(enum screen_type screen); - void (*sb_skin_update)(enum screen_type screen, bool force); #endif /* new stuff at the end, sort into place next time diff --git a/apps/plugins/text_viewer/text_viewer.c b/apps/plugins/text_viewer/text_viewer.c index 62c7ca5..eae8521 100644 --- a/apps/plugins/text_viewer/text_viewer.c +++ b/apps/plugins/text_viewer/text_viewer.c @@ -59,7 +59,7 @@ enum plugin_status plugin_start(const void* file) while (!done) { #ifdef HAVE_LCD_BITMAP if (rb->global_settings->statusbar != STATUSBAR_OFF && preferences->statusbar) - rb->sb_skin_update(SCREEN_MAIN, true); + rb->send_event(GUI_EVENT_ACTIONUPDATE, NULL); #endif if (display_update) |