Code

Make text widget for TextParams work and re-enable it
[inkscape.git] / src / live_effects / parameter / bool.h
index 400f8cc479628d592d2d3bcc527f3f5d768b85f7..8f5196dadf49da1132fd185375727f02de20bf2c 100644 (file)
@@ -31,13 +31,16 @@ public:
     virtual Gtk::Widget * param_newWidget(Gtk::Tooltips * tooltips);
 
     virtual bool param_readSVGValue(const gchar * strvalue);
-    virtual gchar * param_writeSVGValue() const;
+    virtual gchar * param_getSVGValue() const;
 
     void param_setValue(bool newvalue);
     virtual void param_set_default();
 
     bool get_value() { return value; };
 
+    inline operator bool()
+        { return value; };
+
 private:
     BoolParam(const BoolParam&);
     BoolParam& operator=(const BoolParam&);