diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2008-03-26 03:35:24 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2008-03-26 03:35:24 +0000 |
commit | 5ca15399690a686646d4739b3f4c51c62cc88b68 (patch) | |
tree | 1c12dc34bae30aedcb38bf5ceed8a2fcedc250c8 /apps/onplay.c | |
parent | af395f4db6ad7b83f9d9afefb1c0ceeedd140a45 (diff) | |
download | rockbox-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/onplay.c')
-rw-r--r-- | apps/onplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/onplay.c b/apps/onplay.c index 439220c711..ac772aca0b 100644 --- a/apps/onplay.c +++ b/apps/onplay.c | |||
@@ -1197,7 +1197,7 @@ int onplay(char* file, int attr, int from) | |||
1197 | menu = &wps_onplay_menu; | 1197 | menu = &wps_onplay_menu; |
1198 | else | 1198 | else |
1199 | menu = &tree_onplay_menu; | 1199 | menu = &tree_onplay_menu; |
1200 | switch (do_menu(menu, NULL)) | 1200 | switch (do_menu(menu, NULL, NULL, false)) |
1201 | { | 1201 | { |
1202 | case GO_TO_WPS: | 1202 | case GO_TO_WPS: |
1203 | return ONPLAY_START_PLAY; | 1203 | return ONPLAY_START_PLAY; |