diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2006-11-19 14:11:42 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2006-11-19 14:11:42 +0000 |
| commit | 6288523cfee31a474435ce3445e67733f532d916 (patch) | |
| tree | 1fe3350c1d27a0144492d64792cea78f6a833c73 /apps/plugin.c | |
| parent | 687328b7773ae917574841fa63326aa2bec264d6 (diff) | |
| download | rockbox-6288523cfee31a474435ce3445e67733f532d916.zip rockbox-6288523cfee31a474435ce3445e67733f532d916.tar.gz rockbox-6288523cfee31a474435ce3445e67733f532d916.tar.bz2 rockbox-6288523cfee31a474435ce3445e67733f532d916.tar.xz | |
* Move checkbox to plugin api (core never uses it)
* replace the last of the scrollbar() calls with gui_scrollbar_draw()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11552 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index a00a54e..f5e6ceb 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -38,6 +38,7 @@ #endif #ifdef HAVE_LCD_BITMAP +#include "scrollbar.h" #include "peakmeter.h" #include "bmp.h" #include "bidi.h" @@ -99,6 +100,7 @@ static const struct plugin_api rockbox_api = { lcd_get_background, lcd_bitmap_part, lcd_bitmap, + lcd_set_backdrop, #endif #if LCD_DEPTH == 16 lcd_bitmap_transparent_part, @@ -114,8 +116,7 @@ static const struct plugin_api rockbox_api = { lcd_blit, lcd_update, lcd_update_rect, - scrollbar, - checkbox, + gui_scrollbar_draw, font_get, font_getstringsize, font_get_width, @@ -467,9 +468,6 @@ static const struct plugin_api rockbox_api = { #endif /* HAVE_RECORDING */ #endif /* CONFIG_CODEC == SWCODEC */ -#if LCD_DEPTH > 1 - lcd_set_backdrop, -#endif #ifdef IRAM_STEAL plugin_iram_init, |