diff options
author | Robin Gareus <robin@gareus.org> | 2017-07-15 20:50:26 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-07-16 16:58:00 +0200 |
commit | 5aecfc5acb41f6d05804a88b99eec159e96a66c9 (patch) | |
tree | fbe3b294fc30297e479d4c776e5fc74cb033dd34 /gtk2_ardour/processor_box.h | |
parent | 69ecb0db70996a5c1092efe712d195ffcff5e8b1 (diff) |
Remove Timers to watch Controllable values
Depend on Changed() signals alone, which are usually much less frequent
than rapid-timer events.
As side-effect we now need to make the widgets insensitive when
playing automation. Previously the user could not change the value because
the Timer periodically reset it.
Diffstat (limited to 'gtk2_ardour/processor_box.h')
-rw-r--r-- | gtk2_ardour/processor_box.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/processor_box.h b/gtk2_ardour/processor_box.h index fa614f9b6f..527eba62ae 100644 --- a/gtk2_ardour/processor_box.h +++ b/gtk2_ardour/processor_box.h @@ -219,6 +219,7 @@ private: void button_clicked (); void button_clicked_event (GdkEventButton *); void control_changed (); + void control_automation_state_changed (); std::string state_id () const; void set_tooltip (); @@ -230,10 +231,9 @@ private: /* things for a button */ ArdourButton _button; bool _ignore_ui_adjustment; - PBD::ScopedConnection _connection; + PBD::ScopedConnectionList _connections; bool _visible; std::string _name; - sigc::connection timer_connection; }; std::list<Control*> _controls; |