summaryrefslogtreecommitdiffstats
path: root/apps/root_menu.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2012-02-09 21:21:40 +1100
committerJonathan Gordon <rockbox@jdgordon.info>2012-02-25 12:40:44 +0100
commit13412f67caebe2dc4b86d7f367eb1dce8609bde1 (patch)
tree9aeba92e3092dd17878ce8caefff35c3eba99d98 /apps/root_menu.h
parent8125877f6091066d847cf4bb4b8dcf0925830875 (diff)
downloadrockbox-13412f67caebe2dc4b86d7f367eb1dce8609bde1.tar.gz
rockbox-13412f67caebe2dc4b86d7f367eb1dce8609bde1.tar.bz2
rockbox-13412f67caebe2dc4b86d7f367eb1dce8609bde1.zip
main menu: Add the ability to hide and reorder the main menu items.
To change the shown menu items add the line "root_menu_order:<items>" into your config.cfg <items> can be any of: bookmarks, files, database, wps, settings, recording, radio, playlists, plugins, system_menu, shortcuts Manual entry by Alexander Levin Change-Id: Ie7f4bfb0f795184de094d05fc341a6cedd1c0cde Reviewed-on: http://gerrit.rockbox.org/104 Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
Diffstat (limited to 'apps/root_menu.h')
-rw-r--r--apps/root_menu.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/root_menu.h b/apps/root_menu.h
index 8d11d9b338..32385d9530 100644
--- a/apps/root_menu.h
+++ b/apps/root_menu.h
@@ -61,8 +61,15 @@ enum {
GO_TO_SHORTCUTMENU
};
-extern const struct menu_item_ex root_menu_;
+extern struct menu_item_ex root_menu_;
extern void previous_music_is_wps(void);
+void root_menu_load_from_cfg(void* setting, char *value);
+char* root_menu_write_to_cfg(void* setting, char*buf, int buf_len);
+void root_menu_set_default(void* setting, void* defaultval);
+bool root_menu_is_changed(void* setting, void* defaultval);
+
+
+
#endif /* __ROOT_MENU_H__ */