Salome HOME
Define color for part result
[modules/shaper.git] / src / ModelAPI / ModelAPI_ResultPart.h
index 11cae2bae8135e5063b311774cab7ecce8795003..131af613f772498b0398e2e3e88f215c0e659294 100644 (file)
@@ -38,6 +38,13 @@ class ModelAPI_ResultPart : public ModelAPI_Result
     return MY_DOC_REF;
   }
 
+  /// default color for a result body
+  inline static const std::string& DEFAULT_COLOR()
+  {
+    static const std::string RESULT_BODY_COLOR("96,157,255");
+    return RESULT_BODY_COLOR;
+  }
+
   /// Returns the part-document of this result
   virtual std::shared_ptr<ModelAPI_Document> partDoc() = 0;