|
Ardour
9.0-pre0-1950-g391fe97693
|
#include <push2.h>
Public Types | |
| enum | WhenPressed { Nothing , FlashOn , FlashOff } |
Public Types inherited from ArdourSurface::Push2::LED | |
| enum | State { NoTransition , OneShot24th , OneShot16th , OneShot8th , OneShot4th , OneShot2th , Pulsing24th , Pulsing16th , Pulsing8th , Pulsing4th , Pulsing2th , Blinking24th , Blinking16th , Blinking8th , Blinking4th , Blinking2th } |
| enum | Colors { Black = 0 , Red = 127 , Green = 126 , Blue = 125 , DarkGray = 124 , LightGray = 123 , White = 122 } |
Public Member Functions | |
| Pad (int xx, int yy, uint8_t ex) | |
| MidiByteArray | state_msg () const |
| int | coord () const |
| int | note_number () const |
Public Member Functions inherited from ArdourSurface::Push2::LED | |
| LED (uint8_t e) | |
| virtual | ~LED () |
| uint8_t | extra () const |
| uint8_t | color_index () const |
| State | state () const |
| void | set_color (uint8_t color_index) |
| void | set_state (State state) |
Public Attributes | |
| int | x |
| int | y |
| int | do_when_pressed |
| int | filtered |
| int | perma_color |
Additional Inherited Members | |
Protected Attributes inherited from ArdourSurface::Push2::LED | |
| uint8_t | _extra |
| uint8_t | _color_index |
| State | _state |
|
inline |
|
inlinevirtual |
Implements ArdourSurface::Push2::LED.