Ardour  9.0-pre0-427-gd2a3450e2f
ArdourSurface::M2StatelessButton Class Reference

#include <m2_button.h>

Inheritance diagram for ArdourSurface::M2StatelessButton:
[legend]

Public Member Functions

 M2StatelessButton ()
 
bool set_active (bool a)
 
- Public Member Functions inherited from ArdourSurface::M2Button
 M2Button ()
 
void set_blinking (bool en)
 
virtual void set_color (uint32_t rgba)
 
bool is_pressed () const
 
void ignore_release ()
 
uint8_t lightness (float blink) const
 
uint32_t color (float blink) const
 
- Public Member Functions inherited from ArdourSurface::M2ButtonInterface
 M2ButtonInterface ()
 
virtual ~M2ButtonInterface ()
 
virtual bool active () const
 

Additional Inherited Members

- Public Attributes inherited from ArdourSurface::M2ButtonInterface
PBD::Signal< void(bool)> changed
 
PBD::Signal< void()> pressed
 
PBD::Signal< void()> released
 
- Protected Attributes inherited from ArdourSurface::M2Button
bool _pressed
 
bool _blink
 
bool _ignore_release
 
uint8_t _lightness
 
uint32_t _rgba
 

Detailed Description

Definition at line 134 of file m2_button.h.

Constructor & Destructor Documentation

◆ M2StatelessButton()

ArdourSurface::M2StatelessButton::M2StatelessButton ( )
inline

Definition at line 137 of file m2_button.h.

Member Function Documentation

◆ set_active()

bool ArdourSurface::M2StatelessButton::set_active ( bool  a)
inlinevirtual

Reimplemented from ArdourSurface::M2Button.

Definition at line 139 of file m2_button.h.


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