From 079ad11896d68f16f23880f4de869bbb47617c19 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Tue, 15 Aug 2006 08:14:46 +0000 Subject: Patch #5795 from Jonathan Gordon - change the settings display for enumerations and integers to use the list widget. Patch also adds an optional title to the list widget which is used in the settings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10576 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings_menu.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'apps/settings_menu.c') diff --git a/apps/settings_menu.c b/apps/settings_menu.c index 93c809d..6a11e72 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c @@ -351,11 +351,14 @@ static bool flip_display(void) */ static bool invert_cursor(void) { - return set_bool_options(str(LANG_INVERT_CURSOR), - &global_settings.invert_cursor, + bool type = global_settings.invert_cursor; + bool rc = set_bool_options(str(LANG_INVERT_CURSOR), + &type, STR(LANG_INVERT_CURSOR_BAR), STR(LANG_INVERT_CURSOR_POINTER), NULL); + global_settings.invert_cursor = type; + return rc; } #ifdef HAVE_LCD_COLOR -- cgit v1.1