summaryrefslogtreecommitdiff
path: root/apps/plugins/chessbox/chessbox.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/chessbox/chessbox.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/chessbox/chessbox.c')
-rw-r--r--apps/plugins/chessbox/chessbox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/chessbox/chessbox.c b/apps/plugins/chessbox/chessbox.c
index 920def82d5..4129a3c1fb 100644
--- a/apps/plugins/chessbox/chessbox.c
+++ b/apps/plugins/chessbox/chessbox.c
@@ -393,7 +393,7 @@ static int cb_menu_viewer(void)
393 393
394 while(!menu_quit) 394 while(!menu_quit)
395 { 395 {
396 switch(rb->do_menu(&menu, &selection)) 396 switch(rb->do_menu(&menu, &selection, NULL, false))
397 { 397 {
398 case 0: 398 case 0:
399 menu_quit = true; 399 menu_quit = true;
@@ -595,7 +595,7 @@ static int cb_menu(void)
595 595
596 while(!menu_quit) 596 while(!menu_quit)
597 { 597 {
598 switch(rb->do_menu(&menu, &selection)) 598 switch(rb->do_menu(&menu, &selection, NULL, false))
599 { 599 {
600 case 0: 600 case 0:
601 menu_quit = true; 601 menu_quit = true;