Code

Add checkbox for LPEs to temporarily disable them on canvas (but keep them applied...
[inkscape.git] / src / live_effects / parameter / point.h
index a47fa77f53391e894fa73288113ea04f97bae53e..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 {
 
@@ -45,17 +43,23 @@ public:
 
     void param_set_and_write_new_value(Geom::Point newpoint);
 
+    virtual void param_editOncanvas(SPItem * item, SPDesktop * dt);
+
     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;
 };