diff options
author | Antoine Cellerier <dionoea@videolan.org> | 2006-07-23 10:31:29 +0000 |
---|---|---|
committer | Antoine Cellerier <dionoea@videolan.org> | 2006-07-23 10:31:29 +0000 |
commit | ddbda01dc189a503c16cb491e142db5b687266fd (patch) | |
tree | 01c45e4f849ed298e69db19596475781ad91aea4 /apps/plugins | |
parent | 9ab9b6e954ff26952a4f69001e164cfa8b62e272 (diff) | |
download | rockbox-ddbda01dc189a503c16cb491e142db5b687266fd.tar.gz rockbox-ddbda01dc189a503c16cb491e142db5b687266fd.zip |
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
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/rockpaint.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/rockpaint.c b/apps/plugins/rockpaint.c index 77259e4fbb..3ce37a813d 100644 --- a/apps/plugins/rockpaint.c +++ b/apps/plugins/rockpaint.c | |||
@@ -1346,6 +1346,7 @@ static void draw_text( int x, int y ) | |||
1346 | break; | 1346 | break; |
1347 | 1347 | ||
1348 | case TEXT_MENU_PREVIEW: | 1348 | case TEXT_MENU_PREVIEW: |
1349 | rb->lcd_set_foreground( rp_colors[ drawcolor ] ); | ||
1349 | while( 1 ) | 1350 | while( 1 ) |
1350 | { | 1351 | { |
1351 | unsigned int button; | 1352 | unsigned int button; |
@@ -1387,6 +1388,7 @@ static void draw_text( int x, int y ) | |||
1387 | break; | 1388 | break; |
1388 | 1389 | ||
1389 | case TEXT_MENU_APPLY: | 1390 | case TEXT_MENU_APPLY: |
1391 | rb->lcd_set_foreground( rp_colors[ drawcolor ] ); | ||
1390 | buffer_putsxyofs( save_buffer, COLS, ROWS, x, y, 0, | 1392 | buffer_putsxyofs( save_buffer, COLS, ROWS, x, y, 0, |
1391 | buffer.text.text ); | 1393 | buffer.text.text ); |
1392 | case TEXT_MENU_CANCEL: | 1394 | case TEXT_MENU_CANCEL: |