mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
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.
This commit is contained in:
parent
69ecb0db70
commit
5aecfc5acb
5 changed files with 47 additions and 30 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue