1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Antoine Cellerier 2006-07-23 10:31:29 +00:00
parent 9ab9b6e954
commit ddbda01dc1

View file

@ -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: