diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-03-20 23:00:52 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-03-20 23:00:52 +0000 |
| commit | 887dd72ac8da405acdbf4c34336c93577e4d17a3 (patch) | |
| tree | db35247fa2ecf953c2d8c19102b90234c76bde0e /src/live_effects/parameter/point.h | |
| parent | Change from Level3 to Level2 Views (diff) | |
| download | inkscape-887dd72ac8da405acdbf4c34336c93577e4d17a3.tar.gz inkscape-887dd72ac8da405acdbf4c34336c93577e4d17a3.zip | |
Add on-canvas editing of LPE PointParam.
* made special KnotHolder for Pointparameters.
todo:
* pointparam numerical widgets display SVG info, instead of desktop coordinates. must be fixed
* knots cannot be selected and moved by keys
(bzr r5133)
Diffstat (limited to 'src/live_effects/parameter/point.h')
| -rw-r--r-- | src/live_effects/parameter/point.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/live_effects/parameter/point.h b/src/live_effects/parameter/point.h index c167807d9..e200921ab 100644 --- a/src/live_effects/parameter/point.h +++ b/src/live_effects/parameter/point.h @@ -16,6 +16,8 @@ #include "live_effects/parameter/parameter.h" +#include "knot-enums.h" + namespace Inkscape { namespace LivePathEffect { @@ -45,6 +47,8 @@ public: virtual void param_transform_multiply(Geom::Matrix const& /*postmul*/, bool /*set*/); + void set_oncanvas_looks(SPKnotShapeType shape, SPKnotModeType mode, guint32 color); + private: PointParam(const PointParam&); PointParam& operator=(const PointParam&); @@ -52,6 +56,10 @@ private: void on_button_click(); Geom::Point defvalue; + + SPKnotShapeType knot_shape; + SPKnotModeType knot_mode; + guint32 knot_color; }; |
