summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/effect.h')
-rw-r--r--src/live_effects/effect.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/live_effects/effect.h b/src/live_effects/effect.h
index 844a158b5..07dd72e47 100644
--- a/src/live_effects/effect.h
+++ b/src/live_effects/effect.h
@@ -42,7 +42,8 @@ namespace XML {
namespace LivePathEffect {
enum EffectType {
- SKELETAL_STROKES = 0,
+ PATH_ALONG_PATH = 0,
+ SKELETAL_STROKES,
#ifdef LPE_ENABLE_TEST_EFFECTS
SLANT,
DOEFFECTSTACK_TEST,
@@ -59,18 +60,19 @@ class Parameter;
class Effect {
public:
- virtual ~Effect();
+ static Effect* New(EffectType lpenr, LivePathEffectObject *lpeobj);
- Glib::ustring getName();
+ virtual ~Effect();
virtual void doEffect (SPCurve * curve);
- static Effect* New(EffectType lpenr, LivePathEffectObject *lpeobj);
-
virtual Gtk::Widget * getWidget();
- Inkscape::XML::Node * getRepr();
- SPDocument * getSPDoc();
+ virtual void resetDefaults(SPItem * item);
+
+ Glib::ustring getName();
+ Inkscape::XML::Node * getRepr();
+ SPDocument * getSPDoc();
LivePathEffectObject * getLPEObj() {return lpeobj;};
void readallParameters(Inkscape::XML::Node * repr);
@@ -78,6 +80,8 @@ public:
void editNextParamOncanvas(SPItem * item, SPDesktop * desktop);
+ bool straight_original_path;
+
protected:
Effect(LivePathEffectObject *lpeobject);