Code

define color of point parameter in LPEdoEffectStackTest
authorjohanengelen <johanengelen@users.sourceforge.net>
Thu, 20 Mar 2008 23:01:46 +0000 (23:01 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Thu, 20 Mar 2008 23:01:46 +0000 (23:01 +0000)
add tooltips to parameters of LPEdoEffectStackTest

src/live_effects/lpe-test-doEffect-stack.cpp

index f20ce8cec6f803841a551d91ebb477dab45fad9b..93e1add0a0f498558e323073a1b15a2283487c01 100644 (file)
@@ -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<Parameter *>(&step) );
     registerParameter( dynamic_cast<Parameter *>(&point) );
+
+    point.set_oncanvas_looks(SP_KNOT_SHAPE_SQUARE, SP_KNOT_MODE_XOR, 0x00ff0000);
 }
 
 LPEdoEffectStackTest::~LPEdoEffectStackTest()