diff options
author | Dave Chapman <dave@dchapman.com> | 2008-01-08 01:22:14 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2008-01-08 01:22:14 +0000 |
commit | 3646c313679c4bd16c9eec98c2e35c7a7bf5c961 (patch) | |
tree | b6508cc00ae60c70c9499090fb87d97f3370c131 /apps/plugin.c | |
parent | 08e6c6bc2a90e953372e503367c406c469994da2 (diff) |
Add the viewport functions to the screens API, including a new getfont() function to return the font used by the current viewport. A change to the screens API makes the plugin API incompatible, so we bump version and sort. Also commit the test_viewports plugin (not built by default). This is some more of FS#8385.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16022 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 6d48329111..2149fdaee8 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -181,6 +181,9 @@ static const struct plugin_api rockbox_api = { lcd_remote_bitmap, #endif +#if defined(HAVE_LCD_BITMAP) && (LCD_DEPTH < 4) && !defined(SIMULATOR) + lcd_grey_phase_blit, +#endif #if defined(HAVE_LCD_COLOR) lcd_yuv_blit, #endif @@ -583,10 +586,6 @@ static const struct plugin_api rockbox_api = { sound_unit, sound_val2phys, #endif /* CONFIG_CODEC == SWCODEC */ - -#if defined(HAVE_LCD_BITMAP) && (LCD_DEPTH < 4) && !defined(SIMULATOR) - lcd_grey_phase_blit, -#endif }; int plugin_load(const char* plugin, void* parameter) |