summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/bool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/parameter/bool.h')
-rw-r--r--src/live_effects/parameter/bool.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/live_effects/parameter/bool.h b/src/live_effects/parameter/bool.h
index 403dd0b87..417752050 100644
--- a/src/live_effects/parameter/bool.h
+++ b/src/live_effects/parameter/bool.h
@@ -25,8 +25,7 @@ public:
const Glib::ustring& key,
Inkscape::UI::Widget::Registry* wr,
Effect* effect,
- bool default_value = false,
- bool no_widget = false);
+ bool default_value = false);
virtual ~BoolParam();
virtual Gtk::Widget * param_newWidget();
@@ -36,9 +35,9 @@ public:
void param_setValue(bool newvalue);
virtual void param_set_default();
-
+ void param_update_default(bool const default_value);
+ virtual void param_update_default(const gchar * default_value);
bool get_value() const { return value; };
-
inline operator bool() const { return value; };
private:
@@ -47,7 +46,6 @@ private:
bool value;
bool defvalue;
- bool hide_widget;
};