diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2011-11-15 13:22:02 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2011-11-15 13:22:02 +0000 |
commit | 101693fd3047fb64e766580e80635a424fa25c4d (patch) | |
tree | 80f5664710a6e84b73f33e22c1b8632c13c5a727 /apps/menu.h | |
parent | e7e4b131d06f748400b5299d4d1ebfb38f9f08bf (diff) | |
download | rockbox-101693fd3047fb64e766580e80635a424fa25c4d.tar.gz rockbox-101693fd3047fb64e766580e80635a424fa25c4d.zip |
FS#12251 - User shortcuts in the main menu.
Custom shortcuts which give the user fast access to regularly used files/folders/settings/whatever.
Thanks to Alexander Levin for the manual part of the patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30990 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.h')
-rw-r--r-- | apps/menu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/menu.h b/apps/menu.h index 2251de243c..ee2d9e7f40 100644 --- a/apps/menu.h +++ b/apps/menu.h | |||
@@ -26,6 +26,7 @@ | |||
26 | #include "icon.h" | 26 | #include "icon.h" |
27 | #include "icons.h" | 27 | #include "icons.h" |
28 | #include "root_menu.h" /* needed for MENU_* return codes */ | 28 | #include "root_menu.h" /* needed for MENU_* return codes */ |
29 | #include "settings_list.h" | ||
29 | 30 | ||
30 | 31 | ||
31 | enum menu_item_type { | 32 | enum menu_item_type { |
@@ -103,6 +104,8 @@ typedef int (*menu_callback_type)(int action, | |||
103 | const struct menu_item_ex *this_item); | 104 | const struct menu_item_ex *this_item); |
104 | void do_setting_from_menu(const struct menu_item_ex *temp, | 105 | void do_setting_from_menu(const struct menu_item_ex *temp, |
105 | struct viewport parent[NB_SCREENS]); | 106 | struct viewport parent[NB_SCREENS]); |
107 | void do_setting_screen(const struct settings_list *setting, const char * title, | ||
108 | struct viewport parent[NB_SCREENS]); | ||
106 | 109 | ||
107 | /* | 110 | /* |
108 | int do_menu(const struct menu_item_ex *menu, int *start_selected) | 111 | int do_menu(const struct menu_item_ex *menu, int *start_selected) |