Code

Fix behavior when loading a document
[inkscape.git] / src / live_effects / lpe-path_length.h
index db4993df5076104cd82754d03fa544a2b851d030..e108e770aa08c88ffc82dc0cee4d56bc6bb6c5b8 100644 (file)
@@ -8,7 +8,6 @@
 /*
  * Authors:
  *   Maximilian Albert <maximilian.albert@gmail.com>
- *   Johan Engelen
  *
  * Copyright (C) 2007-2008 Authors
  *
@@ -17,6 +16,8 @@
 
 #include "live_effects/effect.h"
 #include "live_effects/parameter/text.h"
+#include "live_effects/parameter/unit.h"
+#include "live_effects/parameter/bool.h"
 
 namespace Inkscape {
 namespace LivePathEffect {
@@ -28,10 +29,15 @@ public:
 
     virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in);
 
+    void hideCanvasText();
+
 private:
     LPEPathLength(const LPEPathLength&);
     LPEPathLength& operator=(const LPEPathLength&);
-    TextParam info_text;
+    ScalarParam scale;
+    TextParamInternal info_text;
+    UnitParam unit;
+    BoolParam display_unit;
 };
 
 } //namespace LivePathEffect