diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-06-11 13:32:29 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-06-11 13:32:29 +0000 |
commit | cfe0f4826a7439e5d9a931fec0cd28707af03ea5 (patch) | |
tree | ac3ca168ec162ce18d09465de132af7144d9951d | |
parent | c0e6e20fb63b09fa993111710ae202b2aacaf2d1 (diff) | |
download | rockbox-cfe0f4826a7439e5d9a931fec0cd28707af03ea5.tar.gz rockbox-cfe0f4826a7439e5d9a931fec0cd28707af03ea5.zip |
Make the screen draw correctly with the user iconset
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13619 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/gui/color_picker.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |