diff options
author | Robin Gareus <robin@gareus.org> | 2020-05-12 20:49:10 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-05-12 21:10:28 +0200 |
commit | 5120b650c5ec6cb25099976e5476934cb969d7cf (patch) | |
tree | ba01da64e9ceb089cdd091cc7988ae8e99337c89 /gtk2_ardour/transport_masters_dialog.h | |
parent | 48886565cf3bc02e0508d2cc485be4f62289f6da (diff) |
TMM dialog: fix rendering performance
This removes expensive markup parsing and directly sets
timecode and delta-time as plain text. The Labels use the
main clock's color schema, and dedicated ArdourMono font.
Diffstat (limited to 'gtk2_ardour/transport_masters_dialog.h')
-rw-r--r-- | gtk2_ardour/transport_masters_dialog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/transport_masters_dialog.h b/gtk2_ardour/transport_masters_dialog.h index 2c51fd914d..d678413f7f 100644 --- a/gtk2_ardour/transport_masters_dialog.h +++ b/gtk2_ardour/transport_masters_dialog.h @@ -77,6 +77,8 @@ class TransportMastersWidget : public Gtk::VBox, public ARDOUR::SessionHandlePtr struct Row : sigc::trackable, PBD::ScopedConnectionList { TransportMastersWidget& parent; Gtk::EventBox label_box; + Gtk::EventBox current_box; + Gtk::EventBox last_box; Gtk::Label label; Gtk::Label type; Gtk::Label format; |