mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 19:56:31 +01:00
Remove redundant calls to start/end_touch.
The controllers do this automatically.
This commit is contained in:
parent
358ebde106
commit
e3da7aff8c
2 changed files with 0 additions and 17 deletions
|
|
@ -708,9 +708,6 @@ GenericPluginUI::build_control_ui (const Evoral::Parameter& param,
|
|||
control_ui->controller->set_size_request (200, req.height);
|
||||
control_ui->controller->set_name (X_("ProcessorControlSlider"));
|
||||
|
||||
control_ui->controller->StartGesture.connect (sigc::bind (sigc::mem_fun(*this, &GenericPluginUI::start_touch), control_ui));
|
||||
control_ui->controller->StopGesture.connect (sigc::bind (sigc::mem_fun(*this, &GenericPluginUI::stop_touch), control_ui));
|
||||
|
||||
}
|
||||
|
||||
adj->set_value (mcontrol->internal_to_interface(value));
|
||||
|
|
@ -805,18 +802,6 @@ GenericPluginUI::build_control_ui (const Evoral::Parameter& param,
|
|||
return control_ui;
|
||||
}
|
||||
|
||||
void
|
||||
GenericPluginUI::start_touch (GenericPluginUI::ControlUI* cui)
|
||||
{
|
||||
cui->control->start_touch (cui->control->session().transport_frame());
|
||||
}
|
||||
|
||||
void
|
||||
GenericPluginUI::stop_touch (GenericPluginUI::ControlUI* cui)
|
||||
{
|
||||
cui->control->stop_touch (false, cui->control->session().transport_frame());
|
||||
}
|
||||
|
||||
void
|
||||
GenericPluginUI::astate_clicked (ControlUI* cui)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -287,8 +287,6 @@ class GenericPluginUI : public PlugUIBase, public Gtk::VBox
|
|||
void astate_clicked (ControlUI*);
|
||||
void automation_state_changed (ControlUI*);
|
||||
void set_automation_state (ARDOUR::AutoState state, ControlUI* cui);
|
||||
void start_touch (ControlUI*);
|
||||
void stop_touch (ControlUI*);
|
||||
void set_all_automation (ARDOUR::AutoState state);
|
||||
|
||||
/* XXX: remove */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue