Ardour  9.0-pre0-582-g084a23a80d
route_group_dialog.h
Go to the documentation of this file.
1 /*
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>
6  *
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.
11  *
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.
16  *
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.
20  */
21 
22 #pragma once
23 
24 #include <gtkmm/dialog.h>
25 #include <gtkmm/entry.h>
26 #include <gtkmm/checkbutton.h>
27 
28 #include "ardour_dialog.h"
29 #include "stripable_colorpicker.h"
30 
31 namespace ARDOUR {
32  class RouteGroup;
33 }
34 
36 {
37 public:
39 
40  ARDOUR::RouteGroup* group() const { return _group; }
41  bool name_check () const;
42 
43 private:
45  std::string _initial_name;
46 
61 
62  void gain_toggled ();
63  void update ();
64  bool unique_name (std::string const name) const;
65 
67 };
68 
Gtk::CheckButton _route_active
Gtk::CheckButton _relative
Gtk::CheckButton _share_monitoring
ARDOUR::RouteGroup * group() const
Gtk::CheckButton _sursend_enable
ARDOUR::RouteGroup * _group
Gtk::CheckButton _mute
ArdourColorButton _color
Gtk::CheckButton _gain
std::string _initial_name
Gtk::CheckButton _edit
Gtk::CheckButton _solo
Gtk::CheckButton _active
Gtk::CheckButton _rec_enable
RouteGroupDialog(ARDOUR::RouteGroup *, bool)
Gtk::CheckButton _select
PBD::ScopedConnection _group_connection
bool unique_name(std::string const name) const
bool name_check() const
Gtk::CheckButton _share_color
GtkImageIconNameData name
Definition: gtkimage.h:6