summaryrefslogtreecommitdiffstats
path: root/src/progs/ingenuity/ControlPanel.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-06-22 08:03:12 +0000
committerDavid Robillard <d@drobilla.net>2006-06-22 08:03:12 +0000
commit03aa3b084fe3d97f62b67867085c04a23402397e (patch)
treee310d4e54c41c0f2d0a9aac1722d93fb01c6e2fd /src/progs/ingenuity/ControlPanel.h
parentc3dc3ff5a5465ed59b0a8b36eb234130dbf0a9d6 (diff)
downloadingen-03aa3b084fe3d97f62b67867085c04a23402397e.tar.gz
ingen-03aa3b084fe3d97f62b67867085c04a23402397e.tar.bz2
ingen-03aa3b084fe3d97f62b67867085c04a23402397e.zip
More port controls fixes/cleanups
git-svn-id: http://svn.drobilla.net/lad/ingen@78 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/ingenuity/ControlPanel.h')
-rw-r--r--src/progs/ingenuity/ControlPanel.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/progs/ingenuity/ControlPanel.h b/src/progs/ingenuity/ControlPanel.h
index bae13c6c..77628156 100644
--- a/src/progs/ingenuity/ControlPanel.h
+++ b/src/progs/ingenuity/ControlPanel.h
@@ -71,19 +71,19 @@ public:
size_t num_controls() const { return m_controls.size(); }
pair<int,int> ideal_size() const { return m_ideal_size; }
- // Callback for ControlGroup
+ // Callback for ControlGroup (FIXME: ugly)
void value_changed(const Path& port_path, float val);
- inline void set_control(const Path& port_path, float value);
- void set_range_min(const Path& port_path, float value);
- void set_range_max(const Path& port_path, float value);
+ //inline void set_control(const Path& port_path, float value);
+ //void set_range_min(const Path& port_path, float value);
+ //void set_range_max(const Path& port_path, float value);
private:
void all_voices_selected();
void specific_voice_selected();
void voice_selected();
- bool m_callback_enabled;
+ bool m_callback_enabled;
pair<int,int> m_ideal_size;
@@ -101,6 +101,7 @@ private:
* Profiling has shown this is performance critical. Needs to be made
* faster.
*/
+/*
inline void
ControlPanel::set_control(const Path& port_path, const float val)
{
@@ -122,7 +123,7 @@ ControlPanel::set_control(const Path& port_path, const float val)
cerr << "[ControlPanel::set_control] Unable to find control " << port_path << endl;
m_callback_enabled = true;
}
-
+*/
} // namespace OmGtk