diff options
| author | Jabiertxof <jtx@jtx> | 2017-04-29 00:01:22 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx> | 2017-04-29 00:01:22 +0000 |
| commit | e5601e5e84df30c40d93271fd69cecd31391e309 (patch) | |
| tree | 7408c6a5bb33c58d1757ef9ce85041e532bd5c5e /src/live_effects/effect.h | |
| parent | Update to trunk (diff) | |
| download | inkscape-e5601e5e84df30c40d93271fd69cecd31391e309.tar.gz inkscape-e5601e5e84df30c40d93271fd69cecd31391e309.zip | |
Rewrite UX
(bzr r15620.1.12)
Diffstat (limited to 'src/live_effects/effect.h')
| -rw-r--r-- | src/live_effects/effect.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/live_effects/effect.h b/src/live_effects/effect.h index f5e41d50e..c34c391c0 100644 --- a/src/live_effects/effect.h +++ b/src/live_effects/effect.h @@ -94,7 +94,7 @@ public: virtual void doEffect (SPCurve * curve); virtual Gtk::Widget * newWidget(); - + virtual Gtk::Widget * defaultParamSet(); /** * Sets all parameters to their default values and writes them to SVG. */ @@ -172,13 +172,15 @@ protected: // this boolean defaults to false, it concatenates the input path to one pwd2, // instead of normally 'splitting' the path into continuous pwd2 paths and calling doEffect_pwd2 for each. bool concatenate_before_pwd2; - SPLPEItem * sp_lpe_item; // these get stored in doBeforeEffect_impl, and derived classes may do as they please with them. SPShape * sp_shape; // these get stored in doBeforeEffect_impl before doEffect chain, or in performPathEffects on groups, and derived classes may do as they please with them. std::vector<const char *> items; double current_zoom; std::vector<Geom::Point> selectedNodesPoints; + private: + void setDefaultParam(Glib::ustring pref_path, gchar * value, Gtk::Button *set , Gtk::Button *unset); + void unsetDefaultParam(Glib::ustring pref_path, Gtk::Button *set , Gtk::Button *unset); bool provides_own_flash_paths; // if true, the standard flash path is suppressed bool is_ready; |
