summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 25ad371)
raw | patch | inline | side by side (parent: 25ad371)
author | cilix42 <cilix42@users.sourceforge.net> | |
Tue, 29 Jul 2008 14:52:20 +0000 (14:52 +0000) | ||
committer | cilix42 <cilix42@users.sourceforge.net> | |
Tue, 29 Jul 2008 14:52:20 +0000 (14:52 +0000) |
src/live_effects/parameter/point.cpp | patch | blob | history | |
src/live_effects/parameter/point.h | patch | blob | history |
index 0a782d4ecf44eccd5a2484a62f8d13e90232a892..8b47b887f5f06c3bcef8717a0b4849dc4ded8eb5 100644 (file)
g_free(str);
}
-void
-PointParam::param_editOncanvas(SPItem * item, SPDesktop * dt)
-{
- // If not already in nodecontext, goto it!
- if (!tools_isactive(dt, TOOLS_NODES)) {
- tools_switch_current(TOOLS_NODES);
- }
-
- PointParamKnotHolder * kh = new PointParamKnotHolder(dt, SP_OBJECT(param_effect->getLPEObj()), param_key.c_str(), item);
- if (kh) {
- kh->add_knot(* dynamic_cast<Geom::Point *>( this ), NULL, knot_shape, knot_mode, knot_color, param_getTooltip()->c_str() );
-
- ShapeEditor * shape_editor = SP_NODE_CONTEXT( dt->event_context )->shape_editor;
- shape_editor->set_knotholder(kh);
- }
-}
-
-
-
void
PointParam::param_transform_multiply(Geom::Matrix const& postmul, bool /*set*/)
{
index 9718b232b288ce3ddf00a4b0f56005756dc89fa0..ca440c1fce1f8a3772d6b77af914c17ce3e5a2bb 100644 (file)
void param_set_and_write_new_value(Geom::Point newpoint);
- // TODO: ditch this
- 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);