X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Flive_effects%2Fparameter%2Fpoint.h;h=e200921ab88f9bfa1b78ec3bf8a791461741aefb;hb=00b090b634756cdf4b9c01dfffc76c2e2ed0ae0d;hp=1137a8f1a725fa11677b0a67eb185b0acfd81d27;hpb=d431763a9ec8059aa4962688de8144319969fb0f;p=inkscape.git diff --git a/src/live_effects/parameter/point.h b/src/live_effects/parameter/point.h index 1137a8f1a..e200921ab 100644 --- a/src/live_effects/parameter/point.h +++ b/src/live_effects/parameter/point.h @@ -12,13 +12,11 @@ #include #include <2geom/point.h> -#include "ui/widget/registry.h" -#include "ui/widget/registered-widget.h" #include #include "live_effects/parameter/parameter.h" -struct SPKnot; +#include "knot-enums.h" namespace Inkscape { @@ -49,15 +47,19 @@ 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&); void on_button_click(); - SPKnot *knot; - Geom::Point defvalue; + + SPKnotShapeType knot_shape; + SPKnotModeType knot_mode; + guint32 knot_color; };