diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-07-29 14:51:39 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-07-29 14:51:39 +0000 |
| commit | 78b970a0a036f78cfd491553b49ffa00214f7a64 (patch) | |
| tree | 18e737c865450e590297c086a8fc17a0ede8d833 /src/live_effects/lpe-skeleton.cpp | |
| parent | Remove superfluous functions (diff) | |
| download | inkscape-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-skeleton.cpp')
| -rw-r--r-- | src/live_effects/lpe-skeleton.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/live_effects/lpe-skeleton.cpp b/src/live_effects/lpe-skeleton.cpp index 59a034196..5fc4ba6f2 100644 --- a/src/live_effects/lpe-skeleton.cpp +++ b/src/live_effects/lpe-skeleton.cpp @@ -87,11 +87,9 @@ LPESkeleton::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd /** namespace Skeleton { -class KnotHolderEntityMyHandle : public KnotHolderEntity +class KnotHolderEntityMyHandle : public LPEKnotHolderEntity { public: - virtual bool isLPEParam() { return true; } // this is always needed - // the set() and get() methods must be implemented, click() is optional virtual void knot_set(NR::Point const &p, NR::Point const &origin, guint state); virtual NR::Point knot_get(); |
