From e0710b2af13cc7a4994cbcb0e50af97c02055c5b Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sun, 15 Oct 2006 17:51:00 +0000 Subject: More color adjustments. Better translation to and from native colors with even distribution of levels. Macros for extracting native depth components and packing them. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11227 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings_menu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/settings_menu.c') diff --git a/apps/settings_menu.c b/apps/settings_menu.c index 35bdccb49c..eabe153810 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c @@ -409,7 +409,7 @@ static bool set_fg_color(void) { bool res; - res = set_color(&screens[SCREEN_MAIN],str(LANG_FOREGROUND_COLOR), + res = set_color(NULL,str(LANG_FOREGROUND_COLOR), &global_settings.fg_color,global_settings.bg_color); screens[SCREEN_MAIN].set_foreground(global_settings.fg_color); @@ -421,7 +421,7 @@ static bool set_bg_color(void) { bool res; - res = set_color(&screens[SCREEN_MAIN],str(LANG_BACKGROUND_COLOR), + res = set_color(NULL,str(LANG_BACKGROUND_COLOR), &global_settings.bg_color,global_settings.fg_color); screens[SCREEN_MAIN].set_background(global_settings.bg_color); @@ -1699,7 +1699,7 @@ static bool unplug_rw(void) static bool unplug_autoresume(void) { - return set_bool( str(LANG_UNPLUG_DISABLE_AUTORESUME), + return set_bool( str(LANG_UNPLUG_DISABLE_AUTORESUME), &global_settings.unplug_autoresume ); } -- cgit v1.2.3