index 688a50d4abe9d53d5e835498dae5f72328f1e3e0..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 {
Geom::Point default_value = Geom::Point(0,0));
virtual ~PointParam();
- Gtk::Widget * param_getWidget();
+ virtual Gtk::Widget * param_newWidget(Gtk::Tooltips * tooltips);
bool param_readSVGValue(const gchar * strvalue);
gchar * param_writeSVGValue() const;
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&);
- Gtk::Widget * _widget;
- Gtk::Tooltips * _tooltips;
- Inkscape::UI::Widget::RegisteredPoint * pointwdg;
void on_button_click();
- SPKnot *knot;
-
Geom::Point defvalue;
+
+ SPKnotShapeType knot_shape;
+ SPKnotModeType knot_mode;
+ guint32 knot_color;
};