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: |