summaryrefslogtreecommitdiffstats
path: root/src/progs/ingenuity/ControlGroups.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-10-15 20:46:26 +0000
committerDavid Robillard <d@drobilla.net>2006-10-15 20:46:26 +0000
commit4174fb8f94139e0a38da150ffb0874b636497dfe (patch)
tree7170dd4b13ee0fe42c67aeabeef3f95437f146b2 /src/progs/ingenuity/ControlGroups.h
parent14542a4634cb211be5bdf590574ae3b8e1715486 (diff)
downloadingen-4174fb8f94139e0a38da150ffb0874b636497dfe.tar.gz
ingen-4174fb8f94139e0a38da150ffb0874b636497dfe.tar.bz2
ingen-4174fb8f94139e0a38da150ffb0874b636497dfe.zip
Fixed feedback problems (CPU chewing) with port controls.
git-svn-id: http://svn.drobilla.net/lad/ingen@176 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/ingenuity/ControlGroups.h')
-rw-r--r--src/progs/ingenuity/ControlGroups.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/progs/ingenuity/ControlGroups.h b/src/progs/ingenuity/ControlGroups.h
index 85542dbe..4994a809 100644
--- a/src/progs/ingenuity/ControlGroups.h
+++ b/src/progs/ingenuity/ControlGroups.h
@@ -54,14 +54,13 @@ public:
protected:
virtual void set_value(float value) = 0;
- virtual void set_min(float min) = 0;
- virtual void set_max(float max) = 0;
- virtual void metadata_update(const string& key, const Atom& value);
+ virtual void metadata_update(const string& key, const Atom& value) = 0;
ControlPanel* m_control_panel;
SharedPtr<PortModel> m_port_model;
bool m_has_separator;
Gtk::VSeparator* m_separator;
+ bool m_enable_signal;
};
@@ -80,6 +79,7 @@ public:
private:
void set_name(const string& name);
+ virtual void metadata_update(const string& key, const Atom& value);
inline void set_value(const float val);
void set_min(float val);
@@ -96,7 +96,6 @@ private:
bool slider_pressed(GdkEvent* ev);
bool m_enabled;
- bool m_enable_signal;
Gtk::Label* m_name_label;
Gtk::SpinButton* m_min_spinner;