summaryrefslogtreecommitdiff
path: root/apps/gui/color_picker.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/color_picker.c')
-rw-r--r--apps/gui/color_picker.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/apps/gui/color_picker.c b/apps/gui/color_picker.c
index 2d0dba1221..1739f3fd61 100644
--- a/apps/gui/color_picker.c
+++ b/apps/gui/color_picker.c
@@ -31,7 +31,7 @@
31#include "lang.h" 31#include "lang.h"
32#include "splash.h" 32#include "splash.h"
33#include "action.h" 33#include "action.h"
34#include "icons.h" 34#include "icon.h"
35 35
36/* structure for color info */ 36/* structure for color info */
37struct rgb_pick 37struct rgb_pick
@@ -220,13 +220,11 @@ static void draw_screen(struct screen *display, char *title,
220 /* Draw "> <" around sliders */ 220 /* Draw "> <" around sliders */
221 int top = text_top + (display->char_height - 221 int top = text_top + (display->char_height -
222 SELECTOR_HEIGHT) / 2; 222 SELECTOR_HEIGHT) / 2;
223 display->mono_bitmap(bitmap_icons_6x8[Icon_Cursor], 223 screen_put_iconxy(display, MARGIN_LEFT, top, Icon_Cursor);
224 MARGIN_LEFT, top, 224 screen_put_iconxy(display,
225 SELECTOR_WIDTH, SELECTOR_HEIGHT); 225 display->width - MARGIN_RIGHT -
226 display->mono_bitmap(bitmap_icons_6x8[Icon_Reverse_Cursor], 226 get_icon_width(display->screen_type),
227 display->width - MARGIN_RIGHT - 227 top, Icon_Cursor);
228 SELECTOR_WIDTH, top, SELECTOR_WIDTH,
229 SELECTOR_HEIGHT);
230 } 228 }
231 229
232 if (display->depth >= 16) 230 if (display->depth >= 16)