add keyfowarding to performance meters window
This commit is contained in:
parent
2344053276
commit
c32c31f215
@ -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);
|
||||
}
|
||||
|
@ -34,6 +34,9 @@ public:
|
||||
void start_updating ();
|
||||
void stop_updating ();
|
||||
|
||||
protected:
|
||||
bool on_key_press_event (GdkEventKey*);
|
||||
|
||||
private:
|
||||
void update ();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user