From 32144cc14e87e3c3eede2966a874f17da9c24eba Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Fri, 17 Aug 2007 20:30:10 +0000 Subject: Fix LPE: * add default values for parameters * remove text for LPE_INVALID * update example for skel strokes * clean a bit of the code (bzr r3498) --- src/live_effects/parameter/parameter.h | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'src/live_effects/parameter/parameter.h') diff --git a/src/live_effects/parameter/parameter.h b/src/live_effects/parameter/parameter.h index 327d3d153..93cdc94ee 100644 --- a/src/live_effects/parameter/parameter.h +++ b/src/live_effects/parameter/parameter.h @@ -28,7 +28,11 @@ class Effect; class Parameter { public: - Parameter(const Glib::ustring& label, const Glib::ustring& tip, const Glib::ustring& key, Inkscape::UI::Widget::Registry* wr, Effect* effect); + Parameter( const Glib::ustring& label, + const Glib::ustring& tip, + const Glib::ustring& key, + Inkscape::UI::Widget::Registry* wr, + Effect* effect); virtual ~Parameter() {}; virtual bool param_readSVGValue(const gchar * strvalue) = 0; // returns true if new value is valid / accepted. @@ -56,8 +60,12 @@ private: class RealParam : public Parameter { public: - RealParam( const Glib::ustring& label, const Glib::ustring& tip, const Glib::ustring& key, - Inkscape::UI::Widget::Registry* wr, Effect* effect, gdouble initial_value = 1.0); + RealParam( const Glib::ustring& label, + const Glib::ustring& tip, + const Glib::ustring& key, + Inkscape::UI::Widget::Registry* wr, + Effect* effect, + gdouble initial_value = 1.0); ~RealParam(); bool param_readSVGValue(const gchar * strvalue); @@ -77,8 +85,8 @@ private: }; -}; //namespace LivePathEffect +} //namespace LivePathEffect -}; //namespace Inkscape +} //namespace Inkscape #endif -- cgit v1.2.3