forked from len0rd/rockbox
Optimise some more line drawing calls.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17083 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b6213bbf98
commit
fef82552e1
10 changed files with 53 additions and 68 deletions
|
|
@ -2461,10 +2461,10 @@ static void inv_cursor(bool update)
|
|||
rb->lcd_set_foreground(COLOR_BLACK);
|
||||
rb->lcd_set_drawmode(DRMODE_COMPLEMENT);
|
||||
/* cross painting */
|
||||
rb->lcd_drawline(x-4,y,x-1,y);
|
||||
rb->lcd_drawline(x+1,y,x+4,y);
|
||||
rb->lcd_drawline(x,y-4,x,y-1);
|
||||
rb->lcd_drawline(x,y+1,x,y+4);
|
||||
rb->lcd_hline(x-4,x-1,y);
|
||||
rb->lcd_hline(x+1,x+4,y);
|
||||
rb->lcd_vline(x,y-4,y-1);
|
||||
rb->lcd_vline(x,y+1,y+4);
|
||||
rb->lcd_set_foreground(rp_colors[drawcolor]);
|
||||
rb->lcd_set_drawmode(DRMODE_SOLID);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue