/[svn]/gigedit/trunk/src/gigedit/paramedit.h
ViewVC logotype

Diff of /gigedit/trunk/src/gigedit/paramedit.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3328 by schoenebeck, Fri May 5 18:44:59 2017 UTC revision 3329 by schoenebeck, Sun Jul 23 18:31:53 2017 UTC
# Line 291  public: Line 291  public:
291      }      }
292  };  };
293    
294    class BoolBox : public Gtk::CheckButton {
295    public:
296        BoolBox(const char* labelText) : Gtk::CheckButton(labelText) {
297            signal_toggled().connect(sig_changed.make_slot());
298        }
299        bool get_value() const { return get_active(); }
300        void set_value(bool value) { set_active(value); }
301        sigc::signal<void>& signal_value_changed() { return sig_changed; }
302    protected:
303        sigc::signal<void> sig_changed;
304    };
305    
306    
307  class BoolEntryPlus6 : public LabelWidget {  class BoolEntryPlus6 : public LabelWidget {
308  private:  private:

Legend:
Removed from v.3328  
changed lines
  Added in v.3329

  ViewVC Help
Powered by ViewVC