ardour/gtk2_ardour/marker_inspector_dialog.cc

54 lines
1.8 KiB
C++
Raw Normal View History

2014-12-03 00:37:14 +02:00
/*
Copyright (C) 2014 Waves Audio Ltd.
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., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "marker_inspector_dialog.h"
#include "waves_button.h"
#include "i18n.h"
using namespace Gtk;
using namespace Gtkmm2ext;
using namespace PBD;
using namespace Glib;
MarkerInspectorDialog::MarkerInspectorDialog ()
: WavesUI ("marker_inspector_dialog.xml", *this)
, _empty_panel (get_container ("empty_panel"))
, _inspector_panel (get_container ("inspector_panel"))
, _location_name (get_label ("location_name"))
2014-12-05 11:59:51 +02:00
, _program_change_on_button (get_waves_button ("program_change_on_button"))
, _program_change_off_button (get_waves_button ("program_change_off_button"))
, _program_change_info_panel (get_container ("program_change_info_panel"))
, _bank_dropdown (get_waves_dropdown ("bank_dropdown"))
, _program_dropdown (get_waves_dropdown ("program_dropdown"))
, _channel_dropdown (get_waves_dropdown ("channel_dropdown"))
2014-12-03 00:37:14 +02:00
, _marker (0)
{
_init ();
}
MarkerInspectorDialog::~MarkerInspectorDialog ()
{
}
void
MarkerInspectorDialog::on_realize ()
{
Gtk::Window::on_realize();
2014-12-05 11:59:51 +02:00
get_window()->set_decorations (Gdk::WMDecoration (Gdk::DECOR_TITLE|Gdk::DECOR_MENU));
2014-12-03 00:37:14 +02:00
}