X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Flive_effects%2Flpe-path_length.h;h=e108e770aa08c88ffc82dc0cee4d56bc6bb6c5b8;hb=62dad53172661dfa1ef8dd3ed07e06d2ea2523a4;hp=db4993df5076104cd82754d03fa544a2b851d030;hpb=ecf048161ae0284d01d34ca5844204775c0d3fde;p=inkscape.git diff --git a/src/live_effects/lpe-path_length.h b/src/live_effects/lpe-path_length.h index db4993df5..e108e770a 100644 --- a/src/live_effects/lpe-path_length.h +++ b/src/live_effects/lpe-path_length.h @@ -8,7 +8,6 @@ /* * Authors: * Maximilian Albert - * 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 > doEffect_pwd2 (Geom::Piecewise > 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