diff options
| author | Dave Chapman <dave@dchapman.com> | 2006-08-15 08:14:46 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2006-08-15 08:14:46 +0000 |
| commit | 079ad11896d68f16f23880f4de869bbb47617c19 (patch) | |
| tree | 54e7d33c26da5dfe8d432f2affffbb00273ac8e3 /apps/settings_menu.c | |
| parent | edf3bcf15b2e3d2c0e16f25cf565ab3338a1d6c0 (diff) | |
| download | rockbox-079ad11896d68f16f23880f4de869bbb47617c19.zip rockbox-079ad11896d68f16f23880f4de869bbb47617c19.tar.gz rockbox-079ad11896d68f16f23880f4de869bbb47617c19.tar.bz2 rockbox-079ad11896d68f16f23880f4de869bbb47617c19.tar.xz | |
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
Diffstat (limited to 'apps/settings_menu.c')
| -rw-r--r-- | apps/settings_menu.c | 7 |
1 files changed, 5 insertions, 2 deletions
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 |