summaryrefslogtreecommitdiff
path: root/plugingui/plugingui.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-09-28 17:12:32 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2015-09-28 17:12:32 +0200
commit5a0963274b2f21590fc72610ff49bba33145d161 (patch)
tree1affb5eb7953041013095709d4fde447fca23854 /plugingui/plugingui.cc
parent1c9341fbe0b27fd7457aecedf4d98fb6d02c236a (diff)
Completely rewrite Notifier to work with gcc-5.2. Greatly inspired by the lsignal project.
Diffstat (limited to 'plugingui/plugingui.cc')
-rw-r--r--plugingui/plugingui.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/plugingui/plugingui.cc b/plugingui/plugingui.cc
index 262b34b..49dce85 100644
--- a/plugingui/plugingui.cc
+++ b/plugingui/plugingui.cc
@@ -353,8 +353,7 @@ void PluginGUI::init()
//velocityCheck->setText("Enable Velocity Modifier");
velocityCheck->move(26, y + OFFSET4);
velocityCheck->resize(59,38);
- obj_connect(velocityCheck, stateChangedNotifier,
- this, PluginGUI::velocityCheckClick);
+ CONNECT(velocityCheck, stateChangedNotifier, this, &PluginGUI::velocityCheckClick);
// Velocity Weight Modifier:
{
@@ -366,8 +365,7 @@ void PluginGUI::init()
attackKnob = new Knob(window);
attackKnob->move(109, y + OFFSET4 - 4);
attackKnob->resize(57, 57);
- obj_connect(attackKnob, valueChangedNotifier,
- this, PluginGUI::attackValueChanged);
+ CONNECT(attackKnob, valueChangedNotifier, this, &PluginGUI::attackValueChanged);
}
// Velocity Falloff Modifier:
@@ -380,8 +378,8 @@ void PluginGUI::init()
falloffKnob = new Knob(window);
falloffKnob->move(202 - 13 - 5, y + OFFSET4 - 4);
falloffKnob->resize(57, 57);
- obj_connect(falloffKnob, valueChangedNotifier,
- this, PluginGUI::falloffValueChanged); }
+ CONNECT(falloffKnob, valueChangedNotifier, this, &PluginGUI::falloffValueChanged);
+ }
}
VerticalLine *l2 = new VerticalLine(window);