From 3646c313679c4bd16c9eec98c2e35c7a7bf5c961 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Tue, 8 Jan 2008 01:22:14 +0000 Subject: 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 --- apps/plugin.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'apps/plugin.c') 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) -- cgit v1.2.3