skeleton for dsp stats window
This commit is contained in:
49
gtk2_ardour/dsp_stats_window.cc
Normal file
49
gtk2_ardour/dsp_stats_window.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright (C) 2021 Paul Davis <paul@linuxaudiosystems.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "dsp_stats_window.h"
|
||||
|
||||
#include "pbd/i18n.h"
|
||||
|
||||
using namespace ARDOUR;
|
||||
using namespace Gtkmm2ext;
|
||||
using namespace Gtk;
|
||||
|
||||
DspStatisticsWindow::DspStatisticsWindow()
|
||||
: ArdourWindow (_("Performance Meters"))
|
||||
{
|
||||
}
|
||||
|
||||
DspStatisticsWindow::~DspStatisticsWindow ()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
DspStatisticsWindow::set_session (Session* s)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
DspStatisticsWindow::on_show ()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
DspStatisticsWindow::on_hide ()
|
||||
{
|
||||
}
|
||||
44
gtk2_ardour/dsp_stats_window.h
Normal file
44
gtk2_ardour/dsp_stats_window.h
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright (C) 2021 Paul Davis <paul@linuxaudiosystems.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#ifndef __ardour_dspstats_window_h__
|
||||
#define __ardour_dspstats_window_h__
|
||||
|
||||
|
||||
#include "ardour_window.h"
|
||||
|
||||
class PluginLoadStatsGui;
|
||||
|
||||
class DspStatisticsWindow : public ArdourWindow
|
||||
{
|
||||
public:
|
||||
DspStatisticsWindow ();
|
||||
~DspStatisticsWindow ();
|
||||
|
||||
void set_session (ARDOUR::Session*);
|
||||
|
||||
protected:
|
||||
|
||||
void on_show ();
|
||||
void on_hide ();
|
||||
|
||||
private:
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -73,6 +73,7 @@ gtk2_ardour_sources = [
|
||||
'curvetest.cc',
|
||||
'debug.cc',
|
||||
'dsp_stats_ui.cc',
|
||||
'dsp_stats_window.cc',
|
||||
'duplicate_routes_dialog.cc',
|
||||
'edit_note_dialog.cc',
|
||||
'editing.cc',
|
||||
|
||||
Reference in New Issue
Block a user