Code

Use neutral out of gamut warning color
authorjoncruz <joncruz@users.sourceforge.net>
Sun, 7 Oct 2007 21:14:37 +0000 (21:14 +0000)
committerjoncruz <joncruz@users.sourceforge.net>
Sun, 7 Oct 2007 21:14:37 +0000 (21:14 +0000)
src/color-profile.cpp
src/preferences-skeleton.h

index 614fdfd6d3c7821f01e1c405cb4272a5fc655282..9fc1f990e6770801ab30351b998472031dcc614b 100644 (file)
@@ -549,7 +549,7 @@ int errorHandlerCB(int ErrorCode, const char *ErrorText)
 }
 
 static bool gamutWarn = false;
-static Gdk::Color lastGamutColor("#00ff00");
+static Gdk::Color lastGamutColor("#808080");
 static bool lastBPC = false;
 #if defined(cmsFLAGS_PRESERVEBLACK)
 static bool lastPreserveBlack = false;
@@ -692,7 +692,7 @@ cmsHTRANSFORM Inkscape::colorprofile_get_display_transform()
     bool preserveBlack = prefs_get_int_attribute_limited( "options.softproof", "preserveblack", 0, 0, 1 );
 #endif //defined(cmsFLAGS_PRESERVEBLACK)
     gchar const* colorStr = prefs_get_string_attribute("options.softproof", "gamutcolor");
-    Gdk::Color gamutColor( (colorStr && colorStr[0]) ? colorStr : "#00ff00");
+    Gdk::Color gamutColor( (colorStr && colorStr[0]) ? colorStr : "#808080");
 
     if ( (warn != gamutWarn)
          || (lastIntent != intent)
index ab40f4c00f3a2c158425c2d96ab92d0260221872..4c7616495923c4b9a20a7320210c2d82fc6eda64 100644 (file)
@@ -190,7 +190,7 @@ static char const preferences_skeleton[] =
 "       id=\"softproof\"\n"
 "       enable=\"0\"\n"
 "       intent=\"0\"\n"
-"       gamutcolor=\"#00FF00\"\n"
+"       gamutcolor=\"#808080\"\n"
 "       gamutwarn=\"0\"\n"
 "       bpc=\"0\"\n"
 "       preserveblack=\"0\"\n"