26 #include "sigc++/trackable.h"
84 uint16_t initial_selection = 0xFFFF);
131 std::shared_ptr<ARDOUR::MidiTrack>
track;
void capture_mode_changed()
void zero_playback_mask()
void capture_invert_clicked()
std::vector< Gtk::Widget * > capture_mask_controls
Gtk::RadioButtonGroup playback_button_group
Gtk::RadioButtonGroup capture_button_group
void capture_mode_toggled(ARDOUR::ChannelMode)
Gtk::RadioButton capture_all_button
Gtk::RadioButton capture_filter_button
void set_channel_colors(const uint32_t new_channel_colors[16])
Gtk::RadioButton capture_force_button
ARDOUR::ChannelMode last_drawn_capture_mode
MidiChannelSelectorWindow(std::shared_ptr< ARDOUR::MidiTrack >)
void capture_mask_changed()
std::shared_ptr< ARDOUR::MidiTrack > track
Gtk::RadioButton playback_all_button
std::vector< Gtk::ToggleButton * > capture_buttons
void capture_channel_clicked(uint16_t)
void set_capture_selected_channels(uint16_t)
void capture_none_clicked()
ARDOUR::ChannelMode last_drawn_playback_mode
void playback_none_clicked()
~MidiChannelSelectorWindow()
std::vector< Gtk::Widget * > playback_mask_controls
std::vector< Gtk::ToggleButton * > playback_buttons
void playback_all_clicked()
void set_playback_selected_channels(uint16_t)
void invert_playback_mask()
Gtk::HBox capture_mask_box
void playback_mask_changed()
void playback_invert_clicked()
Gtk::HBox playback_mask_box
void invert_capture_mask()
void playback_mode_toggled(ARDOUR::ChannelMode)
void capture_all_clicked()
void playback_channel_clicked(uint16_t)
Gtk::RadioButton playback_force_button
Gtk::RadioButton playback_filter_button
void playback_mode_changed()
void set_default_channel_color()
void fill_playback_mask()
bool was_clicked(GdkEventButton *)
void set_default_channel_color()
virtual ~MidiChannelSelector()=0
MidiChannelSelector(int n_rows=4, int n_columns=4, int start_row=0, int start_column=0)
Gtk::Label _button_labels[4][4]
void set_channel_colors(const uint32_t new_channel_colors[16])
ArdourWidgets::StatefulToggleButton _buttons[4][4]
virtual void button_toggled(Gtk::ToggleButton *button, uint8_t button_nr)=0
sigc::signal< void > clicked
void set_channel_mode(ARDOUR::ChannelMode mode, uint16_t mask)
Gtk::Button _invert_selection
uint16_t get_selected_channels() const
void force_channels_button_toggled()
sigc::signal< void, ARDOUR::ChannelMode, uint16_t > mode_changed
ARDOUR::ChannelMode _channel_mode
ARDOUR::NoteMode _note_mode
ARDOUR::ChannelMode get_channel_mode() const
MidiMultipleChannelSelector(ARDOUR::ChannelMode mode=ARDOUR::FilterChannels, uint16_t initial_selection=0xFFFF)
Gtk::ToggleButton _force_channel
void set_selected_channels(uint16_t selected_channels)
void invert_selection(void)
virtual ~MidiMultipleChannelSelector()
virtual void button_toggled(Gtk::ToggleButton *button, uint8_t button_nr)
SingleMidiChannelSelector(uint8_t active_channel=0)
Gtk::ToggleButton * _last_active_button
virtual void button_toggled(Gtk::ToggleButton *button, uint8_t button_nr)
uint8_t get_active_channel() const
sigc::signal< void, uint8_t > channel_selected
@ FilterChannels
Ignore events on certain channels.