summaryrefslogtreecommitdiffstats
path: root/apps/menus/display_menu.c
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-08-17 23:36:49 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-08-17 23:36:49 +0000
commitdaaecb987ca09f9b842c39aaeaa78f6f95145403 (patch)
tree5ffc7bfa1170daea51519d6e3492dcf3786b6551 /apps/menus/display_menu.c
parenta06f287c81ae8ad1530c566788fc175c6c7d611a (diff)
downloadrockbox-daaecb987ca09f9b842c39aaeaa78f6f95145403.tar.gz
rockbox-daaecb987ca09f9b842c39aaeaa78f6f95145403.tar.bz2
rockbox-daaecb987ca09f9b842c39aaeaa78f6f95145403.zip
Add setting to position the scrollbar on the left or right
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22390 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menus/display_menu.c')
-rw-r--r--apps/menus/display_menu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/menus/display_menu.c b/apps/menus/display_menu.c
index ab13aac4ab..a98a3d51b0 100644
--- a/apps/menus/display_menu.c
+++ b/apps/menus/display_menu.c
@@ -320,6 +320,8 @@ static int statusbar_callback(int action,const struct menu_item_ex *this_item)
return action;
}
MENUITEM_SETTING(scrollbar_item, &global_settings.scrollbar, NULL);
+MENUITEM_SETTING(scrollbar_width, &global_settings.scrollbar_width, NULL);
+MENUITEM_SETTING(scrollbar_position, &global_settings.scrollbar_position, NULL);
MENUITEM_SETTING(statusbar, &global_settings.statusbar, statusbar_callback);
#ifdef HAVE_REMOTE_LCD
MENUITEM_SETTING(remote_statusbar, &global_settings.remote_statusbar, statusbar_callback);
@@ -329,9 +331,8 @@ MENUITEM_SETTING(buttonbar, &global_settings.buttonbar, NULL);
#endif
MENUITEM_SETTING(volume_type, &global_settings.volume_type, NULL);
MENUITEM_SETTING(battery_display, &global_settings.battery_display, NULL);
-MENUITEM_SETTING(scrollbar_width, &global_settings.scrollbar_width, NULL);
MAKE_MENU(bars_menu, ID2P(LANG_BARS_MENU), 0, Icon_NOICON,
- &scrollbar_item, &scrollbar_width, &statusbar,
+ &scrollbar_item, &scrollbar_width, &scrollbar_position, &statusbar,
#ifdef HAVE_REMOTE_LCD
&remote_statusbar,
#endif