Ardour  9.0-pre0-386-g96ef4d20f2
ArdourSurface::Push2::ColorButton Struct Reference

#include <push2.h>

Inheritance diagram for ArdourSurface::Push2::ColorButton:
[legend]

Public Member Functions

 ColorButton (ButtonID bb, uint8_t ex)
 
 ColorButton (ButtonID bb, uint8_t ex, void(Push2::*press)())
 
 ColorButton (ButtonID bb, uint8_t ex, void(Push2::*press)(), void(Push2::*release)())
 
 ColorButton (ButtonID bb, uint8_t ex, void(Push2::*press)(), void(Push2::*release)(), void(Push2::*long_press)())
 
- Public Member Functions inherited from ArdourSurface::Push2::Button
 Button (ButtonID bb, uint8_t ex)
 
 Button (ButtonID bb, uint8_t ex, void(Push2::*press)())
 
 Button (ButtonID bb, uint8_t ex, void(Push2::*press)(), void(Push2::*release)())
 
 Button (ButtonID bb, uint8_t ex, void(Push2::*press)(), void(Push2::*release)(), void(Push2::*long_press)())
 
MidiByteArray state_msg () const
 
int controller_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)
 

Additional Inherited Members

- 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 Attributes inherited from ArdourSurface::Push2::Button
ButtonID id
 
void(Push2::* press_method )()
 
void(Push2::* release_method )()
 
void(Push2::* long_press_method )()
 
sigc::connection timeout_connection
 
- Protected Attributes inherited from ArdourSurface::Push2::LED
uint8_t _extra
 
uint8_t _color_index
 
State _state
 

Detailed Description

Definition at line 240 of file push2.h.

Constructor & Destructor Documentation

◆ ColorButton() [1/4]

ArdourSurface::Push2::ColorButton::ColorButton ( ButtonID  bb,
uint8_t  ex 
)
inline

Definition at line 241 of file push2.h.

◆ ColorButton() [2/4]

ArdourSurface::Push2::ColorButton::ColorButton ( ButtonID  bb,
uint8_t  ex,
void(Push2::*)()  press 
)
inline

Definition at line 245 of file push2.h.

◆ ColorButton() [3/4]

ArdourSurface::Push2::ColorButton::ColorButton ( ButtonID  bb,
uint8_t  ex,
void(Push2::*)()  press,
void(Push2::*)()  release 
)
inline

Definition at line 248 of file push2.h.

◆ ColorButton() [4/4]

ArdourSurface::Push2::ColorButton::ColorButton ( ButtonID  bb,
uint8_t  ex,
void(Push2::*)()  press,
void(Push2::*)()  release,
void(Push2::*)()  long_press 
)
inline

Definition at line 251 of file push2.h.


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