summaryrefslogtreecommitdiff
path: root/apps/gui/option_select.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-04-24 07:04:52 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-04-24 07:04:52 +0000
commit22719955179d95279474913ccadd4c1a6efceca6 (patch)
tree037f40a11de9cee8fb82f26e04c1bd830c8f899d /apps/gui/option_select.h
parent6bab4e8dc04204955cbeef4e09f412903f1c7f8a (diff)
invert the quickscreen setting direction on wheel targets for settings which are number lists so pressing up makes it bigger (i.e contrast). fixes http://forums.rockbox.org/index.php/topic,27778.0.html
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29772 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/option_select.h')
-rw-r--r--apps/gui/option_select.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/gui/option_select.h b/apps/gui/option_select.h
index 04493e93eb..0a7600ce80 100644
--- a/apps/gui/option_select.h
+++ b/apps/gui/option_select.h
@@ -25,6 +25,13 @@
#include "screen_access.h"
#include "settings.h"
+#if defined (HAVE_SCROLLWHEEL) || \
+ (CONFIG_KEYPAD == PLAYER_PAD)
+/* Define this if your target makes sense to have
+ smaller values at the top of the list increasing down the list */
+#define ASCENDING_INT_SETTINGS
+#endif
+
bool option_screen(const struct settings_list *setting,
struct viewport parent[NB_SCREENS],
bool use_temp_var, unsigned char* option_title);