summaryrefslogtreecommitdiffstats
path: root/src/progs/ingenuity/ControlGroups.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-09-14 02:27:02 +0000
committerDavid Robillard <d@drobilla.net>2006-09-14 02:27:02 +0000
commitcc384f6f622cc10fd83616256080b80dc2123aaf (patch)
tree9a5f0d7f14e04ad7effcda8be6b5924b4d61e361 /src/progs/ingenuity/ControlGroups.cpp
parent5525b33b79b7a920cf374704e67fc6b16fe5f77c (diff)
downloadingen-cc384f6f622cc10fd83616256080b80dc2123aaf.tar.gz
ingen-cc384f6f622cc10fd83616256080b80dc2123aaf.tar.bz2
ingen-cc384f6f622cc10fd83616256080b80dc2123aaf.zip
Cleaned up client-side model code significantly (made everything private
so only Store can change the state of models). Extremely broken, just committing to move code between machines :). git-svn-id: http://svn.drobilla.net/lad/ingen@133 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/ingenuity/ControlGroups.cpp')
-rw-r--r--src/progs/ingenuity/ControlGroups.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/progs/ingenuity/ControlGroups.cpp b/src/progs/ingenuity/ControlGroups.cpp
index 06f49f86..9b809cff 100644
--- a/src/progs/ingenuity/ControlGroups.cpp
+++ b/src/progs/ingenuity/ControlGroups.cpp
@@ -247,7 +247,7 @@ SliderControlGroup::update_value_from_slider()
m_enable_signal = false;
m_value_spinner.set_value(value);
m_control_panel->value_changed(m_port_model->path(), value);
- m_port_model->value(value);
+ //m_port_model->value(value);
m_enable_signal = true;
}
}
@@ -273,7 +273,7 @@ SliderControlGroup::update_value_from_spinner()
m_control_panel->value_changed(m_port_model->path(), value);
- m_port_model->value(value);
+ //m_port_model->value(value);
m_enable_signal = true;
}
}
@@ -369,7 +369,7 @@ IntegerControlGroup::update_value()
if (m_enable_signal) {
float value = m_spinner.get_value();
m_control_panel->value_changed(m_port_model->path(), value);
- m_port_model->value(value);
+ //m_port_model->value(value);
}
}
@@ -440,7 +440,7 @@ ToggleControlGroup::update_value()
if (m_enable_signal) {
float value = m_checkbutton.get_active() ? 1.0f : 0.0f;
m_control_panel->value_changed(m_port_model->path(), value);
- m_port_model->value(value);
+ //m_port_model->value(value);
}
}