Code

fix lpe-PathPAram when deleting the path that it links to
[inkscape.git] / src / live_effects / parameter / point.h
index 1137a8f1a725fa11677b0a67eb185b0acfd81d27..e200921ab88f9bfa1b78ec3bf8a791461741aefb 100644 (file)
 #include <glib/gtypes.h>
 #include <2geom/point.h>
 
-#include "ui/widget/registry.h"
-#include "ui/widget/registered-widget.h"
 #include <gtkmm/tooltips.h>
 
 #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;
 };