1
0
Fork 0
forked from len0rd/rockbox

Readjusted quickscreen code so that it now actually scales to larger LCDs. Get rid of 'left_right_text' argument - this also means that 'scroll bar' and 'status bar' look better in some languages.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9602 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Zakk Roberts 2006-04-11 06:38:10 +00:00
parent 62ccbbb418
commit a0a01b38e2
3 changed files with 34 additions and 34 deletions

View file

@ -525,7 +525,7 @@ bool quick_screen_quick(int button_enter)
sizeof(right_items)/sizeof(struct opt_items));
gui_quickscreen_init(&qs, &left_option, &bottom_option, &right_option,
(char *)str(LANG_F2_MODE), &quick_screen_quick_apply);
&quick_screen_quick_apply);
oldrepeat=global_settings.repeat_mode;
oldshuffle=global_settings.playlist_shuffle;
res=gui_syncquickscreen_run(&qs, button_enter);
@ -588,7 +588,7 @@ bool quick_screen_f3(int button_enter)
struct gui_quickscreen qs;
option_select_init_items(&left_option,
str(LANG_F3_SCROLL),
str(LANG_SCROLL_BAR),
bool_to_int(global_settings.scrollbar),
onoff_items,
2);
@ -598,12 +598,12 @@ bool quick_screen_f3(int button_enter)
yesno_items,
2);
option_select_init_items(&right_option,
str(LANG_F3_STATUS),
str(LANG_STATUS_BAR),
bool_to_int(global_settings.statusbar),
onoff_items,
2);
gui_quickscreen_init(&qs, &left_option, &bottom_option, &right_option,
str(LANG_F3_BAR), &quick_screen_f3_apply);
&quick_screen_f3_apply);
res=gui_syncquickscreen_run(&qs, button_enter);
if(!res)
settings_save();