summaryrefslogtreecommitdiff
path: root/apps/eq_menu.c
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/eq_menu.c
parentc8e69dfb71d936b4bc5e18f6246ac126c629f772 (diff)
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/eq_menu.c')
-rw-r--r--apps/eq_menu.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/apps/eq_menu.c b/apps/eq_menu.c
index 7c8b1590c3..0743490723 100644
--- a/apps/eq_menu.c
+++ b/apps/eq_menu.c
@@ -619,7 +619,7 @@ bool eq_menu_graphical(void)
screens[i].update();
}
- button = get_action(CONTEXT_SETTINGSGRAPHICAL,TIMEOUT_BLOCK);
+ button = get_action(CONTEXT_SETTINGS_EQ,TIMEOUT_BLOCK);
switch (button) {
case ACTION_SETTINGS_DEC:
@@ -638,23 +638,19 @@ bool eq_menu_graphical(void)
*(setting) = max;
break;
-#ifdef EQ_BTN_MODIFIER
- case EQ_BTN_MODIFIER | EQ_BTN_INCREMENT:
- case EQ_BTN_MODIFIER | EQ_BTN_INCREMENT | BUTTON_REPEAT:
+ case ACTION_SETTINGS_INCBIGSTEP:
*(setting) += fast_step;
has_changed = true;
if (*(setting) > max)
*(setting) = max;
break;
- case EQ_BTN_MODIFIER | EQ_BTN_DECREMENT:
- case EQ_BTN_MODIFIER | EQ_BTN_DECREMENT | BUTTON_REPEAT:
+ case ACTION_SETTINGS_DECBIGSTEP:
*(setting) -= fast_step;
has_changed = true;
if (*(setting) < min)
*(setting) = min;
break;
-#endif
case ACTION_STD_PREV:
case ACTION_STD_PREVREPEAT:
@@ -670,13 +666,13 @@ bool eq_menu_graphical(void)
current_band = 0; /* wrap around */
break;
- case ACTION_STD_OK:
+ case ACTION_STD_OK:
mode++;
if (mode > Q)
mode = GAIN; /* wrap around */
break;
- case ACTION_STD_CANCEL:
+ case ACTION_STD_CANCEL:
exit_request = true;
result = false;
break;