summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/ControlGroups.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/gui/ControlGroups.hpp')
-rw-r--r--src/libs/gui/ControlGroups.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/gui/ControlGroups.hpp b/src/libs/gui/ControlGroups.hpp
index 89f26a6b..da604f72 100644
--- a/src/libs/gui/ControlGroups.hpp
+++ b/src/libs/gui/ControlGroups.hpp
@@ -49,7 +49,7 @@ public:
inline const SharedPtr<PortModel> port_model() const { return _port_model; }
protected:
- virtual void set_value(float value) = 0;
+ virtual void set_value(const Atom& value) = 0;
virtual void set_range(float min, float max) {}
ControlPanel* _control_panel;
@@ -80,7 +80,7 @@ private:
bool clicked(GdkEventButton* ev);
- void set_value(float value);
+ void set_value(const Atom& value);
void set_range(float min, float max);
void port_variable_change(const string& key, const Raul::Atom& value);