2005-09-25 18:42:24 +00:00
|
|
|
/*
|
2019-08-02 23:26:43 +02:00
|
|
|
* Copyright (C) 2005-2017 Paul Davis <paul@linuxaudiosystems.com>
|
|
|
|
|
* Copyright (C) 2005 Karsten Wiese <fzuuzf@googlemail.com>
|
|
|
|
|
* Copyright (C) 2005 Taybin Rutkin <taybin@taybin.com>
|
|
|
|
|
* Copyright (C) 2006-2011 David Robillard <d@drobilla.net>
|
|
|
|
|
* Copyright (C) 2009-2011 Carl Hetherington <carl@carlh.net>
|
|
|
|
|
* Copyright (C) 2013-2017 Robin Gareus <robin@gareus.org>
|
|
|
|
|
* Copyright (C) 2014-2015 Ben Loftis <ben@harrisonconsoles.com>
|
|
|
|
|
*
|
|
|
|
|
* 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.
|
|
|
|
|
*/
|
2005-09-25 18:42:24 +00:00
|
|
|
|
|
|
|
|
#ifndef __ardour_route_ui__
|
|
|
|
|
#define __ardour_route_ui__
|
|
|
|
|
|
|
|
|
|
#include <list>
|
|
|
|
|
|
2009-12-19 20:26:31 +00:00
|
|
|
#include "pbd/signals.h"
|
2021-03-27 17:58:45 +01:00
|
|
|
#include "pbd/xml++.h"
|
2009-12-17 18:24:23 +00:00
|
|
|
|
2017-03-10 23:51:39 +01:00
|
|
|
#include <gtkmm/colorselection.h>
|
2021-03-27 17:58:45 +01:00
|
|
|
#include <gtkmm/textview.h>
|
2014-07-29 16:40:19 -05:00
|
|
|
|
2011-11-02 16:46:49 +00:00
|
|
|
#include "gtkmm2ext/widget_state.h"
|
|
|
|
|
|
2009-02-25 18:26:51 +00:00
|
|
|
#include "ardour/ardour.h"
|
2009-06-09 20:21:19 +00:00
|
|
|
#include "ardour/mute_master.h"
|
2021-03-27 17:58:45 +01:00
|
|
|
#include "ardour/route.h"
|
|
|
|
|
#include "ardour/route_group.h"
|
2009-12-07 21:37:35 +00:00
|
|
|
#include "ardour/session.h"
|
2016-06-05 16:16:34 -04:00
|
|
|
#include "ardour/session_event.h"
|
|
|
|
|
#include "ardour/session_handle.h"
|
2009-02-25 18:26:51 +00:00
|
|
|
#include "ardour/track.h"
|
2005-09-25 18:42:24 +00:00
|
|
|
|
|
|
|
|
#include "axis_view.h"
|
2011-11-04 17:53:21 +00:00
|
|
|
#include "selectable.h"
|
2017-03-10 23:51:39 +01:00
|
|
|
#include "stripable_colorpicker.h"
|
2016-05-10 20:11:08 +02:00
|
|
|
#include "window_manager.h"
|
2005-09-25 18:42:24 +00:00
|
|
|
|
|
|
|
|
namespace ARDOUR {
|
|
|
|
|
class AudioTrack;
|
2006-07-05 19:47:25 +00:00
|
|
|
class MidiTrack;
|
2021-02-05 00:36:34 +01:00
|
|
|
class SoloMuteRelease;
|
2005-09-25 18:42:24 +00:00
|
|
|
}
|
|
|
|
|
|
2005-11-29 04:41:15 +00:00
|
|
|
namespace Gtk {
|
|
|
|
|
class Menu;
|
|
|
|
|
class CheckMenuItem;
|
|
|
|
|
class Widget;
|
|
|
|
|
}
|
|
|
|
|
|
2017-07-15 17:38:28 +02:00
|
|
|
namespace ArdourWidgets {
|
|
|
|
|
class ArdourButton;
|
2017-07-17 05:18:48 +02:00
|
|
|
class Prompter;
|
2017-07-15 17:38:28 +02:00
|
|
|
}
|
|
|
|
|
|
2014-07-29 16:40:19 -05:00
|
|
|
class ArdourWindow;
|
2014-08-01 13:48:33 -05:00
|
|
|
class IOSelectorWindow;
|
2017-09-09 18:25:36 +02:00
|
|
|
class PatchChangeGridDialog;
|
2021-06-07 19:19:09 -05:00
|
|
|
class PlaylistSelector;
|
2017-08-19 13:49:33 +02:00
|
|
|
class SaveTemplateDialog;
|
2006-07-14 03:43:32 +00:00
|
|
|
|
2016-05-10 20:11:08 +02:00
|
|
|
class RoutePinWindowProxy : public WM::ProxyBase
|
|
|
|
|
{
|
2017-07-01 21:11:14 +02:00
|
|
|
public:
|
2021-03-27 17:58:45 +01:00
|
|
|
RoutePinWindowProxy (std::string const&, boost::shared_ptr<ARDOUR::Route>);
|
|
|
|
|
~RoutePinWindowProxy ();
|
2016-05-10 20:11:08 +02:00
|
|
|
|
2021-03-27 17:58:45 +01:00
|
|
|
Gtk::Window* get (bool create = false);
|
|
|
|
|
ARDOUR::SessionHandlePtr* session_handle ();
|
2016-05-10 20:11:08 +02:00
|
|
|
|
2017-07-01 21:11:14 +02:00
|
|
|
private:
|
2016-05-10 20:11:08 +02:00
|
|
|
boost::weak_ptr<ARDOUR::Route> _route;
|
|
|
|
|
|
2021-03-27 17:58:45 +01:00
|
|
|
void route_going_away ();
|
2016-05-10 20:11:08 +02:00
|
|
|
PBD::ScopedConnection going_away_connection;
|
|
|
|
|
};
|
|
|
|
|
|
2017-02-24 12:53:49 +01:00
|
|
|
class RouteUI : public virtual Selectable, public virtual ARDOUR::SessionHandlePtr, public virtual PBD::ScopedConnectionList, public virtual sigc::trackable
|
2005-09-25 18:42:24 +00:00
|
|
|
{
|
2017-07-01 21:11:14 +02:00
|
|
|
public:
|
2016-06-05 16:16:34 -04:00
|
|
|
RouteUI (ARDOUR::Session*);
|
2008-12-08 16:07:28 +00:00
|
|
|
|
2021-03-27 17:58:45 +01:00
|
|
|
virtual ~RouteUI ();
|
2005-09-25 18:42:24 +00:00
|
|
|
|
2021-03-27 17:58:45 +01:00
|
|
|
boost::shared_ptr<ARDOUR::Stripable> stripable () const;
|
2016-07-06 13:37:30 -04:00
|
|
|
|
2021-01-29 02:36:03 +01:00
|
|
|
virtual void set_session (ARDOUR::Session*);
|
2008-12-08 16:07:28 +00:00
|
|
|
virtual void set_route (boost::shared_ptr<ARDOUR::Route>);
|
2009-06-23 20:02:15 +00:00
|
|
|
virtual void set_button_names () = 0;
|
2008-12-08 16:07:28 +00:00
|
|
|
|
2021-03-27 17:58:45 +01:00
|
|
|
bool is_track () const;
|
|
|
|
|
bool is_master () const;
|
|
|
|
|
bool is_foldbackbus () const;
|
|
|
|
|
bool is_audio_track () const;
|
|
|
|
|
bool is_midi_track () const;
|
2010-08-10 00:09:25 +00:00
|
|
|
bool has_audio_outputs () const;
|
2005-09-25 18:42:24 +00:00
|
|
|
|
2021-03-27 17:58:45 +01:00
|
|
|
boost::shared_ptr<ARDOUR::Route> route () const
|
|
|
|
|
{
|
|
|
|
|
return _route;
|
|
|
|
|
}
|
|
|
|
|
ARDOUR::RouteGroup* route_group () const;
|
2009-10-14 16:10:01 +00:00
|
|
|
|
2021-03-27 17:58:45 +01:00
|
|
|
boost::shared_ptr<ARDOUR::Track> track () const;
|
|
|
|
|
boost::shared_ptr<ARDOUR::AudioTrack> audio_track () const;
|
|
|
|
|
boost::shared_ptr<ARDOUR::MidiTrack> midi_track () const;
|
2009-10-14 16:10:01 +00:00
|
|
|
|
2016-06-05 15:26:12 -04:00
|
|
|
Gdk::Color route_color () const;
|
2017-09-09 18:25:36 +02:00
|
|
|
|
2021-03-27 17:44:34 +01:00
|
|
|
// protected: XXX sigh this should be here
|
|
|
|
|
// callbacks used by dervice classes via &RouteUI::*
|
2005-09-25 18:42:24 +00:00
|
|
|
|
2021-03-27 17:44:34 +01:00
|
|
|
void edit_input_configuration ();
|
|
|
|
|
void edit_output_configuration ();
|
|
|
|
|
void select_midi_patch ();
|
|
|
|
|
void choose_color ();
|
|
|
|
|
void route_rename ();
|
|
|
|
|
void manage_pins ();
|
|
|
|
|
void duplicate_selected_routes ();
|
|
|
|
|
void toggle_step_edit ();
|
2021-03-27 17:58:45 +01:00
|
|
|
void toggle_denormal_protection ();
|
2021-03-27 17:44:34 +01:00
|
|
|
void save_as_template ();
|
2014-08-01 13:48:33 -05:00
|
|
|
|
2021-03-27 17:58:45 +01:00
|
|
|
bool mute_press (GdkEventButton*);
|
|
|
|
|
bool mute_release (GdkEventButton*);
|
|
|
|
|
bool solo_press (GdkEventButton*);
|
|
|
|
|
bool solo_release (GdkEventButton*);
|
|
|
|
|
bool rec_enable_press (GdkEventButton*);
|
|
|
|
|
bool rec_enable_release (GdkEventButton*);
|
|
|
|
|
bool show_sends_press (GdkEventButton*);
|
|
|
|
|
bool show_sends_release (GdkEventButton*);
|
2021-03-27 17:44:34 +01:00
|
|
|
bool solo_isolate_button_release (GdkEventButton*);
|
|
|
|
|
bool solo_safe_button_release (GdkEventButton*);
|
2009-05-17 02:08:13 +00:00
|
|
|
|
2021-03-27 17:58:45 +01:00
|
|
|
bool monitor_release (GdkEventButton*, ARDOUR::MonitorChoice);
|
|
|
|
|
bool monitor_input_press (GdkEventButton*);
|
|
|
|
|
bool monitor_input_release (GdkEventButton*);
|
|
|
|
|
bool monitor_disk_press (GdkEventButton*);
|
|
|
|
|
bool monitor_disk_release (GdkEventButton*);
|
2011-10-21 12:40:06 +00:00
|
|
|
void update_monitoring_display ();
|
2021-03-27 17:44:34 +01:00
|
|
|
void open_comment_editor ();
|
|
|
|
|
void toggle_comment_editor ();
|
|
|
|
|
void comment_changed ();
|
|
|
|
|
void set_route_active (bool, bool);
|
|
|
|
|
void set_disk_io_point (ARDOUR::DiskIOPoint);
|
|
|
|
|
void fan_out (bool to_busses = true, bool group = true);
|
2009-10-14 16:10:01 +00:00
|
|
|
|
2021-01-25 23:52:39 +01:00
|
|
|
/* The editor calls these when mapping an operation across multiple tracks */
|
2021-05-31 21:00:59 -05:00
|
|
|
void use_new_playlist (std::string name, std::string group_id, std::vector<boost::shared_ptr<ARDOUR::Playlist> > const&, bool copy);
|
2021-01-25 23:52:39 +01:00
|
|
|
void clear_playlist ();
|
|
|
|
|
|
2020-09-11 13:10:30 -05:00
|
|
|
void use_playlist (Gtk::RadioMenuItem* item, boost::weak_ptr<ARDOUR::Playlist> wpl);
|
2021-06-27 09:49:51 -05:00
|
|
|
void select_playlist_matching (boost::weak_ptr<ARDOUR::Playlist> wpl);
|
2021-06-25 17:03:14 -05:00
|
|
|
void show_playlist_selector ();
|
2020-09-11 13:10:30 -05:00
|
|
|
|
2021-03-27 17:44:34 +01:00
|
|
|
/* used by EditorRoutes */
|
|
|
|
|
static Gtkmm2ext::ActiveState solo_active_state (boost::shared_ptr<ARDOUR::Stripable>);
|
|
|
|
|
static Gtkmm2ext::ActiveState solo_isolate_active_state (boost::shared_ptr<ARDOUR::Stripable>);
|
|
|
|
|
static Gtkmm2ext::ActiveState solo_safe_active_state (boost::shared_ptr<ARDOUR::Stripable>);
|
|
|
|
|
static Gtkmm2ext::ActiveState mute_active_state (ARDOUR::Session*, boost::shared_ptr<ARDOUR::Stripable>);
|
2005-09-25 18:42:24 +00:00
|
|
|
|
2021-03-27 17:44:34 +01:00
|
|
|
protected:
|
|
|
|
|
virtual void set_color (uint32_t c);
|
|
|
|
|
virtual void processors_changed (ARDOUR::RouteProcessorChange) {}
|
2016-05-10 20:11:08 +02:00
|
|
|
|
2016-06-05 16:13:52 -04:00
|
|
|
virtual void route_property_changed (const PBD::PropertyChange&) = 0;
|
2011-03-07 13:04:46 +00:00
|
|
|
virtual void route_active_changed () {}
|
2007-06-01 02:27:21 +00:00
|
|
|
|
2005-09-25 18:42:24 +00:00
|
|
|
void disconnect_input ();
|
|
|
|
|
void disconnect_output ();
|
|
|
|
|
|
2021-03-27 17:44:34 +01:00
|
|
|
Gtk::HBox invert_button_box;
|
2009-10-14 16:10:01 +00:00
|
|
|
|
2021-03-27 17:44:34 +01:00
|
|
|
ArdourWidgets::ArdourButton* mute_button;
|
|
|
|
|
ArdourWidgets::ArdourButton* solo_button;
|
|
|
|
|
ArdourWidgets::ArdourButton* rec_enable_button; /* audio tracks */
|
|
|
|
|
ArdourWidgets::ArdourButton* show_sends_button; /* busses */
|
|
|
|
|
ArdourWidgets::ArdourButton* monitor_input_button;
|
|
|
|
|
ArdourWidgets::ArdourButton* monitor_disk_button;
|
2009-11-26 03:02:16 +00:00
|
|
|
|
2021-03-27 17:44:34 +01:00
|
|
|
ArdourWidgets::ArdourButton* solo_safe_led;
|
|
|
|
|
ArdourWidgets::ArdourButton* solo_isolated_led;
|
2011-11-03 00:42:16 +00:00
|
|
|
|
2021-03-27 17:44:34 +01:00
|
|
|
Gtk::Menu* mute_menu;
|
|
|
|
|
Gtk::Menu* solo_menu;
|
|
|
|
|
Gtk::Menu* sends_menu;
|
2014-07-29 16:40:19 -05:00
|
|
|
|
2021-03-27 17:58:45 +01:00
|
|
|
boost::shared_ptr<ARDOUR::Route> _route;
|
2021-03-27 17:44:34 +01:00
|
|
|
boost::shared_ptr<ARDOUR::Delivery> _current_delivery;
|
2014-07-29 16:40:19 -05:00
|
|
|
|
2021-03-27 17:44:34 +01:00
|
|
|
Gtk::CheckMenuItem* pre_fader_mute_check;
|
|
|
|
|
Gtk::CheckMenuItem* post_fader_mute_check;
|
|
|
|
|
Gtk::CheckMenuItem* listen_mute_check;
|
|
|
|
|
Gtk::CheckMenuItem* main_mute_check;
|
|
|
|
|
Gtk::CheckMenuItem* solo_safe_check;
|
|
|
|
|
Gtk::CheckMenuItem* solo_isolated_check;
|
2021-03-27 17:58:45 +01:00
|
|
|
int set_color_from_route ();
|
2017-07-21 17:03:41 -04:00
|
|
|
|
2017-07-01 21:11:14 +02:00
|
|
|
protected:
|
2021-03-27 17:58:45 +01:00
|
|
|
typedef std::map<PBD::ID, IOSelectorWindow*> IOSelectorMap;
|
2021-01-29 02:36:03 +01:00
|
|
|
|
|
|
|
|
static IOSelectorMap input_selectors;
|
|
|
|
|
static IOSelectorMap output_selectors;
|
|
|
|
|
|
|
|
|
|
static void delete_ioselector (IOSelectorMap&, boost::shared_ptr<ARDOUR::Route>);
|
2014-07-29 16:40:19 -05:00
|
|
|
|
2022-01-01 15:34:47 +01:00
|
|
|
static void help_count_plugins (boost::weak_ptr<ARDOUR::Processor> p, uint32_t*);
|
|
|
|
|
|
2009-12-19 20:26:31 +00:00
|
|
|
PBD::ScopedConnectionList route_connections;
|
2021-03-27 17:58:45 +01:00
|
|
|
bool self_destruct;
|
2009-04-15 18:04:23 +00:00
|
|
|
|
2016-02-29 09:10:13 -05:00
|
|
|
void init ();
|
|
|
|
|
void reset ();
|
2009-06-14 17:56:29 +00:00
|
|
|
|
2021-03-27 17:44:34 +01:00
|
|
|
virtual void self_delete ();
|
2020-03-02 19:06:40 +01:00
|
|
|
virtual void blink_rec_display (bool onoff);
|
|
|
|
|
virtual void map_frozen ();
|
2021-03-27 17:44:34 +01:00
|
|
|
virtual void route_rec_enable_changed ();
|
|
|
|
|
virtual void route_color_changed () {}
|
2016-12-21 22:57:39 +02:00
|
|
|
virtual void start_step_editing () {}
|
2021-03-27 17:58:45 +01:00
|
|
|
virtual void stop_step_editing () {}
|
2021-03-27 15:52:14 +01:00
|
|
|
virtual void create_sends (ARDOUR::Placement, bool);
|
|
|
|
|
virtual void create_selected_sends (ARDOUR::Placement, bool);
|
2021-03-27 17:44:34 +01:00
|
|
|
virtual void bus_send_display_changed (boost::shared_ptr<ARDOUR::Route>);
|
2021-03-27 15:52:14 +01:00
|
|
|
|
2021-03-27 17:44:34 +01:00
|
|
|
bool mark_hidden (bool yn);
|
2016-12-21 22:57:39 +02:00
|
|
|
void set_invert_sensitive (bool);
|
2011-07-26 02:07:59 +00:00
|
|
|
bool verify_new_route_name (const std::string& name);
|
2016-05-24 03:01:27 +02:00
|
|
|
void check_rec_enable_sensitivity ();
|
2021-03-27 17:44:34 +01:00
|
|
|
void route_gui_changed (PBD::PropertyChange const&);
|
2022-08-09 16:18:32 -06:00
|
|
|
void set_bg_color_from_route (Gtk::Widget&, bool yn);
|
2016-06-05 15:19:54 -04:00
|
|
|
|
2017-09-09 18:25:36 +02:00
|
|
|
PatchChangeGridDialog* patch_change_dialog () const;
|
|
|
|
|
|
2021-01-25 23:52:39 +01:00
|
|
|
std::string playlist_tip () const;
|
2021-03-27 17:58:45 +01:00
|
|
|
void build_playlist_menu ();
|
|
|
|
|
Gtk::Menu* playlist_action_menu;
|
2021-01-25 23:52:39 +01:00
|
|
|
|
2020-09-11 13:10:30 -05:00
|
|
|
void show_playlist_copy_selector ();
|
|
|
|
|
void show_playlist_share_selector ();
|
|
|
|
|
void show_playlist_steal_selector ();
|
|
|
|
|
|
2021-03-27 17:58:45 +01:00
|
|
|
Gtk::CheckMenuItem* denormal_menu_item;
|
2021-03-27 17:44:34 +01:00
|
|
|
|
2021-03-27 17:58:45 +01:00
|
|
|
static void set_showing_sends_to (boost::shared_ptr<ARDOUR::Route>);
|
2021-03-27 17:44:34 +01:00
|
|
|
static std::string program_port_prefix;
|
|
|
|
|
|
|
|
|
|
ARDOUR::SoloMuteRelease* _solo_release;
|
|
|
|
|
ARDOUR::SoloMuteRelease* _mute_release;
|
2021-03-27 15:52:14 +01:00
|
|
|
|
2016-05-17 18:19:26 +02:00
|
|
|
private:
|
2010-08-13 21:33:01 +00:00
|
|
|
void setup_invert_buttons ();
|
|
|
|
|
void invert_menu_toggled (uint32_t);
|
2021-03-27 17:58:45 +01:00
|
|
|
bool invert_press (GdkEventButton*);
|
|
|
|
|
bool invert_release (GdkEventButton*, uint32_t i);
|
2011-06-01 17:00:29 +00:00
|
|
|
|
2021-03-27 17:44:34 +01:00
|
|
|
void toggle_solo_safe (Gtk::CheckMenuItem*);
|
2021-03-27 17:58:45 +01:00
|
|
|
void toggle_mute_menu (ARDOUR::MuteMaster::MutePoint, Gtk::CheckMenuItem*);
|
2021-03-27 17:44:34 +01:00
|
|
|
void toggle_solo_isolated (Gtk::CheckMenuItem*);
|
|
|
|
|
|
2020-03-02 19:06:40 +01:00
|
|
|
void update_solo_display ();
|
|
|
|
|
void update_mute_display ();
|
|
|
|
|
void update_polarity_display ();
|
2021-03-24 18:16:43 +01:00
|
|
|
void update_solo_button ();
|
2021-03-27 17:44:34 +01:00
|
|
|
void solo_changed_so_update_mute ();
|
|
|
|
|
void session_rec_enable_changed ();
|
|
|
|
|
void denormal_protection_changed ();
|
|
|
|
|
void muting_change ();
|
2020-03-02 19:06:40 +01:00
|
|
|
|
2021-03-27 17:44:34 +01:00
|
|
|
void step_edit_changed (bool);
|
|
|
|
|
void toggle_rec_safe ();
|
|
|
|
|
|
|
|
|
|
void setup_comment_editor ();
|
|
|
|
|
void comment_editor_done_editing ();
|
|
|
|
|
|
|
|
|
|
void init_mute_menu (ARDOUR::MuteMaster::MutePoint, Gtk::CheckMenuItem*);
|
|
|
|
|
void build_mute_menu ();
|
|
|
|
|
void build_solo_menu ();
|
|
|
|
|
void build_record_menu ();
|
|
|
|
|
|
|
|
|
|
void build_sends_menu ();
|
|
|
|
|
void set_sends_gain_from_track ();
|
|
|
|
|
void set_sends_gain_to_zero ();
|
|
|
|
|
void set_sends_gain_to_unity ();
|
|
|
|
|
|
|
|
|
|
void rename_current_playlist ();
|
|
|
|
|
|
|
|
|
|
void parameter_changed (std::string const&);
|
|
|
|
|
void relabel_solo_button ();
|
|
|
|
|
void track_mode_changed ();
|
|
|
|
|
void send_blink (bool);
|
|
|
|
|
|
|
|
|
|
void delete_patch_change_dialog ();
|
|
|
|
|
void maybe_add_route_print_mgr ();
|
|
|
|
|
|
|
|
|
|
std::string route_state_id () const;
|
|
|
|
|
|
|
|
|
|
void save_as_template_dialog_response (int response, SaveTemplateDialog* d);
|
|
|
|
|
|
|
|
|
|
std::string resolve_new_group_playlist_name (std::string const&, std::vector<boost::shared_ptr<ARDOUR::Playlist> > const&);
|
|
|
|
|
|
2021-06-07 19:19:09 -05:00
|
|
|
PlaylistSelector* _playlist_selector;
|
|
|
|
|
|
2021-03-27 17:44:34 +01:00
|
|
|
Gtk::Menu* _record_menu;
|
|
|
|
|
ArdourWindow* _comment_window;
|
|
|
|
|
Gtk::TextView* _comment_area;
|
|
|
|
|
|
|
|
|
|
Gtk::CheckMenuItem* _step_edit_item;
|
|
|
|
|
Gtk::CheckMenuItem* _rec_safe_item;
|
|
|
|
|
|
|
|
|
|
bool _ignore_comment_edit;
|
|
|
|
|
int _i_am_the_modifier;
|
2010-08-13 21:33:01 +00:00
|
|
|
Gtk::Menu* _invert_menu;
|
2020-03-02 19:18:30 +01:00
|
|
|
uint32_t _n_polarity_invert;
|
2010-08-13 21:33:01 +00:00
|
|
|
|
2021-03-27 17:44:34 +01:00
|
|
|
std::vector<ArdourWidgets::ArdourButton*> _invert_buttons;
|
2021-03-27 16:25:30 +01:00
|
|
|
|
2017-03-10 23:51:39 +01:00
|
|
|
StripableColorDialog _color_picker;
|
|
|
|
|
|
2021-03-27 17:44:34 +01:00
|
|
|
sigc::connection send_blink_connection;
|
|
|
|
|
sigc::connection rec_blink_connection;
|
|
|
|
|
|
|
|
|
|
/** Emitted when a bus has been set or unset from `display sends to this bus' mode
|
|
|
|
|
* by a click on the `Sends' button. The parameter is the route that the sends are
|
|
|
|
|
* to, or 0 if no route is now in this mode.
|
|
|
|
|
*/
|
|
|
|
|
static PBD::Signal1<void, boost::shared_ptr<ARDOUR::Route> > BusSendDisplayChanged;
|
2021-03-27 17:58:45 +01:00
|
|
|
|
2011-11-03 00:42:16 +00:00
|
|
|
static boost::weak_ptr<ARDOUR::Route> _showing_sends_to;
|
2015-10-05 16:17:49 +02:00
|
|
|
|
2010-08-13 21:33:01 +00:00
|
|
|
static uint32_t _max_invert_buttons;
|
2005-09-25 18:42:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif /* __ardour_route_ui__ */
|