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) | |
download | rockbox-3646c313679c4bd16c9eec98c2e35c7a7bf5c961.tar.gz rockbox-3646c313679c4bd16c9eec98c2e35c7a7bf5c961.zip |
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 = { | |||
181 | lcd_remote_bitmap, | 181 | lcd_remote_bitmap, |
182 | #endif | 182 | #endif |
183 | 183 | ||
184 | #if defined(HAVE_LCD_BITMAP) && (LCD_DEPTH < 4) && !defined(SIMULATOR) | ||
185 | lcd_grey_phase_blit, | ||
186 | #endif | ||
184 | #if defined(HAVE_LCD_COLOR) | 187 | #if defined(HAVE_LCD_COLOR) |
185 | lcd_yuv_blit, | 188 | lcd_yuv_blit, |
186 | #endif | 189 | #endif |
@@ -583,10 +586,6 @@ static const struct plugin_api rockbox_api = { | |||
583 | sound_unit, | 586 | sound_unit, |
584 | sound_val2phys, | 587 | sound_val2phys, |
585 | #endif /* CONFIG_CODEC == SWCODEC */ | 588 | #endif /* CONFIG_CODEC == SWCODEC */ |
586 | |||
587 | #if defined(HAVE_LCD_BITMAP) && (LCD_DEPTH < 4) && !defined(SIMULATOR) | ||
588 | lcd_grey_phase_blit, | ||
589 | #endif | ||
590 | }; | 589 | }; |
591 | 590 | ||
592 | int plugin_load(const char* plugin, void* parameter) | 591 | int plugin_load(const char* plugin, void* parameter) |