summaryrefslogtreecommitdiff
path: root/apps/gui/option_select.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-03-26 03:35:24 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-03-26 03:35:24 +0000
commit5ca15399690a686646d4739b3f4c51c62cc88b68 (patch)
tree1c12dc34bae30aedcb38bf5ceed8a2fcedc250c8 /apps/gui/option_select.c
parentaf395f4db6ad7b83f9d9afefb1c0ceeedd140a45 (diff)
downloadrockbox-5ca15399690a686646d4739b3f4c51c62cc88b68.tar.gz
rockbox-5ca15399690a686646d4739b3f4c51c62cc88b68.zip
the menu and list now accepts a parent viewport to draw in (and the menu can be told to not show status/button bars). This lays the groundwork to fix colour problems with plugin menus (see star.c for an example.) This hopefully fixes some button bar issues as well as theme problems.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16812 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/option_select.c')
-rw-r--r--apps/gui/option_select.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/gui/option_select.c b/apps/gui/option_select.c
index d9c594bfaa..412a82d688 100644
--- a/apps/gui/option_select.c
+++ b/apps/gui/option_select.c
@@ -373,7 +373,7 @@ bool option_screen(struct settings_list *setting,
373 } 373 }
374 else return false; /* only int/bools can go here */ 374 else return false; /* only int/bools can go here */
375 gui_synclist_init(&lists, value_setting_get_name_cb, 375 gui_synclist_init(&lists, value_setting_get_name_cb,
376 (void*)setting, false, 1); 376 (void*)setting, false, 1, NULL);
377 if (setting->lang_id == -1) 377 if (setting->lang_id == -1)
378 title = (char*)setting->cfg_vals; 378 title = (char*)setting->cfg_vals;
379 else 379 else
@@ -460,6 +460,7 @@ bool option_screen(struct settings_list *setting,
460 gui_synclist_draw(&lists); 460 gui_synclist_draw(&lists);
461 /* talk the item */ 461 /* talk the item */
462 gui_synclist_speak_item(&lists); 462 gui_synclist_speak_item(&lists);
463 gui_syncstatusbar_draw(&statusbars, false);
463 while (!done) 464 while (!done)
464 { 465 {
465 if (list_do_action(CONTEXT_LIST, TIMEOUT_BLOCK, 466 if (list_do_action(CONTEXT_LIST, TIMEOUT_BLOCK,