From: johanengelen Date: Thu, 20 Mar 2008 23:01:46 +0000 (+0000) Subject: define color of point parameter in LPEdoEffectStackTest X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=69113aa67f873677fb1057066be1a88dfcd70ac9;p=inkscape.git define color of point parameter in LPEdoEffectStackTest add tooltips to parameters of LPEdoEffectStackTest --- diff --git a/src/live_effects/lpe-test-doEffect-stack.cpp b/src/live_effects/lpe-test-doEffect-stack.cpp index f20ce8cec..93e1add0a 100644 --- a/src/live_effects/lpe-test-doEffect-stack.cpp +++ b/src/live_effects/lpe-test-doEffect-stack.cpp @@ -18,11 +18,13 @@ namespace LivePathEffect { LPEdoEffectStackTest::LPEdoEffectStackTest(LivePathEffectObject *lpeobject) : Effect(lpeobject), - step(_("Stack step"), (""), "step", &wr, this), - point(_("point param"), "", "point_param", &wr, this) + step(_("Stack step"), ("How deep we should go into the stack"), "step", &wr, this), + point(_("point param"), "tooltip of point parameter", "point_param", &wr, this) { registerParameter( dynamic_cast(&step) ); registerParameter( dynamic_cast(&point) ); + + point.set_oncanvas_looks(SP_KNOT_SHAPE_SQUARE, SP_KNOT_MODE_XOR, 0x00ff0000); } LPEdoEffectStackTest::~LPEdoEffectStackTest()