X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fpublic_editor.cc;h=6ac0ba358b9bc116ff020e9d90f210ca858c7f26;hb=fdf63ace6a655f772a46e73719de14f9dd6fb940;hp=36d51d97a17f8df2ad917c3b79316ff6d0e8db08;hpb=cdc2d055f1ede3d9565dbf2b2d1abbf87a1f622c;p=ardour.git diff --git a/gtk2_ardour/public_editor.cc b/gtk2_ardour/public_editor.cc index 36d51d97a1..6ac0ba358b 100644 --- a/gtk2_ardour/public_editor.cc +++ b/gtk2_ardour/public_editor.cc @@ -1,10 +1,38 @@ +/* + Copyright (C) 2000-2007 Paul Davis + + 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 "public_editor.h" -#include "editor.h" + +#include "pbd/i18n.h" PublicEditor* PublicEditor::_instance = 0; -PublicEditor::PublicEditor () - : Window (Gtk::WINDOW_TOPLEVEL) +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; + +sigc::signal PublicEditor::DropDownKeys; + +PublicEditor::PublicEditor (Gtk::Widget& content) + : Tabbable (content, _("Editor")) + , _suspend_route_redisplay_counter (0) { }