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
29
class
DspStatisticsGUI
:
public
Gtk::VBox
,
public
ARDOUR::SessionHandlePtr
30
{
31
public
:
32
DspStatisticsGUI
();
33
34
void
start_updating
();
35
void
stop_updating
();
36
37
protected
:
38
bool
on_key_press_event
(
GdkEventKey
*);
39
40
private
:
41
void
update
();
42
43
sigc::connection
update_connection
;
44
45
Gtk::Table
table
;
46
Gtk::Label
buffer_size_label
;
47
Gtk::Label
**
labels
;
48
Gtk::Button
reset_button
;
49
Gtk::Label
info_text
;
50
51
void
reset_button_clicked
();
52
53
};
54
55
#endif
ARDOUR::SessionHandlePtr
Definition:
session_handle.h:46
DspStatisticsGUI
Definition:
dsp_stats_ui.h:30
DspStatisticsGUI::on_key_press_event
bool on_key_press_event(GdkEventKey *)
This is a default handler for the signal signal_key_press_event().
DspStatisticsGUI::reset_button_clicked
void reset_button_clicked()
DspStatisticsGUI::stop_updating
void stop_updating()
DspStatisticsGUI::DspStatisticsGUI
DspStatisticsGUI()
DspStatisticsGUI::labels
Gtk::Label ** labels
Definition:
dsp_stats_ui.h:47
DspStatisticsGUI::table
Gtk::Table table
Definition:
dsp_stats_ui.h:45
DspStatisticsGUI::update_connection
sigc::connection update_connection
Definition:
dsp_stats_ui.h:43
DspStatisticsGUI::start_updating
void start_updating()
DspStatisticsGUI::info_text
Gtk::Label info_text
Definition:
dsp_stats_ui.h:49
DspStatisticsGUI::update
void update()
DspStatisticsGUI::buffer_size_label
Gtk::Label buffer_size_label
Definition:
dsp_stats_ui.h:46
DspStatisticsGUI::reset_button
Gtk::Button reset_button
Definition:
dsp_stats_ui.h:48
Gtk::Button
Definition:
tk/ytkmm/ytkmm/gtkmm/button.h:60
Gtk::Label
Definition:
label.h:55
Gtk::Table
Definition:
tk/ytkmm/ytkmm/gtkmm/table.h:184
Gtk::VBox
Definition:
tk/ytkmm/ytkmm/gtkmm/box.h:505
label.h
session_handle.h
_GdkEventKey
Definition:
gdkevents.h:368
box.h
button.h
table.h
gtk2_ardour
dsp_stats_ui.h
Generated on Wed Dec 25 2024 05:44:11 for Ardour by
1.9.1