summaryrefslogtreecommitdiff
path: root/apps/gui/option_select.c
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.c
parent6bab4e8dc04204955cbeef4e09f412903f1c7f8a (diff)
downloadrockbox-22719955179d95279474913ccadd4c1a6efceca6.tar.gz
rockbox-22719955179d95279474913ccadd4c1a6efceca6.zip
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.c')
-rw-r--r--apps/gui/option_select.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/gui/option_select.c b/apps/gui/option_select.c
index 1dab41ee22..5d1e3d778e 100644
--- a/apps/gui/option_select.c
+++ b/apps/gui/option_select.c
@@ -35,12 +35,6 @@
35#include "menu.h" 35#include "menu.h"
36#include "quickscreen.h" 36#include "quickscreen.h"
37 37
38#if defined (HAVE_SCROLLWHEEL) || \
39 (CONFIG_KEYPAD == PLAYER_PAD)
40/* Define this if your target makes sense to have
41 smaller values at the top of the list increasing down the list */
42#define ASCENDING_INT_SETTINGS
43#endif
44 38
45static int selection_to_val(const struct settings_list *setting, int selection); 39static int selection_to_val(const struct settings_list *setting, int selection);
46int option_value_as_int(const struct settings_list *setting) 40int option_value_as_int(const struct settings_list *setting)