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
|
@ -151,7 +151,9 @@ static void draw_spot(int p, int x, int y)
|
|||
rb->lcd_bitmap (picture[p-1], x, y, 16, 16, true);
|
||||
} else {
|
||||
rb->lcd_drawrect(x, y, 16, 16);
|
||||
rb->lcd_clearrect(x+1, y+1, 14, 14);
|
||||
rb->lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID);
|
||||
rb->lcd_fillrect(x+1, y+1, 14, 14);
|
||||
rb->lcd_set_drawmode(DRMODE_SOLID);
|
||||
rb->snprintf(s, sizeof(s), "%d", p);
|
||||
rb->lcd_putsxy(x+2, y+4, s);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue