mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
NOOP, re-indent and remove trailing whitespace
This commit is contained in:
parent
f2273dc3b6
commit
f39286f92f
2 changed files with 714 additions and 715 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -30,120 +30,120 @@
|
||||||
#include "route_ui.h"
|
#include "route_ui.h"
|
||||||
|
|
||||||
namespace Gtkmm2ext {
|
namespace Gtkmm2ext {
|
||||||
class TearOff;
|
class TearOff;
|
||||||
class MotionFeedback;
|
class MotionFeedback;
|
||||||
}
|
}
|
||||||
|
|
||||||
class VolumeController;
|
class VolumeController;
|
||||||
|
|
||||||
class MonitorSection : public RouteUI
|
class MonitorSection : public RouteUI
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
MonitorSection (ARDOUR::Session*);
|
MonitorSection (ARDOUR::Session*);
|
||||||
~MonitorSection ();
|
~MonitorSection ();
|
||||||
|
|
||||||
void set_session (ARDOUR::Session*);
|
void set_session (ARDOUR::Session*);
|
||||||
static void setup_knob_images ();
|
static void setup_knob_images ();
|
||||||
|
|
||||||
Gtkmm2ext::TearOff& tearoff() const { return *_tearoff; }
|
Gtkmm2ext::TearOff& tearoff() const { return *_tearoff; }
|
||||||
|
|
||||||
std::string state_id() const;
|
std::string state_id() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Gtk::VBox vpacker;
|
Gtk::VBox vpacker;
|
||||||
Gtk::HBox hpacker;
|
Gtk::HBox hpacker;
|
||||||
Gtk::VBox upper_packer;
|
Gtk::VBox upper_packer;
|
||||||
Gtk::VBox lower_packer;
|
Gtk::VBox lower_packer;
|
||||||
Gtkmm2ext::TearOff* _tearoff;
|
Gtkmm2ext::TearOff* _tearoff;
|
||||||
|
|
||||||
Gtk::HBox channel_table_packer;
|
Gtk::HBox channel_table_packer;
|
||||||
Gtk::HBox table_hpacker;
|
Gtk::HBox table_hpacker;
|
||||||
Gtk::Table channel_table;
|
Gtk::Table channel_table;
|
||||||
Gtk::Table channel_table_header;
|
Gtk::Table channel_table_header;
|
||||||
Gtk::ScrolledWindow channel_table_scroller;
|
Gtk::ScrolledWindow channel_table_scroller;
|
||||||
Gtk::Viewport channel_table_viewport;
|
Gtk::Viewport channel_table_viewport;
|
||||||
Glib::RefPtr<Gtk::SizeGroup> channel_size_group;
|
Glib::RefPtr<Gtk::SizeGroup> channel_size_group;
|
||||||
|
|
||||||
struct ChannelButtonSet {
|
struct ChannelButtonSet {
|
||||||
ArdourButton cut;
|
ArdourButton cut;
|
||||||
ArdourButton dim;
|
ArdourButton dim;
|
||||||
ArdourButton solo;
|
ArdourButton solo;
|
||||||
ArdourButton invert;
|
ArdourButton invert;
|
||||||
|
|
||||||
ChannelButtonSet ();
|
ChannelButtonSet ();
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef std::vector<ChannelButtonSet*> ChannelButtons;
|
typedef std::vector<ChannelButtonSet*> ChannelButtons;
|
||||||
ChannelButtons _channel_buttons;
|
ChannelButtons _channel_buttons;
|
||||||
|
|
||||||
ArdourKnob* gain_control;
|
ArdourKnob* gain_control;
|
||||||
ArdourKnob* dim_control;
|
ArdourKnob* dim_control;
|
||||||
ArdourKnob* solo_boost_control;
|
ArdourKnob* solo_boost_control;
|
||||||
ArdourKnob* solo_cut_control;
|
ArdourKnob* solo_cut_control;
|
||||||
|
|
||||||
ArdourDisplay* gain_display;
|
ArdourDisplay* gain_display;
|
||||||
ArdourDisplay* dim_display;
|
ArdourDisplay* dim_display;
|
||||||
ArdourDisplay* solo_boost_display;
|
ArdourDisplay* solo_boost_display;
|
||||||
ArdourDisplay* solo_cut_display;
|
ArdourDisplay* solo_cut_display;
|
||||||
|
|
||||||
void populate_buttons ();
|
void populate_buttons ();
|
||||||
void map_state ();
|
void map_state ();
|
||||||
|
|
||||||
boost::shared_ptr<ARDOUR::MonitorProcessor> _monitor;
|
boost::shared_ptr<ARDOUR::MonitorProcessor> _monitor;
|
||||||
boost::shared_ptr<ARDOUR::Route> _route;
|
boost::shared_ptr<ARDOUR::Route> _route;
|
||||||
|
|
||||||
static Glib::RefPtr<Gtk::ActionGroup> monitor_actions;
|
static Glib::RefPtr<Gtk::ActionGroup> monitor_actions;
|
||||||
void register_actions ();
|
void register_actions ();
|
||||||
|
|
||||||
static Glib::RefPtr<Gdk::Pixbuf> big_knob_pixbuf;
|
static Glib::RefPtr<Gdk::Pixbuf> big_knob_pixbuf;
|
||||||
static Glib::RefPtr<Gdk::Pixbuf> little_knob_pixbuf;
|
static Glib::RefPtr<Gdk::Pixbuf> little_knob_pixbuf;
|
||||||
|
|
||||||
void cut_channel (uint32_t);
|
void cut_channel (uint32_t);
|
||||||
void dim_channel (uint32_t);
|
void dim_channel (uint32_t);
|
||||||
void solo_channel (uint32_t);
|
void solo_channel (uint32_t);
|
||||||
void invert_channel (uint32_t);
|
void invert_channel (uint32_t);
|
||||||
void dim_all ();
|
void dim_all ();
|
||||||
void cut_all ();
|
void cut_all ();
|
||||||
void mono ();
|
void mono ();
|
||||||
void toggle_exclusive_solo ();
|
void toggle_exclusive_solo ();
|
||||||
void set_button_names () {}
|
void set_button_names () {}
|
||||||
void toggle_mute_overrides_solo ();
|
void toggle_mute_overrides_solo ();
|
||||||
void dim_level_changed ();
|
void dim_level_changed ();
|
||||||
void solo_boost_changed ();
|
void solo_boost_changed ();
|
||||||
void gain_value_changed ();
|
void gain_value_changed ();
|
||||||
|
|
||||||
ArdourButton solo_in_place_button;
|
ArdourButton solo_in_place_button;
|
||||||
ArdourButton afl_button;
|
ArdourButton afl_button;
|
||||||
ArdourButton pfl_button;
|
ArdourButton pfl_button;
|
||||||
Gtk::HBox solo_model_box;
|
Gtk::HBox solo_model_box;
|
||||||
|
|
||||||
void solo_use_in_place ();
|
void solo_use_in_place ();
|
||||||
void solo_use_afl ();
|
void solo_use_afl ();
|
||||||
void solo_use_pfl ();
|
void solo_use_pfl ();
|
||||||
|
|
||||||
ArdourButton cut_all_button;
|
ArdourButton cut_all_button;
|
||||||
ArdourButton dim_all_button;
|
ArdourButton dim_all_button;
|
||||||
ArdourButton mono_button;
|
ArdourButton mono_button;
|
||||||
ArdourButton rude_solo_button;
|
ArdourButton rude_solo_button;
|
||||||
ArdourButton rude_iso_button;
|
ArdourButton rude_iso_button;
|
||||||
ArdourButton rude_audition_button;
|
ArdourButton rude_audition_button;
|
||||||
ArdourButton exclusive_solo_button;
|
ArdourButton exclusive_solo_button;
|
||||||
ArdourButton solo_mute_override_button;
|
ArdourButton solo_mute_override_button;
|
||||||
|
|
||||||
void do_blink (bool);
|
void do_blink (bool);
|
||||||
void solo_blink (bool);
|
void solo_blink (bool);
|
||||||
void audition_blink (bool);
|
void audition_blink (bool);
|
||||||
bool cancel_solo (GdkEventButton*);
|
bool cancel_solo (GdkEventButton*);
|
||||||
bool cancel_isolate (GdkEventButton*);
|
bool cancel_isolate (GdkEventButton*);
|
||||||
bool cancel_audition (GdkEventButton*);
|
bool cancel_audition (GdkEventButton*);
|
||||||
void update_solo_model ();
|
void update_solo_model ();
|
||||||
void parameter_changed (std::string);
|
void parameter_changed (std::string);
|
||||||
void isolated_changed ();
|
void isolated_changed ();
|
||||||
|
|
||||||
PBD::ScopedConnection config_connection;
|
PBD::ScopedConnection config_connection;
|
||||||
PBD::ScopedConnectionList control_connections;
|
PBD::ScopedConnectionList control_connections;
|
||||||
|
|
||||||
bool _inhibit_solo_model_update;
|
bool _inhibit_solo_model_update;
|
||||||
|
|
||||||
void assign_controllables ();
|
void assign_controllables ();
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue