mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
don't loose a redraw.
This more or less obsoletes the DisplaySuspender. While RAII is nice, the DisplaySuspender cannot be used from outside gtk2_ardour eg Mute/Solo signals notifications from libardour (which don't originate from the GUI). The DisplaySuspender is still useful, because it explicitly disables re-display and forces a single expose at the end.
This commit is contained in:
parent
1bb6fd752c
commit
f23f379b37
2 changed files with 50 additions and 60 deletions
|
|
@ -60,6 +60,7 @@ public:
|
|||
|
||||
private:
|
||||
void initial_display ();
|
||||
void redisplay_real ();
|
||||
void on_input_active_changed (std::string const &);
|
||||
void on_tv_rec_enable_changed (std::string const &);
|
||||
void on_tv_mute_enable_toggled (std::string const &);
|
||||
|
|
@ -152,11 +153,10 @@ private:
|
|||
|
||||
bool _ignore_reorder;
|
||||
bool _no_redisplay;
|
||||
bool _redisplaying;
|
||||
bool _redisplay_2;
|
||||
bool _adding_routes;
|
||||
bool _route_deletion_in_progress;
|
||||
int _queue_mute_rec_solo_etc;
|
||||
volatile gint _redisplay_active;
|
||||
volatile gint _queue_tv_update;
|
||||
|
||||
Gtk::Menu* _menu;
|
||||
Gtk::Widget* old_focus;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue