Ardour  9.0-pre0-582-g084a23a80d
dsp_stats_ui.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2021 Paul Davis <paul@linuxaudiosystems.com>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18 
19 #ifndef _gtkardour_dspstats_ui_h_
20 #define _gtkardour_dspstats_ui_h_
21 
22 #include <gtkmm/button.h>
23 #include <gtkmm/box.h>
24 #include <gtkmm/table.h>
25 #include <gtkmm/label.h>
26 
27 #include "ardour/session_handle.h"
28 
30 {
31 public:
33 
34  void start_updating ();
35  void stop_updating ();
36 
37 protected:
39 
40 private:
41  void update ();
42 
43  sigc::connection update_connection;
44 
50 
52 
53 };
54 
55 #endif
bool on_key_press_event(GdkEventKey *)
This is a default handler for the signal signal_key_press_event().
void reset_button_clicked()
Gtk::Label ** labels
Definition: dsp_stats_ui.h:47
Gtk::Table table
Definition: dsp_stats_ui.h:45
sigc::connection update_connection
Definition: dsp_stats_ui.h:43
Gtk::Label info_text
Definition: dsp_stats_ui.h:49
Gtk::Label buffer_size_label
Definition: dsp_stats_ui.h:46
Gtk::Button reset_button
Definition: dsp_stats_ui.h:48