13
0

add keyfowarding to performance meters window

This commit is contained in:
Paul Davis 2021-06-28 18:28:06 -06:00
parent 2344053276
commit c32c31f215
2 changed files with 12 additions and 0 deletions

View File

@ -26,8 +26,10 @@
#include "widgets/tooltips.h"
#include "ardour_ui.h"
#include "dsp_stats_ui.h"
#include "timers.h"
#include "utils.h"
#include "pbd/i18n.h"
@ -282,3 +284,10 @@ DspStatisticsGUI::update ()
ArdourWidgets::set_tooltip (labels[AudioEngine::NTT + Session::OverallProcess], "");
}
}
bool
DspStatisticsGUI::on_key_press_event (GdkEventKey* ev)
{
Gtk::Window& main_window (ARDOUR_UI::instance()->main_window());
return ARDOUR_UI_UTILS::relay_key_press (ev, &main_window);
}

View File

@ -34,6 +34,9 @@ public:
void start_updating ();
void stop_updating ();
protected:
bool on_key_press_event (GdkEventKey*);
private:
void update ();