From cfe0f4826a7439e5d9a931fec0cd28707af03ea5 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Mon, 11 Jun 2007 13:32:29 +0000 Subject: Make the screen draw correctly with the user iconset git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13619 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/color_picker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/gui/color_picker.c b/apps/gui/color_picker.c index 1739f3fd61..392ae54153 100644 --- a/apps/gui/color_picker.c +++ b/apps/gui/color_picker.c @@ -116,7 +116,7 @@ static inline unsigned get_black_or_white(const struct rgb_pick *rgb) #define SELECTOR_LR_MARGIN 0 /* Margin between ">" and text */ #define SELECTOR_TB_MARGIN 1 /* Margin on top and bottom of selector */ #define SWATCH_TOP_MARGIN 4 /* Space between last slider and swatch */ -#define SELECTOR_WIDTH 6 /* Width of > and < bitmaps */ +#define SELECTOR_WIDTH get_icon_width(display->screen_type) #define SELECTOR_HEIGHT 8 /* Height of > and < bitmaps */ /* dunno why lcd_set_drawinfo should be left out of struct screen */ -- cgit v1.2.3