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/plugins/chessbox | |
| parent | af395f4db6ad7b83f9d9afefb1c0ceeedd140a45 (diff) | |
| download | rockbox-5ca15399690a686646d4739b3f4c51c62cc88b68.zip rockbox-5ca15399690a686646d4739b3f4c51c62cc88b68.tar.gz rockbox-5ca15399690a686646d4739b3f4c51c62cc88b68.tar.bz2 rockbox-5ca15399690a686646d4739b3f4c51c62cc88b68.tar.xz | |
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')
| -rw-r--r-- | apps/plugins/chessbox/chessbox.c | 4 | ||||
| -rw-r--r-- | apps/plugins/chessbox/chessbox_pgn.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/chessbox/chessbox.c b/apps/plugins/chessbox/chessbox.c index 920def8..4129a3c 100644 --- a/apps/plugins/chessbox/chessbox.c +++ b/apps/plugins/chessbox/chessbox.c @@ -393,7 +393,7 @@ static int cb_menu_viewer(void) while(!menu_quit) { - switch(rb->do_menu(&menu, &selection)) + switch(rb->do_menu(&menu, &selection, NULL, false)) { case 0: menu_quit = true; @@ -595,7 +595,7 @@ static int cb_menu(void) while(!menu_quit) { - switch(rb->do_menu(&menu, &selection)) + switch(rb->do_menu(&menu, &selection, NULL, false)) { case 0: menu_quit = true; diff --git a/apps/plugins/chessbox/chessbox_pgn.c b/apps/plugins/chessbox/chessbox_pgn.c index b3e71de..6d18986 100644 --- a/apps/plugins/chessbox/chessbox_pgn.c +++ b/apps/plugins/chessbox/chessbox_pgn.c @@ -628,7 +628,7 @@ struct pgn_game_node* pgn_show_game_list(struct plugin_api* api, } - rb->gui_synclist_init(&games_list, &get_game_text, first_game, false, 1); + rb->gui_synclist_init(&games_list, &get_game_text, first_game, false, 1, NULL); rb->gui_synclist_set_title(&games_list, "Games", NOICON); rb->gui_synclist_set_icon_callback(&games_list, NULL); rb->gui_synclist_set_nb_items(&games_list, i); |