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

#include <launch_control_xl.h>

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

Public Member Functions

 NoteButton (ButtonID id, uint8_t cn, std::function< void()> press, std::function< void()> release, std::function< void()> release_long)
 
uint8_t note_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
 

Private Attributes

uint8_t _note_number
 

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
 

Detailed Description

Definition at line 242 of file launch_control_xl.h.

Constructor & Destructor Documentation

◆ NoteButton()

ArdourSurface::LaunchControlXL::NoteButton::NoteButton ( ButtonID  id,
uint8_t  cn,
std::function< void()>  press,
std::function< void()>  release,
std::function< void()>  release_long 
)
inline

Definition at line 243 of file launch_control_xl.h.

Member Function Documentation

◆ note_number()

uint8_t ArdourSurface::LaunchControlXL::NoteButton::note_number ( ) const
inline

Definition at line 249 of file launch_control_xl.h.

Member Data Documentation

◆ _note_number

uint8_t ArdourSurface::LaunchControlXL::NoteButton::_note_number
private

Definition at line 252 of file launch_control_xl.h.


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