2009-06-28 21:07:37 -04:00
|
|
|
/*
|
2009-10-14 12:10:01 -04:00
|
|
|
Copyright (C) 2009 Paul Davis
|
2009-06-28 21:07:37 -04:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
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>
|
2011-08-30 05:48:53 -04:00
|
|
|
#include <gtkmm/colorbutton.h>
|
2009-06-20 11:40:26 -04:00
|
|
|
|
2009-06-28 21:07:37 -04:00
|
|
|
#include "ardour_dialog.h"
|
|
|
|
|
|
|
|
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
|
|
|
|
2011-01-07 21:35:46 -05:00
|
|
|
bool do_run ();
|
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-01-07 21:35:46 -05:00
|
|
|
Gtk::Button* _ok;
|
2011-08-30 05:48:53 -04:00
|
|
|
Gtk::ColorButton _color;
|
2009-06-28 21:07:37 -04:00
|
|
|
|
|
|
|
void gain_toggled ();
|
2011-01-07 21:35:46 -05:00
|
|
|
void update ();
|
|
|
|
bool unique_name () const;
|
2009-06-20 11:40:26 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|