2009-06-28 21:07:37 -04:00
|
|
|
/*
|
2019-08-02 17:26:43 -04:00
|
|
|
* Copyright (C) 2009-2011 Carl Hetherington <carl@carlh.net>
|
|
|
|
* Copyright (C) 2009-2014 David Robillard <d@drobilla.net>
|
|
|
|
* Copyright (C) 2009-2016 Paul Davis <paul@linuxaudiosystems.com>
|
|
|
|
* Copyright (C) 2014-2017 Robin Gareus <robin@gareus.org>
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
2009-06-28 21:07:37 -04:00
|
|
|
|
2009-06-20 11:40:26 -04:00
|
|
|
#ifndef __gtk_ardour_route_group_dialog_h__
|
|
|
|
#define __gtk_ardour_route_group_dialog_h__
|
|
|
|
|
|
|
|
#include <gtkmm/dialog.h>
|
|
|
|
#include <gtkmm/entry.h>
|
|
|
|
#include <gtkmm/checkbutton.h>
|
|
|
|
|
2009-06-28 21:07:37 -04:00
|
|
|
#include "ardour_dialog.h"
|
2017-03-30 09:21:06 -04:00
|
|
|
#include "stripable_colorpicker.h"
|
2009-06-28 21:07:37 -04:00
|
|
|
|
|
|
|
class RouteGroupDialog : public ArdourDialog
|
2009-06-20 11:40:26 -04:00
|
|
|
{
|
|
|
|
public:
|
2011-01-07 21:35:46 -05:00
|
|
|
RouteGroupDialog (ARDOUR::RouteGroup *, bool);
|
2009-06-20 11:40:26 -04:00
|
|
|
|
2016-06-11 15:49:18 -04:00
|
|
|
ARDOUR::RouteGroup* group() const { return _group; }
|
2016-06-12 14:33:18 -04:00
|
|
|
bool name_check () const;
|
2011-06-01 13:00:29 -04:00
|
|
|
|
2009-10-14 12:10:01 -04:00
|
|
|
private:
|
2009-06-20 11:40:26 -04:00
|
|
|
ARDOUR::RouteGroup* _group;
|
2011-01-07 21:35:46 -05:00
|
|
|
std::string _initial_name;
|
2009-06-28 21:07:37 -04:00
|
|
|
|
2009-06-20 11:40:26 -04:00
|
|
|
Gtk::Entry _name;
|
|
|
|
Gtk::CheckButton _active;
|
2009-06-21 15:59:56 -04:00
|
|
|
Gtk::CheckButton _gain;
|
2009-06-23 17:29:39 -04:00
|
|
|
Gtk::CheckButton _relative;
|
2009-06-21 15:59:56 -04:00
|
|
|
Gtk::CheckButton _mute;
|
|
|
|
Gtk::CheckButton _solo;
|
|
|
|
Gtk::CheckButton _rec_enable;
|
|
|
|
Gtk::CheckButton _select;
|
|
|
|
Gtk::CheckButton _edit;
|
2011-01-10 18:37:34 -05:00
|
|
|
Gtk::CheckButton _route_active;
|
2011-08-31 15:14:12 -04:00
|
|
|
Gtk::CheckButton _share_color;
|
2011-10-21 11:47:50 -04:00
|
|
|
Gtk::CheckButton _share_monitoring;
|
2017-03-30 09:21:06 -04:00
|
|
|
ArdourColorButton _color;
|
2009-06-28 21:07:37 -04:00
|
|
|
|
|
|
|
void gain_toggled ();
|
2011-01-07 21:35:46 -05:00
|
|
|
void update ();
|
2014-06-30 12:25:11 -04:00
|
|
|
bool unique_name (std::string const name) const;
|
2009-06-20 11:40:26 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|