mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Add a window that shows DSP usage of all plugins
Currently hidden, use
Editor:access_action("Window", "toggle-plugin-dsp-load")
This commit is contained in:
parent
f7b93ee7b9
commit
d71dfdfd6a
7 changed files with 213 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ PluginLoadStatsGui::PluginLoadStatsGui (boost::shared_ptr<ARDOUR::PluginInsert>
|
|||
_reset_button.signal_clicked.connect (sigc::mem_fun (*this, &PluginLoadStatsGui::clear_stats));
|
||||
_darea.signal_expose_event ().connect (sigc::mem_fun (*this, &PluginLoadStatsGui::draw_bar));
|
||||
set_size_request_to_display_given_text (_lbl_dev, string_compose (_("%1 [ms]"), 99.123), 0, 0);
|
||||
_darea.set_size_request (360, 32); // TODO max (320, 360 * UIConfiguration::instance().get_ui_scale ())
|
||||
|
||||
attach (*manage (new Gtk::Label (_("Minimum"), ALIGN_RIGHT, ALIGN_CENTER)),
|
||||
0, 1, 0, 1, Gtk::FILL, Gtk::SHRINK, 2, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue