Code

New unit parameter for LPEs which lpe-ruler now uses
[inkscape.git] / src / live_effects / lpe-ruler.h
index 7ebc62fdbae6f0ad37230cc8b0cf73f65b585f9c..48ca5d46f653b69e144d8ea94cba3bc07b22012f 100644 (file)
@@ -17,6 +17,7 @@
 
 #include "live_effects/effect.h"
 #include "live_effects/parameter/text.h"
+#include "live_effects/parameter/unit.h"
 
 namespace Inkscape {
 namespace LivePathEffect {
@@ -33,6 +34,7 @@ private:
     ScalarParam mark_length;
     ScalarParam scale;
     TextParamInternal info_text;
+    UnitParam unit;
     LPERuler(const LPERuler&);
     LPERuler& operator=(const LPERuler&);
 };