diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-03-16 13:44:56 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-03-16 13:44:56 +0000 |
commit | 77936e6ec5c2d71f605df855ed24677c307b1bc7 (patch) | |
tree | f58c287f2a9f575c764b026116e32787c6c5bc0e /apps/debug_menu.c | |
parent | ce0878bd40ea07d126181d1827a235f7c3ee1b00 (diff) | |
download | rockbox-77936e6ec5c2d71f605df855ed24677c307b1bc7.tar.gz rockbox-77936e6ec5c2d71f605df855ed24677c307b1bc7.zip |
First shot at a nice little button bar at the bottom of the recorder LCD. Enable Button Bar in the Display settings. Only the dir browser uses it at the moment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4391 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r-- | apps/debug_menu.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index d0c575ba12..7872323347 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -1475,7 +1475,7 @@ bool debug_menu(void) | |||
1475 | int m; | 1475 | int m; |
1476 | bool result; | 1476 | bool result; |
1477 | 1477 | ||
1478 | struct menu_items items[] = { | 1478 | struct menu_item items[] = { |
1479 | { "Dump ROM contents", -1, dbg_save_roms }, | 1479 | { "Dump ROM contents", -1, dbg_save_roms }, |
1480 | { "View I/O ports", -1, dbg_ports }, | 1480 | { "View I/O ports", -1, dbg_ports }, |
1481 | #ifdef HAVE_LCD_BITMAP | 1481 | #ifdef HAVE_LCD_BITMAP |
@@ -1509,7 +1509,8 @@ bool debug_menu(void) | |||
1509 | #endif | 1509 | #endif |
1510 | }; | 1510 | }; |
1511 | 1511 | ||
1512 | m=menu_init( items, sizeof items / sizeof(struct menu_items), NULL ); | 1512 | m=menu_init( items, sizeof items / sizeof(struct menu_item), NULL, |
1513 | NULL, NULL, NULL); | ||
1513 | result = menu_run(m); | 1514 | result = menu_run(m); |
1514 | menu_exit(m); | 1515 | menu_exit(m); |
1515 | 1516 | ||