2007-04-26 16:54:31 -04:00
|
|
|
/*
|
2019-08-02 17:26:43 -04:00
|
|
|
* Copyright (C) 2005-2018 Paul Davis <paul@linuxaudiosystems.com>
|
|
|
|
* Copyright (C) 2005 Taybin Rutkin <taybin@taybin.com>
|
|
|
|
* Copyright (C) 2009-2012 David Robillard <d@drobilla.net>
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
2007-04-26 16:54:31 -04:00
|
|
|
|
2005-09-25 14:42:24 -04:00
|
|
|
#include "public_editor.h"
|
|
|
|
|
2016-07-14 14:44:52 -04:00
|
|
|
#include "pbd/i18n.h"
|
2015-07-07 22:12:21 -04:00
|
|
|
|
2005-09-25 14:42:24 -04:00
|
|
|
PublicEditor* PublicEditor::_instance = 0;
|
|
|
|
|
2008-09-10 11:03:30 -04:00
|
|
|
const int PublicEditor::window_border_width = 12;
|
|
|
|
const int PublicEditor::container_border_width = 12;
|
|
|
|
const int PublicEditor::vertical_spacing = 6;
|
|
|
|
const int PublicEditor::horizontal_spacing = 6;
|
|
|
|
|
2010-05-28 17:39:12 -04:00
|
|
|
sigc::signal<void> PublicEditor::DropDownKeys;
|
|
|
|
|
2022-01-18 23:05:57 -05:00
|
|
|
ARDOUR::DataType PublicEditor::pbdid_dragged_dt = ARDOUR::DataType::NIL;
|
|
|
|
|
2015-07-07 22:12:21 -04:00
|
|
|
PublicEditor::PublicEditor (Gtk::Widget& content)
|
2020-05-01 16:28:05 -04:00
|
|
|
: Tabbable (content, _("Editor"), X_("editor"))
|
2005-09-25 14:42:24 -04:00
|
|
|
{
|
2023-02-17 02:31:31 -05:00
|
|
|
_suspend_route_redisplay_counter.store (0);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
PublicEditor::~PublicEditor()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|