summaryrefslogtreecommitdiff
path: root/apps/main_menu.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-03-12 10:20:33 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-03-12 10:20:33 +0000
commit10b92c44b3bac97e01be91409df6e7ccb94ea045 (patch)
tree4f98b439e02091abcfe5fe977f5179a9ac86e646 /apps/main_menu.c
parent5c09ed38c6dc19fd03eb47971433993d7afd8605 (diff)
downloadrockbox-10b92c44b3bac97e01be91409df6e7ccb94ea045.tar.gz
rockbox-10b92c44b3bac97e01be91409df6e7ccb94ea045.zip
First step towards context sensitive and configurable menus, by Brent Coutts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4370 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main_menu.c')
-rw-r--r--apps/main_menu.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c
index 23af8d7817..f42655b0c2 100644
--- a/apps/main_menu.c
+++ b/apps/main_menu.c
@@ -254,6 +254,7 @@ static bool recording_settings(void)
254#endif 254#endif
255 255
256#ifdef HAVE_MAS3587F 256#ifdef HAVE_MAS3587F
257
257bool rec_menu(void) 258bool rec_menu(void)
258{ 259{
259 int m; 260 int m;
@@ -265,7 +266,7 @@ bool rec_menu(void)
265 { str(LANG_RECORDING_SETTINGS), recording_settings}, 266 { str(LANG_RECORDING_SETTINGS), recording_settings},
266 }; 267 };
267 268
268 m=menu_init( items, sizeof items / sizeof(struct menu_items) ); 269 m=menu_init( items, sizeof items / sizeof(struct menu_items), NULL );
269 result = menu_run(m); 270 result = menu_run(m);
270 menu_exit(m); 271 menu_exit(m);
271 272
@@ -290,7 +291,7 @@ bool info_menu(void)
290#endif 291#endif
291 }; 292 };
292 293
293 m=menu_init( items, sizeof items / sizeof(struct menu_items) ); 294 m=menu_init( items, sizeof items / sizeof(struct menu_items), NULL );
294 result = menu_run(m); 295 result = menu_run(m);
295 menu_exit(m); 296 menu_exit(m);
296 297
@@ -336,7 +337,7 @@ bool main_menu(void)
336 items[i].desc = str(LANG_INFO); 337 items[i].desc = str(LANG_INFO);
337 items[i++].function = info_menu; 338 items[i++].function = info_menu;
338 339
339 m=menu_init( items, i ); 340 m=menu_init( items, i, NULL );
340#ifdef HAVE_LCD_CHARCELLS 341#ifdef HAVE_LCD_CHARCELLS
341 status_set_param(true); 342 status_set_param(true);
342#endif 343#endif