forked from len0rd/rockbox
First part of graphics api rework. Special functions, parameter handling, pixel functions, lines and filled primitives done for black & white core, main display.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6856 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0e935bdf01
commit
04daef17a1
41 changed files with 1019 additions and 558 deletions
|
@ -825,14 +825,16 @@ static bool sokoban_loop(void)
|
|||
if (current_info.level.level > current_info.max_level) {
|
||||
rb->lcd_putsxy(10, 20, "You WIN!!");
|
||||
|
||||
rb->lcd_set_drawmode(DRMODE_COMPLEMENT);
|
||||
for (i = 0; i < 30000 ; i++) {
|
||||
rb->lcd_invertrect(0, 0, 111, 63);
|
||||
rb->lcd_fillrect(0, 0, 111, 63);
|
||||
rb->lcd_update();
|
||||
|
||||
button = rb->button_get(false);
|
||||
if (button && ((button & BUTTON_REL) != BUTTON_REL))
|
||||
break;
|
||||
}
|
||||
rb->lcd_set_drawmode(DRMODE_SOLID);
|
||||
|
||||
return PLUGIN_OK;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue