2 * Copyright (C) 2009-2011 Carl Hetherington <carl@carlh.net>
3 * Copyright (C) 2009-2014 David Robillard <d@drobilla.net>
4 * Copyright (C) 2009-2016 Paul Davis <paul@linuxaudiosystems.com>
5 * Copyright (C) 2014-2017 Robin Gareus <robin@gareus.org>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License along
18 * with this program; if not, write to the Free Software Foundation, Inc.,
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 #ifndef __gtk_ardour_route_group_dialog_h__
23 #define __gtk_ardour_route_group_dialog_h__
25 #include <gtkmm/dialog.h>
26 #include <gtkmm/entry.h>
27 #include <gtkmm/checkbutton.h>
29 #include "ardour_dialog.h"
30 #include "stripable_colorpicker.h"
32 class RouteGroupDialog : public ArdourDialog
35 RouteGroupDialog (ARDOUR::RouteGroup *, bool);
37 ARDOUR::RouteGroup* group() const { return _group; }
38 bool name_check () const;
41 ARDOUR::RouteGroup* _group;
42 std::string _initial_name;
45 Gtk::CheckButton _active;
46 Gtk::CheckButton _gain;
47 Gtk::CheckButton _relative;
48 Gtk::CheckButton _mute;
49 Gtk::CheckButton _solo;
50 Gtk::CheckButton _rec_enable;
51 Gtk::CheckButton _select;
52 Gtk::CheckButton _edit;
53 Gtk::CheckButton _route_active;
54 Gtk::CheckButton _share_color;
55 Gtk::CheckButton _share_monitoring;
56 ArdourColorButton _color;
60 bool unique_name (std::string const name) const;