Code

Add option to either suppress path flash for items with LPE (e.g., spiro splines...
[inkscape.git] / src / live_effects / effect.h
index 21d86f80ad9dbb6ba1792f1f42346145c17f9aeb..f0d0ffdd5669c802ab96fb96fc3e6ba7c8ee34aa 100644 (file)
@@ -77,6 +77,12 @@ enum EffectType {
 extern const Util::EnumData<EffectType> LPETypeData[INVALID_LPE];
 extern const Util::EnumDataConverter<EffectType> LPETypeConverter;
 
+enum LPEPathFlashType {
+    SUPPRESS_FLASH,
+    PERMANENT_FLASH,
+    DEFAULT
+};
+
 class Effect {
 public:
     static Effect* New(EffectType lpenr, LivePathEffectObject *lpeobj);
@@ -102,6 +108,7 @@ public:
     virtual void transform_multiply(Geom::Matrix const& postmul, bool set);
 
     bool providesKnotholder() { return (kh_entity_vector.size() > 0); }
+    virtual LPEPathFlashType pathFlashType() { return DEFAULT; }
     void addHandles(KnotHolder *knotholder, SPDesktop *desktop, SPItem *item);
 
     Glib::ustring          getName();