summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_controller.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-07-23 19:44:45 +0200
committerRobin Gareus <robin@gareus.org>2017-07-24 01:59:03 +0200
commit25df9f1ba5c65fbe89cafffd1dc02dc44e60ec77 (patch)
tree6f04127c629e95401f2d219fdf68b3bfcec7b3ca /gtk2_ardour/automation_controller.cc
parent183351f33359b0d110dcc12a8121b6fac112bc14 (diff)
Start/end touch for generic-UI knob and proc-box inline ctrls
Diffstat (limited to 'gtk2_ardour/automation_controller.cc')
-rw-r--r--gtk2_ardour/automation_controller.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/automation_controller.cc b/gtk2_ardour/automation_controller.cc
index fb7a75f4b6..c151b72d14 100644
--- a/gtk2_ardour/automation_controller.cc
+++ b/gtk2_ardour/automation_controller.cc
@@ -98,6 +98,8 @@ AutomationController::AutomationController(boost::shared_ptr<AutomationControl>
knob->set_controllable (ac);
knob->set_name("processor control knob");
_widget = knob;
+ knob->StartGesture.connect(sigc::mem_fun(*this, &AutomationController::start_touch));
+ knob->StopGesture.connect(sigc::mem_fun(*this, &AutomationController::end_touch));
} else {
AutomationBarController* bar = manage(new AutomationBarController(ac, adj));