From 69113aa67f873677fb1057066be1a88dfcd70ac9 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Thu, 20 Mar 2008 23:01:46 +0000 Subject: [PATCH] define color of point parameter in LPEdoEffectStackTest add tooltips to parameters of LPEdoEffectStackTest --- src/live_effects/lpe-test-doEffect-stack.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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() -- 2.30.2