X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_Sketch.h;h=c4721f547bfb114dbd7d50a0f6d9c948d3d4b966;hb=5be4a656f7f45e94dc40385cf164a88375e4403b;hp=cb3efbea6864f5cdc90751c99b056ed842421587;hpb=7b57d5fd5d0ef1259a3568be884f63d9a906b83d;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_Sketch.h b/src/SketchPlugin/SketchPlugin_Sketch.h index cb3efbea6..c4721f547 100644 --- a/src/SketchPlugin/SketchPlugin_Sketch.h +++ b/src/SketchPlugin/SketchPlugin_Sketch.h @@ -14,6 +14,10 @@ #include #include +#define YZ_PLANE_COLOR "#ff0000" +#define XZ_PLANE_COLOR "#00ff00" +#define XY_PLANE_COLOR "#0000ff" + /**\class SketchPlugin_Sketch * \ingroup Plugins * \brief Feature for creation of the new part in PartSet. @@ -110,8 +114,8 @@ class SketchPlugin_Sketch : public ModelAPI_CompositeFeature//, public GeomAPI_I /// appends a feature to the sketch sub-elements container SKETCHPLUGIN_EXPORT virtual std::shared_ptr addFeature(std::string theID); - /// appends a feature from the sketch sub-elements container - SKETCHPLUGIN_EXPORT virtual void removeFeature(ModelAPI_Feature* theFeature); + /// Just to synchronise the container of sub-features + virtual void removeFeature(std::shared_ptr theFeature); /// Returns the number of sub-elements SKETCHPLUGIN_EXPORT virtual int numberOfSubs() const;