summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Cellerier <dionoea@videolan.org>2006-07-23 10:31:29 +0000
committerAntoine Cellerier <dionoea@videolan.org>2006-07-23 10:31:29 +0000
commitddbda01dc189a503c16cb491e142db5b687266fd (patch)
tree01c45e4f849ed298e69db19596475781ad91aea4
parent9ab9b6e954ff26952a4f69001e164cfa8b62e272 (diff)
downloadrockbox-ddbda01dc189a503c16cb491e142db5b687266fd.zip
rockbox-ddbda01dc189a503c16cb491e142db5b687266fd.tar.gz
rockbox-ddbda01dc189a503c16cb491e142db5b687266fd.tar.bz2
rockbox-ddbda01dc189a503c16cb491e142db5b687266fd.tar.xz
Take selected color into account when using the "text" tool.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10289 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/rockpaint.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/rockpaint.c b/apps/plugins/rockpaint.c
index 77259e4..3ce37a8 100644
--- a/apps/plugins/rockpaint.c
+++ b/apps/plugins/rockpaint.c
@@ -1346,6 +1346,7 @@ static void draw_text( int x, int y )
break;
case TEXT_MENU_PREVIEW:
+ rb->lcd_set_foreground( rp_colors[ drawcolor ] );
while( 1 )
{
unsigned int button;
@@ -1387,6 +1388,7 @@ static void draw_text( int x, int y )
break;
case TEXT_MENU_APPLY:
+ rb->lcd_set_foreground( rp_colors[ drawcolor ] );
buffer_putsxyofs( save_buffer, COLS, ROWS, x, y, 0,
buffer.text.text );
case TEXT_MENU_CANCEL: