summaryrefslogtreecommitdiffstats
path: root/src/gui/Controls.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/Controls.hpp')
-rw-r--r--src/gui/Controls.hpp15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/gui/Controls.hpp b/src/gui/Controls.hpp
index 91b737ed..1a5ee46d 100644
--- a/src/gui/Controls.hpp
+++ b/src/gui/Controls.hpp
@@ -45,8 +45,8 @@ public:
virtual void init(ControlPanel* panel, SharedPtr<Client::PortModel> pm);
- virtual void enable() = 0;
- virtual void disable() = 0;
+ void enable();
+ void disable();
inline const SharedPtr<Client::PortModel> port_model() const { return _port_model; }
@@ -78,9 +78,6 @@ public:
SliderControl(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& glade_xml);
void init(ControlPanel* panel, SharedPtr<Client::PortModel> pm);
- void enable();
- void disable();
-
void set_min(float val);
void set_max(float val);
@@ -115,12 +112,8 @@ public:
void init(ControlPanel* panel, SharedPtr<Client::PortModel> pm);
- void enable();
- void disable();
-
private:
void set_value(const Raul::Atom& value);
-
void toggled();
Gtk::CheckButton* _checkbutton;
@@ -138,12 +131,8 @@ public:
void init(ControlPanel* panel, SharedPtr<Client::PortModel> pm);
- void enable();
- void disable();
-
private:
void set_value(const Raul::Atom& value);
-
void activated();
Gtk::Entry* _entry;