summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-06-11 13:32:29 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-06-11 13:32:29 +0000
commitcfe0f4826a7439e5d9a931fec0cd28707af03ea5 (patch)
treeac3ca168ec162ce18d09465de132af7144d9951d /apps
parentc0e6e20fb63b09fa993111710ae202b2aacaf2d1 (diff)
downloadrockbox-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
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/color_picker.c2
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)
116#define SELECTOR_LR_MARGIN 0 /* Margin between ">" and text */ 116#define SELECTOR_LR_MARGIN 0 /* Margin between ">" and text */
117#define SELECTOR_TB_MARGIN 1 /* Margin on top and bottom of selector */ 117#define SELECTOR_TB_MARGIN 1 /* Margin on top and bottom of selector */
118#define SWATCH_TOP_MARGIN 4 /* Space between last slider and swatch */ 118#define SWATCH_TOP_MARGIN 4 /* Space between last slider and swatch */
119#define SELECTOR_WIDTH 6 /* Width of > and < bitmaps */ 119#define SELECTOR_WIDTH get_icon_width(display->screen_type)
120#define SELECTOR_HEIGHT 8 /* Height of > and < bitmaps */ 120#define SELECTOR_HEIGHT 8 /* Height of > and < bitmaps */
121 121
122/* dunno why lcd_set_drawinfo should be left out of struct screen */ 122/* dunno why lcd_set_drawinfo should be left out of struct screen */