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
|
@ -142,7 +142,9 @@ void frame (void)
|
|||
default:
|
||||
if (board[x][y]==snakelength) {
|
||||
board[x][y]=0;
|
||||
rb->lcd_clearrect(x*4,y*4,4,4);
|
||||
rb->lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID);
|
||||
rb->lcd_fillrect(x*4,y*4,4,4);
|
||||
rb->lcd_set_drawmode(DRMODE_SOLID);
|
||||
}
|
||||
else
|
||||
board[x][y]++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue