summaryrefslogtreecommitdiffstats
path: root/apps/root_menu.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-03-01 11:14:46 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-03-01 11:14:46 +0000
commit91cb68a1fb5b019aaebf77fae6506bb807059b65 (patch)
treeea3e56a915479ecad597cc0769ca24c2e2bcf686 /apps/root_menu.h
parentd94c7d3f7679789cce916d213b39f3b54dc0216b (diff)
downloadrockbox-91cb68a1fb5b019aaebf77fae6506bb807059b65.tar.gz
rockbox-91cb68a1fb5b019aaebf77fae6506bb807059b65.tar.bz2
rockbox-91cb68a1fb5b019aaebf77fae6506bb807059b65.zip
Introducing the root menu!
Blind users: get a new voice file as there are lots of lang changes and new strings. FS#6630 or RootMenu on the wiki for more info. complaints to /dev/null :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12528 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/root_menu.h')
-rw-r--r--apps/root_menu.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/apps/root_menu.h b/apps/root_menu.h
new file mode 100644
index 0000000000..9b07e58044
--- /dev/null
+++ b/apps/root_menu.h
@@ -0,0 +1,44 @@
+/***************************************************************************
+* __________ __ ___.
+* Open \______ \ ____ ____ | | _\_ |__ _______ ___
+* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+* \/ \/ \/ \/ \/
+* $Id: main.c 12101 2007-01-24 02:19:22Z jdgordon $
+*
+* Copyright (C) 2007 Jonathan Gordon
+*
+* All files in this archive are subject to the GNU General Public License.
+* See the file COPYING in the source tree root for full license agreement.
+*
+* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+* KIND, either express or implied.
+*
+****************************************************************************/
+#include "config.h"
+void root_menu(void);
+
+enum {
+ GO_TO_PREVIOUS_MUSIC = -4,
+ GO_TO_PREVIOUS_BROWSER = -3,
+ GO_TO_PREVIOUS = -2,
+ GO_TO_ROOT = -1,
+ GO_TO_FILEBROWSER = 0,
+ GO_TO_DBBROWSER,
+ GO_TO_WPS,
+ GO_TO_MAINMENU,
+#ifdef HAVE_RECORDING
+ GO_TO_RECSCREEN,
+#endif
+#ifdef CONFIG_TUNER
+ GO_TO_FM,
+#endif
+ GO_TO_RECENTBMARKS,
+ GO_TO_BROWSEPLUGINS,
+ /* Do Not add any items above here unless you want it to be able to
+ be the "start screen" after a boot up. The setting in settings_list.c
+ will need editing if this is the case. */
+};
+
+extern const struct menu_item_ex root_menu_;