Salome HOME
Regression fix: not toggled up button on closing of contour of lines
[modules/shaper.git] / src / ModelAPI / ModelAPI_ResultConstruction.h
index f24fb0d909a1ad387282367cf0b6c8b3c3df1d13..41d74975c1960e82ce44ad175510b70ed73d3db0 100644 (file)
@@ -33,6 +33,13 @@ class ModelAPI_ResultConstruction : public ModelAPI_Result
     return MY_GROUP;
   }
 
+  /// default color for a result construction
+  inline static const std::string& DEFAULT_COLOR()
+  {
+    static const std::string RESULT_CONSTRUCTION_COLOR("120,120,120");
+    return RESULT_CONSTRUCTION_COLOR;
+  }
+
   /// Sets the result
   virtual void setShape(std::shared_ptr<GeomAPI_Shape> theShape) = 0;