summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/bool.h
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-10-18 19:13:13 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-10-18 19:13:13 +0000
commit7d224d1cf9bfb0d6555721c24c06ebed11b1b15f (patch)
tree03e04552ce6e2b641ac962c8ca93f3db6fb27c58 /src/live_effects/parameter/bool.h
parentMake the handle of a dynamic offset snappable (diff)
downloadinkscape-7d224d1cf9bfb0d6555721c24c06ebed11b1b15f.tar.gz
inkscape-7d224d1cf9bfb0d6555721c24c06ebed11b1b15f.zip
Added "Spray Friendly" Parameter to roughen LPE
Adds, but not used by the moment a extra parameter to bool and scalar LPE parameter to hide the widget. This allow to store scalar values and bool values inside the LPEObject to intermediate use by the LPE, whithout disturbing to the user. (bzr r14420)
Diffstat (limited to 'src/live_effects/parameter/bool.h')
-rw-r--r--src/live_effects/parameter/bool.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/live_effects/parameter/bool.h b/src/live_effects/parameter/bool.h
index b45eeb0b3..403dd0b87 100644
--- a/src/live_effects/parameter/bool.h
+++ b/src/live_effects/parameter/bool.h
@@ -25,7 +25,8 @@ public:
const Glib::ustring& key,
Inkscape::UI::Widget::Registry* wr,
Effect* effect,
- bool default_value = false);
+ bool default_value = false,
+ bool no_widget = false);
virtual ~BoolParam();
virtual Gtk::Widget * param_newWidget();
@@ -46,6 +47,7 @@ private:
bool value;
bool defvalue;
+ bool hide_widget;
};