From 6288523cfee31a474435ce3445e67733f532d916 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 19 Nov 2006 14:11:42 +0000 Subject: * 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 --- apps/plugin.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'apps/plugin.c') 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 @@ #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, -- cgit v1.2.3