Ardour
9.0-pre0-582-g084a23a80d
|
Public Types | |
enum | ColorMode { Static = 0x0 , Flashing = 0x1 , Pulsing = 0x2 } |
typedef void(LaunchPadX::* | ButtonMethod) (Pad &) |
typedef void(LaunchPadX::* | PadMethod) (Pad &, int velocity) |
Public Member Functions | |
Pad (PadID pid, ButtonMethod press_method, ButtonMethod long_press_method=&LaunchPadX::relax, ButtonMethod release_method=&LaunchPadX::relax) | |
Pad (int pid, int xx, int yy, PadMethod press_method, ButtonMethod long_press_method=&LaunchPadX::relax, ButtonMethod release_method=&LaunchPadX::relax) | |
MIDI::byte | status_byte () const |
bool | is_pad () const |
bool | is_button () const |
Public Attributes | |
int | id |
int | x |
int | y |
union { | |
ButtonMethod on_press | |
PadMethod on_pad_press | |
}; | |
ButtonMethod | on_release |
ButtonMethod | on_long_press |
sigc::connection | timeout_connection |
typedef void(LaunchPadX::* ArdourSurface::LP_X::LaunchPadX::Pad::ButtonMethod) (Pad &) |
typedef void(LaunchPadX::* ArdourSurface::LP_X::LaunchPadX::Pad::PadMethod) (Pad &, int velocity) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
union { ... } |
ButtonMethod ArdourSurface::LP_X::LaunchPadX::Pad::on_long_press |
ButtonMethod ArdourSurface::LP_X::LaunchPadX::Pad::on_press |
ButtonMethod ArdourSurface::LP_X::LaunchPadX::Pad::on_release |
sigc::connection ArdourSurface::LP_X::LaunchPadX::Pad::timeout_connection |