summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-clone-original.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/lpe-clone-original.h')
-rw-r--r--src/live_effects/lpe-clone-original.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/live_effects/lpe-clone-original.h b/src/live_effects/lpe-clone-original.h
index c8014e806..0d4825053 100644
--- a/src/live_effects/lpe-clone-original.h
+++ b/src/live_effects/lpe-clone-original.h
@@ -20,7 +20,7 @@
namespace Inkscape {
namespace LivePathEffect {
-enum Clonelpemethod { CLM_NONE, CLM_D, CLM_ORIGINALD, CLM_BSPLINESPIRO, CLM_CURRENT, CLM_END };
+enum Clonelpemethod { CLM_NONE, CLM_D, CLM_ORIGINALD, CLM_BSPLINESPIRO, CLM_END };
class LPECloneOriginal : public Effect, GroupBBoxEffect {
public:
@@ -30,6 +30,8 @@ public:
void doBeforeEffect (SPLPEItem const* lpeitem) override;
void cloneAttrbutes(SPObject *origin, SPObject *dest, const gchar * attributes, const gchar * style_attributes);
void modified(SPObject */*obj*/, guint /*flags*/);
+ Gtk::Widget *newWidget();
+ void syncOriginal();
void start_listening();
void quit_listening();
@@ -37,12 +39,14 @@ private:
OriginalItemParam linkeditem;
EnumParam<Clonelpemethod> method;
TextParam attributes;
+ gchar * old_attributes;
TextParam style_attributes;
+ gchar * old_style_attributes;
BoolParam allow_transforms;
const gchar * linked;
- Clonelpemethod previous_method;
bool listening;
bool is_updating;
+ bool sync;
sigc::connection modified_connection;
LPECloneOriginal(const LPECloneOriginal&) = delete;
LPECloneOriginal& operator=(const LPECloneOriginal&) = delete;