forked from len0rd/rockbox
invert is now an option on f3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3361 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
50b1dbeabe
commit
e218be8ccb
1 changed files with 15 additions and 0 deletions
|
@ -411,6 +411,14 @@ bool f3_screen(void)
|
|||
global_settings.statusbar ? str(LANG_ON) : str(LANG_OFF));
|
||||
lcd_bitmap(bitmap_icons_7x8[Icon_FastForward],
|
||||
LCD_WIDTH/2 + 8, LCD_HEIGHT/2 - 4, 7, 8, true);
|
||||
|
||||
/* Invert */
|
||||
lcd_putsxy((LCD_WIDTH-w)/2, LCD_HEIGHT - h*2, str(LANG_INVERT));
|
||||
lcd_putsxy((LCD_WIDTH-w)/2, LCD_HEIGHT - h,
|
||||
global_settings.invert ? str(LANG_ON) : str(LANG_OFF));
|
||||
lcd_bitmap(bitmap_icons_7x8[Icon_DownArrow],
|
||||
LCD_WIDTH/2 - 3, LCD_HEIGHT - h*3, 7, 8, true);
|
||||
|
||||
lcd_update();
|
||||
|
||||
switch (button_get(true)) {
|
||||
|
@ -426,6 +434,13 @@ bool f3_screen(void)
|
|||
used = true;
|
||||
break;
|
||||
|
||||
case BUTTON_DOWN:
|
||||
case BUTTON_F3 | BUTTON_DOWN:
|
||||
global_settings.invert = !global_settings.invert;
|
||||
lcd_set_invert_display(global_settings.invert);
|
||||
used = true;
|
||||
break;
|
||||
|
||||
case BUTTON_F3 | BUTTON_REL:
|
||||
if ( used )
|
||||
exit = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue