Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for import/export features
[modules/shaper.git]
/
src
/
Model
/
Model_ResultGroup.h
diff --git
a/src/Model/Model_ResultGroup.h
b/src/Model/Model_ResultGroup.h
index 33c0e17a74ba47245741359e4e8c9d50653826c7..3de093e745bf9c79d1c36283942ab8d1484ae90b 100644
(file)
--- a/
src/Model/Model_ResultGroup.h
+++ b/
src/Model/Model_ResultGroup.h
@@
-20,15
+20,13
@@
class Model_ResultGroup : public ModelAPI_ResultGroup
{
std::shared_ptr<ModelAPI_Data> myOwnerData; ///< data of owner of this result
public:
{
std::shared_ptr<ModelAPI_Data> 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();
/// 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
+ MODEL_EXPORT virtual void colorConfigInfo(std::string& theSection, std::string& theName,
+ std::string& theDefault);
+
/// Returns the compound of selected entities
MODEL_EXPORT virtual std::shared_ptr<GeomAPI_Shape> shape();
/// Returns the compound of selected entities
MODEL_EXPORT virtual std::shared_ptr<GeomAPI_Shape> shape();
@@
-39,7
+37,7
@@
protected:
/// Makes a body on the given feature data
Model_ResultGroup(std::shared_ptr<ModelAPI_Data> theOwnerData);
/// Makes a body on the given feature data
Model_ResultGroup(std::shared_ptr<ModelAPI_Data> theOwnerData);
- friend class Model_
Document
;
+ friend class Model_
Objects
;
};
#endif
};
#endif