summaryrefslogtreecommitdiff
path: root/apps/settings_list.c
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-08-17 23:05:45 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-08-17 23:05:45 +0000
commita06f287c81ae8ad1530c566788fc175c6c7d611a (patch)
tree1a03bb9d99cd4a94dc37579ea8b587230b06b8bb /apps/settings_list.c
parent00b604814178b61fa720611fc10a602b15b7184c (diff)
downloadrockbox-a06f287c81ae8ad1530c566788fc175c6c7d611a.tar.gz
rockbox-a06f287c81ae8ad1530c566788fc175c6c7d611a.zip
* Fix red
* Make scrollbar width range from 3 -> LCD_WIDTH/10 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22389 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r--apps/settings_list.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index ef496d5c53..ffea57d355 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -604,7 +604,9 @@ const struct settings_list settings[] = {
604 gui_statusbar_changed, 3, ID2P(LANG_OFF), ID2P(LANG_STATUSBAR_TOP), 604 gui_statusbar_changed, 3, ID2P(LANG_OFF), ID2P(LANG_STATUSBAR_TOP),
605 ID2P(LANG_STATUSBAR_BOTTOM)), 605 ID2P(LANG_STATUSBAR_BOTTOM)),
606#endif 606#endif
607 OFFON_SETTING(0,scrollbar, LANG_SCROLL_BAR, true,"scrollbar", NULL), 607 OFFON_SETTING(0,scrollbar, LANG_SCROLL_BAR, true, "scrollbar", NULL),
608 INT_SETTING(0, scrollbar_width, LANG_SCROLLBAR_WIDTH, 6, "scrollbar width",
609 UNIT_INT, 3, LCD_WIDTH/10, 1, NULL, NULL, NULL),
608#if CONFIG_KEYPAD == RECORDER_PAD 610#if CONFIG_KEYPAD == RECORDER_PAD
609 OFFON_SETTING(0,buttonbar, LANG_BUTTON_BAR ,true,"buttonbar", NULL), 611 OFFON_SETTING(0,buttonbar, LANG_BUTTON_BAR ,true,"buttonbar", NULL),
610#endif 612#endif
@@ -1550,9 +1552,6 @@ const struct settings_list settings[] = {
1550 VIEWPORT_SETTING(remote_ui_vp_config, "remote ui viewport"), 1552 VIEWPORT_SETTING(remote_ui_vp_config, "remote ui viewport"),
1551#endif 1553#endif
1552#endif 1554#endif
1553
1554 INT_SETTING(0, scrollbar_width, LANG_SCROLLBAR_WIDTH, 6, "scrollbar width",
1555 UNIT_INT, 6, 20, 1, NULL, NULL, NULL),
1556}; 1555};
1557 1556
1558const int nb_settings = sizeof(settings)/sizeof(*settings); 1557const int nb_settings = sizeof(settings)/sizeof(*settings);