Ardour  9.0-pre0-822-g12e3bc5c20
MidiChannelSelector Class Referenceabstract

#include <midi_channel_selector.h>

Inheritance diagram for MidiChannelSelector:
[legend]

Public Member Functions

 MidiChannelSelector (int n_rows=4, int n_columns=4, int start_row=0, int start_column=0)
 
virtual ~MidiChannelSelector ()=0
 
void set_channel_colors (const uint32_t new_channel_colors[16])
 
void set_default_channel_color ()
 

Public Attributes

sigc::signal< void > clicked
 

Protected Member Functions

virtual void button_toggled (Gtk::ToggleButton *button, uint8_t button_nr)=0
 
bool was_clicked (GdkEventButton *)
 

Protected Attributes

Gtk::Label _button_labels [4][4]
 
ArdourWidgets::StatefulToggleButton _buttons [4][4]
 
int _recursion_counter
 

Detailed Description

Definition at line 44 of file midi_channel_selector.h.

Constructor & Destructor Documentation

◆ MidiChannelSelector()

MidiChannelSelector::MidiChannelSelector ( int  n_rows = 4,
int  n_columns = 4,
int  start_row = 0,
int  start_column = 0 
)

◆ ~MidiChannelSelector()

virtual MidiChannelSelector::~MidiChannelSelector ( )
pure virtual

Member Function Documentation

◆ button_toggled()

virtual void MidiChannelSelector::button_toggled ( Gtk::ToggleButton *  button,
uint8_t  button_nr 
)
protectedpure virtual

◆ set_channel_colors()

void MidiChannelSelector::set_channel_colors ( const uint32_t  new_channel_colors[16])

◆ set_default_channel_color()

void MidiChannelSelector::set_default_channel_color ( )

◆ was_clicked()

bool MidiChannelSelector::was_clicked ( GdkEventButton *  )
protected

Member Data Documentation

◆ _button_labels

Gtk::Label MidiChannelSelector::_button_labels[4][4]
protected

Definition at line 57 of file midi_channel_selector.h.

◆ _buttons

ArdourWidgets::StatefulToggleButton MidiChannelSelector::_buttons[4][4]
protected

Definition at line 58 of file midi_channel_selector.h.

◆ _recursion_counter

int MidiChannelSelector::_recursion_counter
protected

Definition at line 59 of file midi_channel_selector.h.

◆ clicked

sigc::signal<void> MidiChannelSelector::clicked

Definition at line 50 of file midi_channel_selector.h.


The documentation for this class was generated from the following file: