X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_ResultGroup.h;h=2252d455eeadd42782e7b331a35c3dc69a303ae7;hb=49c180426b47ea37eee3a779362fef3b78ab7cb9;hp=7bfa796942d8053b4f72f03188bf3a114222444a;hpb=a24b7e6f4d112d5e7889fd76f030298fc428cd01;p=modules%2Fshaper.git diff --git a/src/Model/Model_ResultGroup.h b/src/Model/Model_ResultGroup.h index 7bfa79694..2252d455e 100644 --- a/src/Model/Model_ResultGroup.h +++ b/src/Model/Model_ResultGroup.h @@ -20,16 +20,10 @@ class Model_ResultGroup : public ModelAPI_ResultGroup { std::shared_ptr myOwnerData; ///< data of owner of this result public: - /// default color for a result body - inline static const std::string& DEFAULT_COLOR() - { - static const std::string RESULT_GROUP_COLOR("#E0A01B"); - return RESULT_GROUP_COLOR; - } /// Request for initialization of data model of the result: adding all attributes virtual void initAttributes(); - // Retuns the parameters of color definition in the resources config manager + /// Retuns the parameters of color definition in the resources config manager MODEL_EXPORT virtual void colorConfigInfo(std::string& theSection, std::string& theName, std::string& theDefault); @@ -43,7 +37,7 @@ protected: /// Makes a body on the given feature data Model_ResultGroup(std::shared_ptr theOwnerData); - friend class Model_Document; + friend class Model_Objects; }; #endif