Code

Make knotholders for LPE items finally work; each effect can now overload the addKnot...
authorcilix42 <cilix42@users.sourceforge.net>
Sun, 8 Jun 2008 17:33:58 +0000 (17:33 +0000)
committercilix42 <cilix42@users.sourceforge.net>
Sun, 8 Jun 2008 17:33:58 +0000 (17:33 +0000)
commit1e944d29efb206f5d0b5d1069cb098e22169d548
treed1df1e2ac1ae259e7d8958990011fc3cba69d59a
parent7638241e49faa84b9240f95027aae372a119f110
Make knotholders for LPE items finally work; each effect can now overload the addKnotHolderHandles() method to add handles which control its parameters.
There is now also a virtual onKnotUngrabbed() method for each knotholder entity which can be used to do cleanup tasks (for LPE parameters it currently writes the value to SVG, although this should probably happen automatically)
14 files changed:
src/knot-holder-entity.h
src/knot.cpp
src/knot.h
src/knotholder.cpp
src/knotholder.h
src/live_effects/effect.cpp
src/live_effects/effect.h
src/live_effects/lpe-tangent_to_curve.cpp
src/live_effects/lpe-tangent_to_curve.h
src/live_effects/parameter/parameter.h
src/live_effects/parameter/point.cpp
src/live_effects/parameter/point.h
src/object-edit.cpp
src/shape-editor.cpp