2 * Copyright (C) 2076 Robin Gareus <robin@gareus.org>
3 * Copyright (C) 2011 Paul Davis
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #ifndef __ardour_idle_o_meter_h__
21 #define __ardour_idle_o_meter_h__
23 #include <gtkmm/label.h>
24 #include "ardour_dialog.h"
26 class IdleOMeter : public ArdourDialog
33 virtual void on_show ();
34 virtual void on_hide ();
40 Gtk::Label _label_cur;
41 Gtk::Label _label_min;
42 Gtk::Label _label_max;
43 Gtk::Label _label_avg;
44 Gtk::Label _label_dev;
45 Gtk::Label _label_acq;
47 int64_t _last_display;
56 double _var_m, _var_s;
57 sigc::connection _idle_connection;