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.tar.gz rockbox-6288523cfee31a474435ce3445e67733f532d916.zip |
* 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 a00a54e4ec..f5e6cebf65 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -38,6 +38,7 @@ | |||
38 | #endif | 38 | #endif |
39 | 39 | ||
40 | #ifdef HAVE_LCD_BITMAP | 40 | #ifdef HAVE_LCD_BITMAP |
41 | #include "scrollbar.h" | ||
41 | #include "peakmeter.h" | 42 | #include "peakmeter.h" |
42 | #include "bmp.h" | 43 | #include "bmp.h" |
43 | #include "bidi.h" | 44 | #include "bidi.h" |
@@ -99,6 +100,7 @@ static const struct plugin_api rockbox_api = { | |||
99 | lcd_get_background, | 100 | lcd_get_background, |
100 | lcd_bitmap_part, | 101 | lcd_bitmap_part, |
101 | lcd_bitmap, | 102 | lcd_bitmap, |
103 | lcd_set_backdrop, | ||
102 | #endif | 104 | #endif |
103 | #if LCD_DEPTH == 16 | 105 | #if LCD_DEPTH == 16 |
104 | lcd_bitmap_transparent_part, | 106 | lcd_bitmap_transparent_part, |
@@ -114,8 +116,7 @@ static const struct plugin_api rockbox_api = { | |||
114 | lcd_blit, | 116 | lcd_blit, |
115 | lcd_update, | 117 | lcd_update, |
116 | lcd_update_rect, | 118 | lcd_update_rect, |
117 | scrollbar, | 119 | gui_scrollbar_draw, |
118 | checkbox, | ||
119 | font_get, | 120 | font_get, |
120 | font_getstringsize, | 121 | font_getstringsize, |
121 | font_get_width, | 122 | font_get_width, |
@@ -467,9 +468,6 @@ static const struct plugin_api rockbox_api = { | |||
467 | #endif /* HAVE_RECORDING */ | 468 | #endif /* HAVE_RECORDING */ |
468 | #endif /* CONFIG_CODEC == SWCODEC */ | 469 | #endif /* CONFIG_CODEC == SWCODEC */ |
469 | 470 | ||
470 | #if LCD_DEPTH > 1 | ||
471 | lcd_set_backdrop, | ||
472 | #endif | ||
473 | 471 | ||
474 | #ifdef IRAM_STEAL | 472 | #ifdef IRAM_STEAL |
475 | plugin_iram_init, | 473 | plugin_iram_init, |