mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
puzzles: correct drawmode for text
DRMODE_FG should be used instead of DRMODE_COMPLEMENT to allow text to be drawn in color, benefitting puzzles such as Slant and Pattern. Change-Id: I292216490a58344cb93dc5c2ec1780229735313a
This commit is contained in:
parent
6d541fe9b6
commit
cefbde0bbb
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ static void rb_draw_text(void *handle, int x, int y, int fonttype,
|
|||
x -= w;
|
||||
|
||||
rb_color(color);
|
||||
rb->lcd_set_drawmode(DRMODE_COMPLEMENT);
|
||||
rb->lcd_set_drawmode(DRMODE_FG);
|
||||
rb->lcd_putsxy(x, y, text);
|
||||
rb->lcd_set_drawmode(DRMODE_SOLID);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue