summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.h
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-10-28 16:03:07 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-10-28 16:03:07 +0000
commit96b65f32d922a989131ae91798801ea54c4e8b10 (patch)
tree627327d9468b399e064111734831864c4730bc2a /src/live_effects/effect.h
parentadded perfectboundcover.inx to translatable extensions (diff)
downloadinkscape-96b65f32d922a989131ae91798801ea54c4e8b10.tar.gz
inkscape-96b65f32d922a989131ae91798801ea54c4e8b10.zip
LPE: implement 'edit next LPE parameter'. Accessible through key '7'.
(bzr r3968)
Diffstat (limited to 'src/live_effects/effect.h')
-rw-r--r--src/live_effects/effect.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/live_effects/effect.h b/src/live_effects/effect.h
index 8c647e599..844a158b5 100644
--- a/src/live_effects/effect.h
+++ b/src/live_effects/effect.h
@@ -21,8 +21,9 @@
//#define LPE_ENABLE_TEST_EFFECTS
-struct SPShape;
struct SPDocument;
+struct SPDesktop;
+struct SPItem;
class NArtBpath;
struct LivePathEffectObject;
@@ -75,6 +76,8 @@ public:
void readallParameters(Inkscape::XML::Node * repr);
void setParameter(const gchar * key, const gchar * new_value);
+ void editNextParamOncanvas(SPItem * item, SPDesktop * desktop);
+
protected:
Effect(LivePathEffectObject *lpeobject);
@@ -91,6 +94,7 @@ protected:
doEffect (Geom::Piecewise<Geom::D2<Geom::SBasis> > & pwd2_in);
void registerParameter(Parameter * param);
+ Parameter * getNextOncanvasEditableParam();
typedef std::map<Glib::ustring, Parameter *> param_map_type;
param_map_type param_map;
@@ -101,6 +105,8 @@ protected:
LivePathEffectObject *lpeobj;
+ param_map_type::iterator oncanvasedit_it;
+
private:
Effect(const Effect&);
Effect& operator=(const Effect&);