diff options
author | Robin Gareus <robin@gareus.org> | 2018-09-25 00:12:42 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-09-25 00:13:08 +0200 |
commit | d71dfdfd6a0c49014ff422cd65048a13ded3b3e5 (patch) | |
tree | 897b16eb690293e870b785a7bf9ece9210088eb0 /gtk2_ardour/plugin_dspload_ui.cc | |
parent | f7b93ee7b947ea1932b3c2ede6af19abb04a2555 (diff) |
Add a window that shows DSP usage of all plugins
Currently hidden, use
Editor:access_action("Window", "toggle-plugin-dsp-load")
Diffstat (limited to 'gtk2_ardour/plugin_dspload_ui.cc')
-rw-r--r-- | gtk2_ardour/plugin_dspload_ui.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/plugin_dspload_ui.cc b/gtk2_ardour/plugin_dspload_ui.cc index 3f7f5398ea..c9d32932eb 100644 --- a/gtk2_ardour/plugin_dspload_ui.cc +++ b/gtk2_ardour/plugin_dspload_ui.cc @@ -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); |