From ddbda01dc189a503c16cb491e142db5b687266fd Mon Sep 17 00:00:00 2001 From: Antoine Cellerier Date: Sun, 23 Jul 2006 10:31:29 +0000 Subject: 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 --- apps/plugins/rockpaint.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/plugins') 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 ) 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: -- cgit v1.2.3