summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-perp_bisector.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-07-29 14:51:39 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-07-29 14:51:39 +0000
commit78b970a0a036f78cfd491553b49ffa00214f7a64 (patch)
tree18e737c865450e590297c086a8fc17a0ede8d833 /src/live_effects/lpe-perp_bisector.cpp
parentRemove superfluous functions (diff)
downloadinkscape-78b970a0a036f78cfd491553b49ffa00214f7a64.tar.gz
inkscape-78b970a0a036f78cfd491553b49ffa00214f7a64.zip
Rename isLPEParam() to isDeletable(), create new class LPEKnotHolderEntity and make inheritance from it a bit less clumsy
(bzr r6448)
Diffstat (limited to 'src/live_effects/lpe-perp_bisector.cpp')
-rw-r--r--src/live_effects/lpe-perp_bisector.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/live_effects/lpe-perp_bisector.cpp b/src/live_effects/lpe-perp_bisector.cpp
index bcfe57614..c4146a1d9 100644
--- a/src/live_effects/lpe-perp_bisector.cpp
+++ b/src/live_effects/lpe-perp_bisector.cpp
@@ -25,20 +25,16 @@ namespace Inkscape {
namespace LivePathEffect {
namespace PB {
-class KnotHolderEntityLeftEnd : public KnotHolderEntity
+class KnotHolderEntityLeftEnd : public LPEKnotHolderEntity
{
public:
- virtual bool isLPEParam() { return true; }
-
virtual void knot_set(NR::Point const &p, NR::Point const &origin, guint state);
virtual NR::Point knot_get();
};
-class KnotHolderEntityRightEnd : public KnotHolderEntity
+class KnotHolderEntityRightEnd : public LPEKnotHolderEntity
{
public:
- virtual bool isLPEParam() { return true; }
-
virtual void knot_set(NR::Point const &p, NR::Point const &origin, guint state);
virtual NR::Point knot_get();
};