diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-07-20 19:02:23 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-07-20 19:02:23 +0000 |
| commit | b598f6ee0c07654733dd7ceecc3990cd5c6f50f3 (patch) | |
| tree | 9beba81a4da5f8725ac73dc57e61284203c41396 /src/live_effects/parameter | |
| parent | optimize nodepath editing of lpe pathparam's a bit. (diff) | |
| download | inkscape-b598f6ee0c07654733dd7ceecc3990cd5c6f50f3.tar.gz inkscape-b598f6ee0c07654733dd7ceecc3990cd5c6f50f3.zip | |
purge LivePathEffect::PathType
(bzr r6373)
Diffstat (limited to 'src/live_effects/parameter')
| -rw-r--r-- | src/live_effects/parameter/bool.h | 2 | ||||
| -rw-r--r-- | src/live_effects/parameter/enum.h | 2 | ||||
| -rw-r--r-- | src/live_effects/parameter/parameter.h | 16 | ||||
| -rw-r--r-- | src/live_effects/parameter/path.h | 2 | ||||
| -rw-r--r-- | src/live_effects/parameter/point.h | 2 | ||||
| -rw-r--r-- | src/live_effects/parameter/random.h | 2 |
6 files changed, 0 insertions, 26 deletions
diff --git a/src/live_effects/parameter/bool.h b/src/live_effects/parameter/bool.h index 4496740e0..8f5196dad 100644 --- a/src/live_effects/parameter/bool.h +++ b/src/live_effects/parameter/bool.h @@ -28,8 +28,6 @@ public: bool default_value = false); virtual ~BoolParam(); - virtual ParamType paramType() { return BOOL_PARAM; } - virtual Gtk::Widget * param_newWidget(Gtk::Tooltips * tooltips); virtual bool param_readSVGValue(const gchar * strvalue); diff --git a/src/live_effects/parameter/enum.h b/src/live_effects/parameter/enum.h index 567eabcbb..aec256f11 100644 --- a/src/live_effects/parameter/enum.h +++ b/src/live_effects/parameter/enum.h @@ -40,8 +40,6 @@ public: virtual ~EnumParam() { }; - virtual ParamType paramType() { return ENUM_PARAM; } - virtual Gtk::Widget * param_newWidget(Gtk::Tooltips * /*tooltips*/) { Inkscape::UI::Widget::RegisteredEnum<E> *regenum = Gtk::manage ( new Inkscape::UI::Widget::RegisteredEnum<E>( param_label, param_tooltip, diff --git a/src/live_effects/parameter/parameter.h b/src/live_effects/parameter/parameter.h index c4e58c8d5..3b3b14673 100644 --- a/src/live_effects/parameter/parameter.h +++ b/src/live_effects/parameter/parameter.h @@ -36,17 +36,6 @@ namespace LivePathEffect { class Effect; -enum ParamType { - GENERAL_PARAM, - SCALAR_PARAM, - BOOL_PARAM, - PATH_PARAM, - POINT_PARAM, - RANDOM_PARAM, - ENUM_PARAM, - INVALID_PARAM -}; - class Parameter { public: Parameter( const Glib::ustring& label, @@ -62,9 +51,6 @@ public: virtual void param_set_default() = 0; - void printTypeName(); - virtual ParamType paramType() { return GENERAL_PARAM; } - // This creates a new widget (newed with Gtk::manage(new ...);) virtual Gtk::Widget * param_newWidget(Gtk::Tooltips * tooltips) = 0; @@ -104,8 +90,6 @@ public: gdouble default_value = 1.0); virtual ~ScalarParam(); - virtual ParamType paramType() { return SCALAR_PARAM; } - virtual bool param_readSVGValue(const gchar * strvalue); virtual gchar * param_getSVGValue() const; diff --git a/src/live_effects/parameter/path.h b/src/live_effects/parameter/path.h index e2d9c0e19..267ff48ea 100644 --- a/src/live_effects/parameter/path.h +++ b/src/live_effects/parameter/path.h @@ -32,8 +32,6 @@ public: const gchar * default_value = "M0,0 L1,1"); virtual ~PathParam(); - virtual ParamType paramType() { return PATH_PARAM; } - std::vector<Geom::Path> const & get_pathvector(); Geom::Piecewise<Geom::D2<Geom::SBasis> > const & get_pwd2(); diff --git a/src/live_effects/parameter/point.h b/src/live_effects/parameter/point.h index 4c0e6e356..90c318b5e 100644 --- a/src/live_effects/parameter/point.h +++ b/src/live_effects/parameter/point.h @@ -34,8 +34,6 @@ public: Geom::Point default_value = Geom::Point(0,0) ); // tip for automatically associated on-canvas handle virtual ~PointParam(); - virtual ParamType paramType() { return POINT_PARAM; } - virtual Gtk::Widget * param_newWidget(Gtk::Tooltips * tooltips); bool param_readSVGValue(const gchar * strvalue); diff --git a/src/live_effects/parameter/random.h b/src/live_effects/parameter/random.h index 49b114061..4417a8126 100644 --- a/src/live_effects/parameter/random.h +++ b/src/live_effects/parameter/random.h @@ -29,8 +29,6 @@ public: long default_seed = 0); virtual ~RandomParam(); - virtual ParamType paramType() { return RANDOM_PARAM; } - virtual bool param_readSVGValue(const gchar * strvalue); virtual gchar * param_getSVGValue() const; virtual void param_set_default(); |
