summaryrefslogtreecommitdiff
path: root/apps/gui/color_picker.c
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2009-10-11 20:15:22 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2009-10-11 20:15:22 +0000
commitd5b076b64a8a3abd55fca0e9db7b13c6024bdfa3 (patch)
tree59ceb57c1f2633b8fd8f6458463499bc776a7930 /apps/gui/color_picker.c
parent891c446302d341d2e8f6f2da54343589bf46d0e4 (diff)
downloadrockbox-d5b076b64a8a3abd55fca0e9db7b13c6024bdfa3.zip
rockbox-d5b076b64a8a3abd55fca0e9db7b13c6024bdfa3.tar.gz
rockbox-d5b076b64a8a3abd55fca0e9db7b13c6024bdfa3.tar.bz2
rockbox-d5b076b64a8a3abd55fca0e9db7b13c6024bdfa3.tar.xz
RTL: Cosmetic changes, no functional change - Rename constants
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23117 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/color_picker.c')
-rw-r--r--apps/gui/color_picker.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/gui/color_picker.c b/apps/gui/color_picker.c
index 75c0612..09d8612 100644
--- a/apps/gui/color_picker.c
+++ b/apps/gui/color_picker.c
@@ -177,7 +177,7 @@ static void draw_screen(struct screen *display, char *title,
/* Draw title string */
set_drawinfo(display, DRMODE_SOLID, text_color, background_color);
- vp.flags |= VP_FLAG_CENTER_ALIGN;
+ vp.flags |= VP_FLAG_ALIGN_CENTER;
display->getstringsize(title, NULL, &y);
display->putsxy(0, MARGIN_TOP, title);
@@ -257,7 +257,7 @@ static void draw_screen(struct screen *display, char *title,
display->putsxy(text_x, text_top, buf);
/* Draw color value */
snprintf(buf, 3, "%02d", rgb->rgb_val[i]);
- vp.flags |= VP_FLAG_IS_RTL;
+ vp.flags |= VP_FLAG_ALIGN_RIGHT;
display->putsxy(text_x, text_top, buf);
/* Draw scrollbar */
@@ -278,7 +278,7 @@ static void draw_screen(struct screen *display, char *title,
/* Format RGB: #rrggbb */
snprintf(buf, sizeof(buf), str(LANG_COLOR_RGB_VALUE),
rgb->red, rgb->green, rgb->blue);
- vp.flags |= VP_FLAG_CENTER_ALIGN;
+ vp.flags |= VP_FLAG_ALIGN_CENTER;
if (display->depth >= 16)
{
/* Display color swatch on color screens only */