summaryrefslogtreecommitdiff
path: root/apps/plugins/xobox.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/plugins/xobox.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/plugins/xobox.c')
-rw-r--r--apps/plugins/xobox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/xobox.c b/apps/plugins/xobox.c
index 743dd41362..879d0e65f7 100644
--- a/apps/plugins/xobox.c
+++ b/apps/plugins/xobox.c
@@ -851,7 +851,7 @@ static int game_menu (void)
851 rb->lcd_set_background(LCD_WHITE); 851 rb->lcd_set_background(LCD_WHITE);
852#endif 852#endif
853 for (;;) { 853 for (;;) {
854 rb->do_menu(&menu,&selection); 854 rb->do_menu(&menu,&selection, NULL, false);
855 if (selection==1) 855 if (selection==1)
856 rb->set_int ("Speed", "", UNIT_INT, &speed, NULL, 1, 1, 10, NULL); 856 rb->set_int ("Speed", "", UNIT_INT, &speed, NULL, 1, 1, 10, NULL);
857 else if (selection==2) 857 else if (selection==2)