From bc3dbad158cfcddc33cdc2848402c2295c333649 Mon Sep 17 00:00:00 2001 From: Magnus Holmgren Date: Thu, 1 Sep 2005 20:23:16 +0000 Subject: Reintroduce the cursor setting in the menus too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7446 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings_menu.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/apps/settings_menu.c b/apps/settings_menu.c index 4af1c75b19..1bbb09d8b0 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c @@ -269,6 +269,18 @@ static bool flip_display(void) } /** + * Menu to set Line Selector Type (Pointer/Bar) + */ +static bool invert_cursor(void) +{ + return set_bool_options(str(LANG_INVERT_CURSOR), + &global_settings.invert_cursor, + STR(LANG_INVERT_CURSOR_BAR), + STR(LANG_INVERT_CURSOR_POINTER), + NULL); +} + + /** * Menu to reverse Hebrew and Arabic text according to BiDi algorythm */ static bool bidi_support(void) @@ -1428,6 +1440,7 @@ static bool lcd_settings_menu(void) #ifdef HAVE_LCD_BITMAP { ID2P(LANG_INVERT), invert }, { ID2P(LANG_FLIP_DISPLAY), flip_display }, + { ID2P(LANG_INVERT_CURSOR), invert_cursor }, #endif }; -- cgit v1.2.3