diff options
| author | Björn Stenberg <bjorn@haxx.se> | 2002-06-27 01:08:11 +0000 |
|---|---|---|
| committer | Björn Stenberg <bjorn@haxx.se> | 2002-06-27 01:08:11 +0000 |
| commit | 60b356ea25dca1b103eec7a59ace90a710db31fe (patch) | |
| tree | 042bf8e9e7ee698287fa36f85855c9db861d3e49 /apps/main_menu.c | |
| parent | b45491df8fd4093eb79235cffb2f68c2e2228bfd (diff) | |
| download | rockbox-60b356ea25dca1b103eec7a59ace90a710db31fe.zip rockbox-60b356ea25dca1b103eec7a59ace90a710db31fe.tar.gz rockbox-60b356ea25dca1b103eec7a59ace90a710db31fe.tar.bz2 rockbox-60b356ea25dca1b103eec7a59ace90a710db31fe.tar.xz | |
Abstracted settings user interface into set_bool, set_int and set_option.
Removed the unnecessary menu entry ids.
Made playlist_shuffle and scroll_speed proper global settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1220 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main_menu.c')
| -rw-r--r-- | apps/main_menu.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c index 9665ce8..5fdb66a 100644 --- a/apps/main_menu.c +++ b/apps/main_menu.c @@ -125,19 +125,16 @@ void show_credits(void) void main_menu(void) { int m; - enum { - Games, Screensavers, Version, Gen_Settings, Sound_Settings, - }; /* main menu */ struct menu_items items[] = { - { Sound_Settings, "Sound Settings", sound_menu }, - { Gen_Settings, "General Settings", settings_menu }, + { "Sound Settings", sound_menu }, + { "General Settings", settings_menu }, #ifdef HAVE_LCD_BITMAP - { Games, "Games", games_menu }, - { Screensavers, "Screensavers", screensavers_menu }, + { "Games", games_menu }, + { "Screensavers", screensavers_menu }, #endif - { Version, "Version", show_credits }, + { "Version", show_credits }, }; m=menu_init( items, sizeof items / sizeof(struct menu_items) ); |