ardour
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
MidiChannelSelector Class Referenceabstract

#include <midi_channel_selector.h>

Inheritance diagram for MidiChannelSelector:
MidiMultipleChannelSelector SingleMidiChannelSelector

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]
 
Gtkmm2ext::StatefulToggleButton _buttons [4][4]
 
int _recursion_counter
 

Detailed Description

Definition at line 41 of file midi_channel_selector.h.

Constructor & Destructor Documentation

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

Definition at line 47 of file midi_channel_selector.cc.

MidiChannelSelector::~MidiChannelSelector ( )
pure virtual

Definition at line 81 of file midi_channel_selector.cc.

Member Function Documentation

virtual void MidiChannelSelector::button_toggled ( Gtk::ToggleButton *  button,
uint8_t  button_nr 
)
protectedpure virtual
void MidiChannelSelector::set_channel_colors ( const uint32_t  new_channel_colors[16])

Definition at line 93 of file midi_channel_selector.cc.

void MidiChannelSelector::set_default_channel_color ( )

Definition at line 108 of file midi_channel_selector.cc.

bool MidiChannelSelector::was_clicked ( GdkEventButton *  )
protected

Definition at line 86 of file midi_channel_selector.cc.

Member Data Documentation

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

Definition at line 54 of file midi_channel_selector.h.

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

Definition at line 55 of file midi_channel_selector.h.

int MidiChannelSelector::_recursion_counter
protected

Definition at line 56 of file midi_channel_selector.h.

sigc::signal<void> MidiChannelSelector::clicked

Definition at line 47 of file midi_channel_selector.h.


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