diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2007-08-17 20:30:10 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2007-08-17 20:30:10 +0000 |
| commit | 32144cc14e87e3c3eede2966a874f17da9c24eba (patch) | |
| tree | 8044c7a6c739386393357d085dd7b9db793bc4dd /src/live_effects/parameter/parameter.h | |
| parent | Enable center-dragging of boxes ('in perspective') within the XY-plane (diff) | |
| download | inkscape-32144cc14e87e3c3eede2966a874f17da9c24eba.tar.gz inkscape-32144cc14e87e3c3eede2966a874f17da9c24eba.zip | |
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)
Diffstat (limited to '')
| -rw-r--r-- | src/live_effects/parameter/parameter.h | 18 |
1 files changed, 13 insertions, 5 deletions
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
|
