diff options
author | Carl Hetherington <carl@carlh.net> | 2009-06-29 01:07:37 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-06-29 01:07:37 +0000 |
commit | 48fc492253cdbde32979c1dd0dbc1dcb829f802c (patch) | |
tree | 27273fb5885788db4da3272140f4dbad2c955eaa /gtk2_ardour/route_group_dialog.h | |
parent | 26328c9ef1d010e8cd4672407f0a2b08c5f49e20 (diff) |
Apply tinram's patch from mantis 2758.
git-svn-id: svn://localhost/ardour2/branches/3.0@5296 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_group_dialog.h')
-rw-r--r-- | gtk2_ardour/route_group_dialog.h | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/gtk2_ardour/route_group_dialog.h b/gtk2_ardour/route_group_dialog.h index 3bcd2b762f..e35a42f648 100644 --- a/gtk2_ardour/route_group_dialog.h +++ b/gtk2_ardour/route_group_dialog.h @@ -1,3 +1,22 @@ +/* + Copyright (C) 2009 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. + +*/ + #ifndef __gtk_ardour_route_group_dialog_h__ #define __gtk_ardour_route_group_dialog_h__ @@ -5,7 +24,9 @@ #include <gtkmm/entry.h> #include <gtkmm/checkbutton.h> -class RouteGroupDialog : public Gtk::Dialog +#include "ardour_dialog.h" + +class RouteGroupDialog : public ArdourDialog { public: RouteGroupDialog (ARDOUR::RouteGroup *, Gtk::StockID const &); @@ -14,6 +35,7 @@ public: private: ARDOUR::RouteGroup* _group; + Gtk::Entry _name; Gtk::CheckButton _active; Gtk::CheckButton _gain; @@ -23,6 +45,8 @@ private: Gtk::CheckButton _rec_enable; Gtk::CheckButton _select; Gtk::CheckButton _edit; + + void gain_toggled (); }; |