Ardour  9.0-pre0-582-g084a23a80d
ArdourSurface::LaunchControlXL::SelectButton Struct Reference

#include <launch_control_xl.h>

Inheritance diagram for ArdourSurface::LaunchControlXL::SelectButton:
[legend]

Public Member Functions

 SelectButton (ButtonID id, uint8_t cn, uint8_t index, std::function< void()> press, std::function< void()> release, std::function< void()> long_release, LaunchControlXL &l)
 
MidiByteArray state_msg (bool light) const
 
- Public Member Functions inherited from ArdourSurface::LaunchControlXL::ControllerButton
 ControllerButton (ButtonID id, uint8_t cn, std::function< void()> press, std::function< void()> release, std::function< void()> long_release)
 
uint8_t controller_number () const
 
- Public Member Functions inherited from ArdourSurface::LaunchControlXL::Button
 Button (ButtonID id, std::function< void()> press, std::function< void()> release, std::function< void()> long_press)
 
virtual ~Button ()
 
ButtonID id () const
 
- Public Member Functions inherited from ArdourSurface::LaunchControlXL::LED
 LED (uint8_t i, LEDColor c, LaunchControlXL &l)
 
 LED (uint8_t i, LEDColor c, LEDFlag f, LaunchControlXL &lcxl)
 
virtual ~LED ()
 
LEDColor color () const
 
LEDFlag flag () const
 
uint8_t index () const
 
void set_flag (LEDFlag f)
 

Additional Inherited Members

- Public Attributes inherited from ArdourSurface::LaunchControlXL::Button
std::function< void()> press_method
 
std::function< void()> release_method
 
std::function< void()> long_press_method
 
sigc::connection timeout_connection
 
- Protected Attributes inherited from ArdourSurface::LaunchControlXL::Button
ButtonID _id
 
- Protected Attributes inherited from ArdourSurface::LaunchControlXL::LED
uint8_t _index
 
LEDColor _color
 
LEDFlag _flag
 
MidiByteArray _state_msg
 
LaunchControlXLlcxl
 

Detailed Description

Definition at line 285 of file launch_control_xl.h.

Constructor & Destructor Documentation

◆ SelectButton()

ArdourSurface::LaunchControlXL::SelectButton::SelectButton ( ButtonID  id,
uint8_t  cn,
uint8_t  index,
std::function< void()>  press,
std::function< void()>  release,
std::function< void()>  long_release,
LaunchControlXL l 
)
inline

Definition at line 286 of file launch_control_xl.h.

Member Function Documentation

◆ state_msg()

MidiByteArray ArdourSurface::LaunchControlXL::SelectButton::state_msg ( bool  light) const
virtual

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