Salome HOME
AutoColor removed from Preferences and Doc update
[modules/shaper.git] / src / Config / Config_PropManager.cpp
index aff1787ed6ad3ff0f05597cb734f54da1123f2f2..17ad00b5377db2cca95dc8b1cb81b9961af763e5 100644 (file)
@@ -19,6 +19,8 @@
 
 #include "Config_PropManager.h"
 
+bool Config_PropManager::autoColorStatus = false;
+
 std::vector<int> stringToRGB(const std::string& theColor);
 int stringToInteger(const std::string& theInt);
 bool stringToBoolean(const std::string& theInt);
@@ -28,6 +30,15 @@ Config_Properties& Config_PropManager::props() {
   return *confProps;
 }
 
+bool Config_PropManager::getAutoColorStatus()
+{
+    return Config_PropManager::autoColorStatus;
+}
+
+void Config_PropManager::setAutoColorStatus(const bool theValue)
+{
+    Config_PropManager::autoColorStatus = theValue;
+}
 
 Config_Prop* Config_PropManager::registerProp(const std::string& theSection,
                                               const std::string& theName,