summaryrefslogtreecommitdiff
path: root/apps/action.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2006-08-21 07:03:15 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2006-08-21 07:03:15 +0000
commitd12f81ddd4a0cdd76d08540b70068b3cb2c985ed (patch)
treeb821bfb025155f3c631920333549543622db3548 /apps/action.h
parentc8e69dfb71d936b4bc5e18f6246ac126c629f772 (diff)
downloadrockbox-d12f81ddd4a0cdd76d08540b70068b3cb2c985ed.tar.gz
rockbox-d12f81ddd4a0cdd76d08540b70068b3cb2c985ed.zip
fixed the settings action context, time/eq/colour chooser/dbug screens
should all work correctly again git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10670 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/action.h')
-rw-r--r--apps/action.h37
1 files changed, 28 insertions, 9 deletions
diff --git a/apps/action.h b/apps/action.h
index a74a2e145d..147b1532b7 100644
--- a/apps/action.h
+++ b/apps/action.h
@@ -46,13 +46,25 @@ enum {
46 CONTEXT_ID3DB = 5, 46 CONTEXT_ID3DB = 5,
47 /* Add new contexts here, no need to explicitly define a value for them */ 47 /* Add new contexts here, no need to explicitly define a value for them */
48 CONTEXT_LIST, 48 CONTEXT_LIST,
49 CONTEXT_SETTINGS, /* options style settings, like from menus */ 49 CONTEXT_SETTINGS, /* regular setting screens (and debug screens) */
50 CONTEXT_SETTINGSGRAPHICAL, /* screens like eq config and colour chooser */ 50 /* bellow are setting screens which may need to redefine the standard
51 51 setting screen keys, targets should return the CONTEXT_SETTINGS
52 CONTEXT_YESNOSCREEN, /*NOTE: make sure your target has this and ACTION_YESNO_ACCEPT */ 52 keymap unless they are not adequate for the screen
53 CONTEXT_BOOKMARKSCREEN, /*NOTE: requires the action_setting_* mappings also */ 53 NOTE: uses ACTION_STD_[NEXT|PREV] so make sure they are there also
54 and (possibly) ACTION_SETTINGS_[INC|DEC] */
55 CONTEXT_SETTINGS_EQ,
56 CONTEXT_SETTINGS_COLOURCHOOSER,
57 CONTEXT_SETTINGS_TIME,
58
59 /* The following contexts should use ACTION_STD_[NEXT|PREV]
60 and (possibly) ACTION_SETTINGS_[INC|DEC]
61 Also add any extra actions they need */
62 CONTEXT_BOOKMARKSCREEN, /* uses ACTION_BMS_ defines */
63 CONTEXT_ALARMSCREEN, /* uses ACTION_AS_ defines */
54 CONTEXT_QUICKSCREEN, /* uses ACTION_QS_ defines below */ 64 CONTEXT_QUICKSCREEN, /* uses ACTION_QS_ defines below */
55 CONTEXT_PITCHSCREEN, /* uses ACTION_PS_ defines below */ 65 CONTEXT_PITCHSCREEN, /* uses ACTION_PS_ defines below */
66
67 CONTEXT_YESNOSCREEN, /*NOTE: make sure your target has this and ACTION_YESNO_ACCEPT */
56 CONTEXT_RECSCREEN, 68 CONTEXT_RECSCREEN,
57}; 69};
58 70
@@ -127,15 +139,19 @@ enum {
127 /* settings */ 139 /* settings */
128 ACTION_SETTINGS_INC, 140 ACTION_SETTINGS_INC,
129 ACTION_SETTINGS_INCREPEAT, 141 ACTION_SETTINGS_INCREPEAT,
142 ACTION_SETTINGS_INCBIGSTEP,
130 ACTION_SETTINGS_DEC, 143 ACTION_SETTINGS_DEC,
131 ACTION_SETTINGS_DECREPEAT, 144 ACTION_SETTINGS_DECREPEAT,
132 145 ACTION_SETTINGS_DECBIGSTEP,
133 /* yesno screen */ 146 ACTION_SETTINGS_RESET,
134 ACTION_YESNO_ACCEPT,
135 147
136 /* bookmark screen */ 148 /* bookmark screen */
137 ACTION_BMARK_DELETE, 149 ACTION_BMS_SELECT,
150 ACTION_BMS_DELETE,
151 ACTION_BMS_EXIT,
138 152
153 /* alarm menu screen */
154
139 /* quickscreen */ 155 /* quickscreen */
140 ACTION_QS_LEFT, 156 ACTION_QS_LEFT,
141 ACTION_QS_RIGHT, 157 ACTION_QS_RIGHT,
@@ -155,6 +171,9 @@ enum {
155 ACTION_PS_RESET, 171 ACTION_PS_RESET,
156 ACTION_PS_EXIT, /* _STD_* isnt going to work here */ 172 ACTION_PS_EXIT, /* _STD_* isnt going to work here */
157 173
174 /* yesno screen */
175 ACTION_YESNO_ACCEPT,
176
158 177
159}; 178};
160 179