summaryrefslogtreecommitdiffstats
path: root/src/knot-holder-entity.h
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2012-04-07 14:24:51 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2012-04-07 14:24:51 +0000
commita239540f0ae3f19e8af2d85acdf12ad40563087a (patch)
treefa08868e3cdd2a23c5315f09e7daac4d991b414f /src/knot-holder-entity.h
parentcleanup knotholder code for LPEs (diff)
downloadinkscape-a239540f0ae3f19e8af2d85acdf12ad40563087a.tar.gz
inkscape-a239540f0ae3f19e8af2d85acdf12ad40563087a.zip
remove no longer needed knotholderentity complication
(bzr r11171)
Diffstat (limited to 'src/knot-holder-entity.h')
-rw-r--r--src/knot-holder-entity.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/knot-holder-entity.h b/src/knot-holder-entity.h
index f1513779a..ec936d464 100644
--- a/src/knot-holder-entity.h
+++ b/src/knot-holder-entity.h
@@ -48,12 +48,6 @@ public:
SPKnotModeType mode = SP_KNOT_MODE_XOR,
guint32 color = 0xffffff00);
- /* derived classes used for LPE knotholder handles use this to indicate that they
- must not be deleted when a knotholder is destroyed */
- // TODO: it would be nice to ditch this but then we need to dynamically create instances of different
- // KnotHolderEntity classes in Effect::addKnotHolderEntities. How to do this???
- virtual bool isDeletable() { return true; }
-
/* the get/set/click handlers are virtual functions; each handler class for a knot
should be derived from KnotHolderEntity and override these functions */
virtual void knot_set(Geom::Point const &p, Geom::Point const &origin, guint state) = 0;
@@ -93,8 +87,6 @@ public:
LPEKnotHolderEntity(Inkscape::LivePathEffect::Effect *effect) : _effect(effect) {};
protected:
Inkscape::LivePathEffect::Effect *_effect;
-private:
- virtual bool isDeletable() { return false; }
};
/* pattern manipulation */