Ardour  8.7-15-gadf511264b
ArdourSurface::M2ToggleHoldButton Class Reference

#include <m2_button.h>

Inheritance diagram for ArdourSurface::M2ToggleHoldButton:
[legend]

Public Member Functions

 M2ToggleHoldButton ()
 
bool active () const
 
void unset_active_on_release ()
 
- 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 ()
 
virtual bool set_active (bool a)
 
uint8_t lightness (float blink) const
 
uint32_t color (float blink) const
 
- Public Member Functions inherited from ArdourSurface::M2ButtonInterface
 M2ButtonInterface ()
 
virtual ~M2ButtonInterface ()
 

Public Attributes

PBD::Signal1< void, bool > toggled
 
- Public Attributes inherited from ArdourSurface::M2ButtonInterface
PBD::Signal1< void, bool > changed
 
PBD::Signal0< void > pressed
 
PBD::Signal0< void > released
 

Protected Member Functions

void change_event (bool down)
 

Protected Attributes

PBD::ScopedConnection changed_connection
 
bool _active
 
bool _active_on_release
 
- Protected Attributes inherited from ArdourSurface::M2Button
bool _pressed
 
bool _blink
 
bool _ignore_release
 
uint8_t _lightness
 
uint32_t _rgba
 

Detailed Description

Definition at line 177 of file m2_button.h.

Constructor & Destructor Documentation

◆ M2ToggleHoldButton()

ArdourSurface::M2ToggleHoldButton::M2ToggleHoldButton ( )
inline

Definition at line 180 of file m2_button.h.

Member Function Documentation

◆ active()

bool ArdourSurface::M2ToggleHoldButton::active ( ) const
inlinevirtual

Reimplemented from ArdourSurface::M2ButtonInterface.

Definition at line 189 of file m2_button.h.

◆ change_event()

void ArdourSurface::M2ToggleHoldButton::change_event ( bool  down)
inlineprotected

Definition at line 193 of file m2_button.h.

◆ unset_active_on_release()

void ArdourSurface::M2ToggleHoldButton::unset_active_on_release ( )
inline

Definition at line 190 of file m2_button.h.

Member Data Documentation

◆ _active

bool ArdourSurface::M2ToggleHoldButton::_active
protected

Definition at line 213 of file m2_button.h.

◆ _active_on_release

bool ArdourSurface::M2ToggleHoldButton::_active_on_release
protected

Definition at line 214 of file m2_button.h.

◆ changed_connection

PBD::ScopedConnection ArdourSurface::M2ToggleHoldButton::changed_connection
protected

Definition at line 212 of file m2_button.h.

◆ toggled

PBD::Signal1<void, bool> ArdourSurface::M2ToggleHoldButton::toggled

Definition at line 188 of file m2_button.h.


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