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:
parent
9ab9b6e954
commit
ddbda01dc1
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue