21 #include "gtk2ardour-config.h"
24 #include <boost/foreach.hpp>
55 myactions.register_action (
"Mixer",
"solo",
_(
"Toggle Solo on Mixer-Selected Tracks/Busses"), sigc::mem_fun (*
this, &
MixerActor::solo_action));
56 myactions.register_action (
"Mixer",
"mute",
_(
"Toggle Mute on Mixer-Selected Tracks/Busses"), sigc::mem_fun (*
this, &
MixerActor::mute_action));
57 myactions.register_action (
"Mixer",
"recenable",
_(
"Toggle Rec-enable on Mixer-Selected Tracks/Busses"), sigc::mem_fun (*
this, &
MixerActor::rec_enable_action));
58 myactions.register_action (
"Mixer",
"increment-gain",
_(
"Decrease Gain on Mixer-Selected Tracks/Busses"), sigc::mem_fun (*
this, &
MixerActor::step_gain_up_action));
60 myactions.register_action (
"Mixer",
"unity-gain",
_(
"Set Gain to 0dB on Mixer-Selected Tracks/Busses"), sigc::mem_fun (*
this, &
MixerActor::unity_gain_action));
63 myactions.register_action (
"Mixer",
"copy-processors",
_(
"Copy Selected Processors"), sigc::mem_fun (*
this, &
MixerActor::copy_processors));
64 myactions.register_action (
"Mixer",
"cut-processors",
_(
"Cut Selected Processors"), sigc::mem_fun (*
this, &
MixerActor::cut_processors));
65 myactions.register_action (
"Mixer",
"paste-processors",
_(
"Paste Selected Processors"), sigc::mem_fun (*
this, &
MixerActor::paste_processors));
69 myactions.register_action (
"Mixer",
"ab-plugins",
_(
"Toggle Selected Plugins"), sigc::mem_fun (*
this, &
MixerActor::ab_plugins));
70 myactions.register_action (
"Mixer",
"select-none",
_(
"Deselect all strips and processors"), sigc::mem_fun (*
this, &
MixerActor::select_none));
72 myactions.register_action (
"Mixer",
"scroll-left",
_(
"Scroll Mixer Window to the left"), sigc::mem_fun (*
this, &
MixerActor::scroll_left));
73 myactions.register_action (
"Mixer",
"scroll-right",
_(
"Scroll Mixer Window to the left"), sigc::mem_fun (*
this, &
MixerActor::scroll_right));
75 myactions.register_action (
"Mixer",
"toggle-midi-input-active",
_(
"Toggle MIDI Input Active for Mixer-Selected Tracks/Busses"),
84 bindings.set_action_map (myactions);
86 std::string binding_file;
89 bindings.load (binding_file);
101 ev.type = GDK_BUTTON_PRESS;
105 set_route_targets_for_operation ();
107 BOOST_FOREACH(
RouteUI* r, _route_targets) {
117 ev.type = GDK_BUTTON_PRESS;
121 set_route_targets_for_operation ();
123 BOOST_FOREACH(
RouteUI* r, _route_targets) {
133 ev.type = GDK_BUTTON_PRESS;
137 set_route_targets_for_operation ();
139 BOOST_FOREACH(
RouteUI* r, _route_targets) {
147 set_route_targets_for_operation ();
149 BOOST_FOREACH(
RouteUI* r, _route_targets) {
160 set_route_targets_for_operation ();
162 BOOST_FOREACH(
RouteUI* r, _route_targets) {
173 set_route_targets_for_operation ();
175 printf(
"setting gain to unity (?)");
176 BOOST_FOREACH(
RouteUI* r, _route_targets) {
187 set_route_targets_for_operation ();
189 BOOST_FOREACH(
RouteUI* r, _route_targets) {
199 set_route_targets_for_operation ();
201 BOOST_FOREACH(
RouteUI* r, _route_targets) {
211 set_route_targets_for_operation ();
213 BOOST_FOREACH(
RouteUI* r, _route_targets) {
223 set_route_targets_for_operation ();
225 BOOST_FOREACH(
RouteUI* r, _route_targets) {
235 set_route_targets_for_operation ();
237 BOOST_FOREACH(
RouteUI* r, _route_targets) {
247 set_route_targets_for_operation ();
249 BOOST_FOREACH(
RouteUI* r, _route_targets) {
bool rec_enable_press(GdkEventButton *)
void select_all_processors()
std::string to_string(T t, std::ios_base &(*f)(std::ios_base &))
void select_all_processors()
virtual void delete_processors()=0
void set_gain(gain_t val, void *src)
LIBPBD_API Transmitter error
virtual void scroll_right()
std::ostream & endmsg(std::ostream &ostr)
bool find_file(const Searchpath &search_path, const string &filename, std::string &result)
bool solo_press(GdkEventButton *)
LIBARDOUR_API PBD::Searchpath ardour_config_search_path()
LIBPBD_API Transmitter info
void step_gain_down_action()
virtual void toggle_midi_input_active(bool flip_others)=0
void step_gain_up_action()
virtual void scroll_left()
bool mute_press(GdkEventButton *)
boost::shared_ptr< ARDOUR::Route > route() const
std::string string_compose(const std::string &fmt, const T1 &o1)
virtual void select_none()=0