2005-09-25 14:42:24 -04:00
|
|
|
/*
|
2019-08-02 17:26:43 -04: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 14:42:24 -04:00
|
|
|
|
|
|
|
#ifndef __ardour_route_ui__
|
|
|
|
#define __ardour_route_ui__
|
|
|
|
|
|
|
|
#include <list>
|
|
|
|
|
2009-12-19 15:26:31 -05:00
|
|
|
#include "pbd/signals.h"
|
2021-03-27 12:58:45 -04:00
|
|
|
#include "pbd/xml++.h"
|
2009-12-17 13:24:23 -05:00
|
|
|
|
2017-03-10 17:51:39 -05:00
|
|
|
#include <gtkmm/colorselection.h>
|
2021-03-27 12:58:45 -04:00
|
|
|
#include <gtkmm/textview.h>
|
2014-07-29 17:40:19 -04:00
|
|
|
|
2011-11-02 12:46:49 -04:00
|
|
|
#include "gtkmm2ext/widget_state.h"
|
|
|
|
|
2009-02-25 13:26:51 -05:00
|
|
|
#include "ardour/ardour.h"
|
2009-06-09 16:21:19 -04:00
|
|
|
#include "ardour/mute_master.h"
|
2021-03-27 12:58:45 -04:00
|
|
|
#include "ardour/route.h"
|
|
|
|
#include "ardour/route_group.h"
|
2009-12-07 16:37:35 -05: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 13:26:51 -05:00
|
|
|
#include "ardour/track.h"
|
2005-09-25 14:42:24 -04:00
|
|
|
|
|
|
|
#include "axis_view.h"
|
2011-11-04 13:53:21 -04:00
|
|
|
#include "selectable.h"
|
2017-03-10 17:51:39 -05:00
|
|
|
#include "stripable_colorpicker.h"
|
2016-05-10 14:11:08 -04:00
|
|
|
#include "window_manager.h"
|
2005-09-25 14:42:24 -04:00
|
|
|
|
|
|
|
namespace ARDOUR {
|
|
|
|
class AudioTrack;
|
2006-07-05 15:47:25 -04:00
|
|
|
class MidiTrack;
|
2021-02-04 18:36:34 -05:00
|
|
|
class SoloMuteRelease;
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
|
2005-11-28 23:41:15 -05:00
|
|
|
namespace Gtk {
|
|
|
|
class Menu;
|
|
|
|
class CheckMenuItem;
|
|
|
|
class Widget;
|
|
|
|
}
|
|
|
|
|
2017-07-15 11:38:28 -04:00
|
|
|
namespace ArdourWidgets {
|
|
|
|
class ArdourButton;
|
2017-07-16 23:18:48 -04:00
|
|
|
class Prompter;
|
2017-07-15 11:38:28 -04:00
|
|
|
}
|
|
|
|
|
2014-07-29 17:40:19 -04:00
|
|
|
class ArdourWindow;
|
2014-08-01 14:48:33 -04:00
|
|
|
class IOSelectorWindow;
|
2017-09-09 12:25:36 -04:00
|
|
|
class PatchChangeGridDialog;
|
2021-06-07 20:19:09 -04:00
|
|
|
class PlaylistSelector;
|
2017-08-19 07:49:33 -04:00
|
|
|
class SaveTemplateDialog;
|
2006-07-13 23:43:32 -04:00
|
|
|
|
2016-05-10 14:11:08 -04:00
|
|
|
class RoutePinWindowProxy : public WM::ProxyBase
|
|
|
|
{
|
2017-07-01 15:11:14 -04:00
|
|
|
public:
|
2023-02-16 18:33:28 -05:00
|
|
|
RoutePinWindowProxy (std::string const&, std::shared_ptr<ARDOUR::Route>);
|
2021-03-27 12:58:45 -04:00
|
|
|
~RoutePinWindowProxy ();
|
2016-05-10 14:11:08 -04:00
|
|
|
|
2021-03-27 12:58:45 -04:00
|
|
|
Gtk::Window* get (bool create = false);
|
|
|
|
ARDOUR::SessionHandlePtr* session_handle ();
|
2016-05-10 14:11:08 -04:00
|
|
|
|
2017-07-01 15:11:14 -04:00
|
|
|
private:
|
2023-02-16 18:33:28 -05:00
|
|
|
std::weak_ptr<ARDOUR::Route> _route;
|
2016-05-10 14:11:08 -04:00
|
|
|
|
2021-03-27 12:58:45 -04:00
|
|
|
void route_going_away ();
|
2016-05-10 14:11:08 -04:00
|
|
|
PBD::ScopedConnection going_away_connection;
|
|
|
|
};
|
|
|
|
|
2017-02-24 06:53:49 -05:00
|
|
|
class RouteUI : public virtual Selectable, public virtual ARDOUR::SessionHandlePtr, public virtual PBD::ScopedConnectionList, public virtual sigc::trackable
|
2005-09-25 14:42:24 -04:00
|
|
|
{
|
2017-07-01 15:11:14 -04:00
|
|
|
public:
|
2016-06-05 16:16:34 -04:00
|
|
|
RouteUI (ARDOUR::Session*);
|
2008-12-08 11:07:28 -05:00
|
|
|
|
2021-03-27 12:58:45 -04:00
|
|
|
virtual ~RouteUI ();
|
2005-09-25 14:42:24 -04:00
|
|
|
|
2023-02-16 18:33:28 -05:00
|
|
|
std::shared_ptr<ARDOUR::Stripable> stripable () const;
|
2016-07-06 13:37:30 -04:00
|
|
|
|
2021-01-28 20:36:03 -05:00
|
|
|
virtual void set_session (ARDOUR::Session*);
|
2023-02-16 18:33:28 -05:00
|
|
|
virtual void set_route (std::shared_ptr<ARDOUR::Route>);
|
2009-06-23 16:02:15 -04:00
|
|
|
virtual void set_button_names () = 0;
|
2008-12-08 11:07:28 -05:00
|
|
|
|
2021-03-27 12:58:45 -04:00
|
|
|
bool is_track () const;
|
|
|
|
bool is_master () const;
|
|
|
|
bool is_foldbackbus () const;
|
2023-11-26 22:26:46 -05:00
|
|
|
bool is_singleton () const;
|
2021-03-27 12:58:45 -04:00
|
|
|
bool is_audio_track () const;
|
|
|
|
bool is_midi_track () const;
|
2010-08-09 20:09:25 -04:00
|
|
|
bool has_audio_outputs () const;
|
2005-09-25 14:42:24 -04:00
|
|
|
|
2023-02-16 18:33:28 -05:00
|
|
|
std::shared_ptr<ARDOUR::Route> route () const
|
2021-03-27 12:58:45 -04:00
|
|
|
{
|
|
|
|
return _route;
|
|
|
|
}
|
|
|
|
ARDOUR::RouteGroup* route_group () const;
|
2009-10-14 12:10:01 -04:00
|
|
|
|
2023-02-16 18:33:28 -05:00
|
|
|
std::shared_ptr<ARDOUR::Track> track () const;
|
|
|
|
std::shared_ptr<ARDOUR::AudioTrack> audio_track () const;
|
|
|
|
std::shared_ptr<ARDOUR::MidiTrack> midi_track () const;
|
2009-10-14 12:10:01 -04:00
|
|
|
|
2016-06-05 15:26:12 -04:00
|
|
|
Gdk::Color route_color () const;
|
2022-08-11 00:33:40 -04:00
|
|
|
Gdk::Color route_color_tint () const;
|
2017-09-09 12:25:36 -04:00
|
|
|
|
2021-03-27 12:44:34 -04:00
|
|
|
// protected: XXX sigh this should be here
|
|
|
|
// callbacks used by dervice classes via &RouteUI::*
|
2005-09-25 14:42:24 -04:00
|
|
|
|
2021-03-27 12:44:34 -04: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 12:58:45 -04:00
|
|
|
void toggle_denormal_protection ();
|
2021-03-27 12:44:34 -04:00
|
|
|
void save_as_template ();
|
2014-08-01 14:48:33 -04:00
|
|
|
|
2021-03-27 12:58:45 -04: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 12:44:34 -04:00
|
|
|
bool solo_isolate_button_release (GdkEventButton*);
|
|
|
|
bool solo_safe_button_release (GdkEventButton*);
|
2009-05-16 22:08:13 -04:00
|
|
|
|
2021-03-27 12:58:45 -04: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 08:40:06 -04:00
|
|
|
void update_monitoring_display ();
|
2021-03-27 12:44:34 -04: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 12:10:01 -04:00
|
|
|
|
2023-07-21 23:15:20 -04:00
|
|
|
void set_time_domain (Temporal::TimeDomain, bool);
|
|
|
|
void clear_time_domain (bool);
|
|
|
|
|
2021-01-25 17:52:39 -05:00
|
|
|
/* The editor calls these when mapping an operation across multiple tracks */
|
2023-02-16 18:33:28 -05:00
|
|
|
void use_new_playlist (std::string name, std::string group_id, std::vector<std::shared_ptr<ARDOUR::Playlist> > const&, bool copy);
|
2021-01-25 17:52:39 -05:00
|
|
|
void clear_playlist ();
|
|
|
|
|
2023-02-16 18:33:28 -05:00
|
|
|
void use_playlist (Gtk::RadioMenuItem* item, std::weak_ptr<ARDOUR::Playlist> wpl);
|
|
|
|
void select_playlist_matching (std::weak_ptr<ARDOUR::Playlist> wpl);
|
2021-06-25 18:03:14 -04:00
|
|
|
void show_playlist_selector ();
|
2020-09-11 14:10:30 -04:00
|
|
|
|
2021-03-27 12:44:34 -04:00
|
|
|
/* used by EditorRoutes */
|
2023-02-16 18:33:28 -05:00
|
|
|
static Gtkmm2ext::ActiveState solo_active_state (std::shared_ptr<ARDOUR::Stripable>);
|
|
|
|
static Gtkmm2ext::ActiveState solo_isolate_active_state (std::shared_ptr<ARDOUR::Stripable>);
|
|
|
|
static Gtkmm2ext::ActiveState solo_safe_active_state (std::shared_ptr<ARDOUR::Stripable>);
|
|
|
|
static Gtkmm2ext::ActiveState mute_active_state (ARDOUR::Session*, std::shared_ptr<ARDOUR::Stripable>);
|
2005-09-25 14:42:24 -04:00
|
|
|
|
2021-03-27 12:44:34 -04:00
|
|
|
protected:
|
|
|
|
virtual void set_color (uint32_t c);
|
|
|
|
virtual void processors_changed (ARDOUR::RouteProcessorChange) {}
|
2016-05-10 14:11:08 -04:00
|
|
|
|
2016-06-05 16:13:52 -04:00
|
|
|
virtual void route_property_changed (const PBD::PropertyChange&) = 0;
|
2011-03-07 08:04:46 -05:00
|
|
|
virtual void route_active_changed () {}
|
2007-05-31 22:27:21 -04:00
|
|
|
|
2005-09-25 14:42:24 -04:00
|
|
|
void disconnect_input ();
|
|
|
|
void disconnect_output ();
|
|
|
|
|
2021-03-27 12:44:34 -04:00
|
|
|
Gtk::HBox invert_button_box;
|
2009-10-14 12:10:01 -04:00
|
|
|
|
2021-03-27 12:44:34 -04: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-25 22:02:16 -05:00
|
|
|
|
2021-03-27 12:44:34 -04:00
|
|
|
ArdourWidgets::ArdourButton* solo_safe_led;
|
|
|
|
ArdourWidgets::ArdourButton* solo_isolated_led;
|
2011-11-02 20:42:16 -04:00
|
|
|
|
2021-03-27 12:44:34 -04:00
|
|
|
Gtk::Menu* mute_menu;
|
|
|
|
Gtk::Menu* solo_menu;
|
|
|
|
Gtk::Menu* sends_menu;
|
2014-07-29 17:40:19 -04:00
|
|
|
|
2023-02-16 18:33:28 -05:00
|
|
|
std::shared_ptr<ARDOUR::Route> _route;
|
|
|
|
std::shared_ptr<ARDOUR::Delivery> _current_delivery;
|
2014-07-29 17:40:19 -04:00
|
|
|
|
2021-03-27 12:44:34 -04:00
|
|
|
Gtk::CheckMenuItem* pre_fader_mute_check;
|
|
|
|
Gtk::CheckMenuItem* post_fader_mute_check;
|
|
|
|
Gtk::CheckMenuItem* listen_mute_check;
|
|
|
|
Gtk::CheckMenuItem* main_mute_check;
|
2024-01-02 08:26:56 -05:00
|
|
|
Gtk::CheckMenuItem* surround_mute_check;
|
2021-03-27 12:44:34 -04:00
|
|
|
Gtk::CheckMenuItem* solo_safe_check;
|
|
|
|
Gtk::CheckMenuItem* solo_isolated_check;
|
2021-03-27 12:58:45 -04:00
|
|
|
int set_color_from_route ();
|
2017-07-21 17:03:41 -04:00
|
|
|
|
2017-07-01 15:11:14 -04:00
|
|
|
protected:
|
2021-03-27 12:58:45 -04:00
|
|
|
typedef std::map<PBD::ID, IOSelectorWindow*> IOSelectorMap;
|
2021-01-28 20:36:03 -05:00
|
|
|
|
|
|
|
static IOSelectorMap input_selectors;
|
|
|
|
static IOSelectorMap output_selectors;
|
|
|
|
|
2023-02-16 18:33:28 -05:00
|
|
|
static void delete_ioselector (IOSelectorMap&, std::shared_ptr<ARDOUR::Route>);
|
2014-07-29 17:40:19 -04:00
|
|
|
|
2023-02-16 18:33:28 -05:00
|
|
|
static void help_count_plugins (std::weak_ptr<ARDOUR::Processor> p, uint32_t*);
|
2022-01-01 09:34:47 -05:00
|
|
|
|
2009-12-19 15:26:31 -05:00
|
|
|
PBD::ScopedConnectionList route_connections;
|
2022-09-04 14:25:51 -04:00
|
|
|
PBD::ScopedConnectionList send_connections;
|
2021-03-27 12:58:45 -04:00
|
|
|
bool self_destruct;
|
2009-04-15 14:04:23 -04:00
|
|
|
|
2016-02-29 09:10:13 -05:00
|
|
|
void init ();
|
|
|
|
void reset ();
|
2009-06-14 13:56:29 -04:00
|
|
|
|
2021-03-27 12:44:34 -04:00
|
|
|
virtual void self_delete ();
|
2020-03-02 13:06:40 -05:00
|
|
|
virtual void blink_rec_display (bool onoff);
|
|
|
|
virtual void map_frozen ();
|
2021-03-27 12:44:34 -04:00
|
|
|
virtual void route_rec_enable_changed ();
|
|
|
|
virtual void route_color_changed () {}
|
2016-12-21 15:57:39 -05:00
|
|
|
virtual void start_step_editing () {}
|
2021-03-27 12:58:45 -04:00
|
|
|
virtual void stop_step_editing () {}
|
2021-03-27 10:52:14 -04:00
|
|
|
virtual void create_sends (ARDOUR::Placement, bool);
|
|
|
|
virtual void create_selected_sends (ARDOUR::Placement, bool);
|
2023-02-16 18:33:28 -05:00
|
|
|
virtual void bus_send_display_changed (std::shared_ptr<ARDOUR::Route>);
|
2021-03-27 10:52:14 -04:00
|
|
|
|
2021-03-27 12:44:34 -04:00
|
|
|
bool mark_hidden (bool yn);
|
2022-09-04 14:25:51 -04:00
|
|
|
void setup_invert_buttons ();
|
|
|
|
void update_phase_invert_sensitivty ();
|
2011-07-25 22:07:59 -04:00
|
|
|
bool verify_new_route_name (const std::string& name);
|
2016-05-23 21:01:27 -04:00
|
|
|
void check_rec_enable_sensitivity ();
|
2021-03-27 12:44:34 -04:00
|
|
|
void route_gui_changed (PBD::PropertyChange const&);
|
2016-06-05 15:19:54 -04:00
|
|
|
|
2017-09-09 12:25:36 -04:00
|
|
|
PatchChangeGridDialog* patch_change_dialog () const;
|
|
|
|
|
2021-01-25 17:52:39 -05:00
|
|
|
std::string playlist_tip () const;
|
2021-03-27 12:58:45 -04:00
|
|
|
void build_playlist_menu ();
|
|
|
|
Gtk::Menu* playlist_action_menu;
|
2021-01-25 17:52:39 -05:00
|
|
|
|
2020-09-11 14:10:30 -04:00
|
|
|
void show_playlist_copy_selector ();
|
|
|
|
void show_playlist_share_selector ();
|
|
|
|
void show_playlist_steal_selector ();
|
|
|
|
|
2021-03-27 12:58:45 -04:00
|
|
|
Gtk::CheckMenuItem* denormal_menu_item;
|
2021-03-27 12:44:34 -04:00
|
|
|
|
2023-02-16 18:33:28 -05:00
|
|
|
static void set_showing_sends_to (std::shared_ptr<ARDOUR::Route>);
|
2021-03-27 12:44:34 -04:00
|
|
|
static std::string program_port_prefix;
|
|
|
|
|
|
|
|
ARDOUR::SoloMuteRelease* _solo_release;
|
|
|
|
ARDOUR::SoloMuteRelease* _mute_release;
|
2021-03-27 10:52:14 -04:00
|
|
|
|
2024-06-08 17:55:41 -04:00
|
|
|
ArdourWindow* _comment_window;
|
|
|
|
|
2016-05-17 12:19:26 -04:00
|
|
|
private:
|
2010-08-13 17:33:01 -04:00
|
|
|
void invert_menu_toggled (uint32_t);
|
2021-03-27 12:58:45 -04:00
|
|
|
bool invert_press (GdkEventButton*);
|
|
|
|
bool invert_release (GdkEventButton*, uint32_t i);
|
2011-06-01 13:00:29 -04:00
|
|
|
|
2021-03-27 12:44:34 -04:00
|
|
|
void toggle_solo_safe (Gtk::CheckMenuItem*);
|
2021-03-27 12:58:45 -04:00
|
|
|
void toggle_mute_menu (ARDOUR::MuteMaster::MutePoint, Gtk::CheckMenuItem*);
|
2021-03-27 12:44:34 -04:00
|
|
|
void toggle_solo_isolated (Gtk::CheckMenuItem*);
|
|
|
|
|
2020-03-02 13:06:40 -05:00
|
|
|
void update_solo_display ();
|
|
|
|
void update_mute_display ();
|
|
|
|
void update_polarity_display ();
|
2022-09-18 16:51:58 -04:00
|
|
|
void update_polarity_tooltips ();
|
2021-03-24 13:16:43 -04:00
|
|
|
void update_solo_button ();
|
2021-03-27 12:44:34 -04:00
|
|
|
void solo_changed_so_update_mute ();
|
|
|
|
void session_rec_enable_changed ();
|
|
|
|
void denormal_protection_changed ();
|
|
|
|
void muting_change ();
|
2020-03-02 13:06:40 -05:00
|
|
|
|
2021-03-27 12:44:34 -04: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);
|
|
|
|
|
2023-02-16 18:33:28 -05:00
|
|
|
std::string resolve_new_group_playlist_name (std::string const&, std::vector<std::shared_ptr<ARDOUR::Playlist> > const&);
|
2021-03-27 12:44:34 -04:00
|
|
|
|
2021-06-07 20:19:09 -04:00
|
|
|
PlaylistSelector* _playlist_selector;
|
|
|
|
|
2021-03-27 12:44:34 -04:00
|
|
|
Gtk::Menu* _record_menu;
|
|
|
|
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 17:33:01 -04:00
|
|
|
Gtk::Menu* _invert_menu;
|
2020-03-02 13:18:30 -05:00
|
|
|
uint32_t _n_polarity_invert;
|
2010-08-13 17:33:01 -04:00
|
|
|
|
2021-03-27 12:44:34 -04:00
|
|
|
std::vector<ArdourWidgets::ArdourButton*> _invert_buttons;
|
2021-03-27 11:25:30 -04:00
|
|
|
|
2017-03-10 17:51:39 -05:00
|
|
|
StripableColorDialog _color_picker;
|
|
|
|
|
2021-03-27 12:44:34 -04: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.
|
|
|
|
*/
|
2023-02-16 18:33:28 -05:00
|
|
|
static PBD::Signal1<void, std::shared_ptr<ARDOUR::Route> > BusSendDisplayChanged;
|
2021-03-27 12:58:45 -04:00
|
|
|
|
2023-02-16 18:33:28 -05:00
|
|
|
static std::weak_ptr<ARDOUR::Route> _showing_sends_to;
|
2015-10-05 10:17:49 -04:00
|
|
|
|
2010-08-13 17:33:01 -04:00
|
|
|
static uint32_t _max_invert_buttons;
|
2005-09-25 14:42:24 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __ardour_route_ui__ */
|