mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
quickscreen: Get rid of a vestigal remnant of the Archos code.
Change-Id: I1dd7e82edfdbcc3a79aa5deaa604ac1623aa16d4
This commit is contained in:
parent
688575368c
commit
f68463c53e
2 changed files with 2 additions and 31 deletions
|
@ -435,32 +435,6 @@ bool quick_screen_quick(int button_enter)
|
|||
return usb;
|
||||
}
|
||||
|
||||
#ifdef BUTTON_F3
|
||||
bool quick_screen_f3(int button_enter)
|
||||
{
|
||||
struct gui_quickscreen qs;
|
||||
bool usb = false;
|
||||
qs.items[QUICKSCREEN_TOP] = NULL;
|
||||
qs.items[QUICKSCREEN_LEFT] =
|
||||
find_setting(&global_settings.scrollbar, NULL);
|
||||
qs.items[QUICKSCREEN_RIGHT] =
|
||||
find_setting(&global_settings.statusbar, NULL);
|
||||
qs.items[QUICKSCREEN_BOTTOM] =
|
||||
#ifdef HAVE_LCD_FLIP
|
||||
find_setting(&global_settings.flip_display, NULL);
|
||||
#else
|
||||
NULL;
|
||||
#endif
|
||||
qs.callback = NULL;
|
||||
if (gui_syncquickscreen_run(&qs, button_enter, &usb))
|
||||
{
|
||||
settings_save();
|
||||
settings_apply(false);
|
||||
}
|
||||
return usb;
|
||||
}
|
||||
#endif /* BUTTON_F3 */
|
||||
|
||||
/* stuff to make the quickscreen configurable */
|
||||
bool is_setting_quickscreenable(const struct settings_list *setting)
|
||||
{
|
||||
|
|
|
@ -43,9 +43,6 @@ struct gui_quickscreen
|
|||
item is changed */
|
||||
};
|
||||
|
||||
#ifdef BUTTON_F3
|
||||
extern bool quick_screen_f3(int button_enter);
|
||||
#endif
|
||||
extern bool quick_screen_quick(int button_enter);
|
||||
int quickscreen_set_option(void *data);
|
||||
bool is_setting_quickscreenable(const struct settings_list *setting);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue