mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-10 05:35:20 -05:00
Fixed tab issues and made use of lcd_clear_display instead of lcd_clearrect
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@391 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4bcfec6846
commit
24df270e86
1 changed files with 53 additions and 60 deletions
|
|
@ -78,7 +78,7 @@ void ss_loop(void)
|
||||||
if ( b & BUTTON_OFF )
|
if ( b & BUTTON_OFF )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
lcd_clearrect(0, 0, LCD_WIDTH, LCD_HEIGHT);
|
lcd_clear_display();
|
||||||
drawrect(x-offset, y-offset, x2+offset, y2+offset);
|
drawrect(x-offset, y-offset, x2+offset, y2+offset);
|
||||||
lcd_update();
|
lcd_update();
|
||||||
|
|
||||||
|
|
@ -109,7 +109,7 @@ void screensaver(void)
|
||||||
else
|
else
|
||||||
h /= 2;
|
h /= 2;
|
||||||
|
|
||||||
lcd_clearrect(0, 0, LCD_WIDTH, LCD_HEIGHT);
|
lcd_clear_display();
|
||||||
lcd_puts(LCD_WIDTH/2-len, (LCD_HEIGHT/2)-h, SS_TITLE, SS_TITLE_FONT);
|
lcd_puts(LCD_WIDTH/2-len, (LCD_HEIGHT/2)-h, SS_TITLE, SS_TITLE_FONT);
|
||||||
|
|
||||||
len = strlen(off);
|
len = strlen(off);
|
||||||
|
|
@ -136,10 +136,3 @@ void screensaver(void)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue