Ardour  9.0-pre0-582-g084a23a80d
ArdourSurface::M2ButtonInterface Class Reference

#include <m2_button.h>

Inheritance diagram for ArdourSurface::M2ButtonInterface:
[legend]

Public Member Functions

 M2ButtonInterface ()
 
virtual ~M2ButtonInterface ()
 
virtual void set_blinking (bool)
 
virtual void set_color (uint32_t rgba)
 
virtual bool is_pressed () const
 
virtual bool active () const
 
virtual void ignore_release ()
 
virtual bool set_active (bool a)
 
virtual uint8_t lightness (float) const
 
virtual uint32_t color (float) const
 

Public Attributes

PBD::Signal< void(bool)> changed
 
PBD::Signal< void()> pressed
 
PBD::Signal< void()> released
 

Detailed Description

Definition at line 28 of file m2_button.h.

Constructor & Destructor Documentation

◆ M2ButtonInterface()

ArdourSurface::M2ButtonInterface::M2ButtonInterface ( )
inline

Definition at line 31 of file m2_button.h.

◆ ~M2ButtonInterface()

virtual ArdourSurface::M2ButtonInterface::~M2ButtonInterface ( )
inlinevirtual

Definition at line 32 of file m2_button.h.

Member Function Documentation

◆ active()

virtual bool ArdourSurface::M2ButtonInterface::active ( ) const
inlinevirtual

Reimplemented in ArdourSurface::M2ToggleHoldButton, and ArdourSurface::M2ToggleButton.

Definition at line 43 of file m2_button.h.

◆ color()

virtual uint32_t ArdourSurface::M2ButtonInterface::color ( float  ) const
inlinevirtual

Reimplemented in ArdourSurface::M2Button.

Definition at line 53 of file m2_button.h.

◆ ignore_release()

virtual void ArdourSurface::M2ButtonInterface::ignore_release ( )
inlinevirtual

Reimplemented in ArdourSurface::M2Button.

Definition at line 45 of file m2_button.h.

◆ is_pressed()

virtual bool ArdourSurface::M2ButtonInterface::is_pressed ( ) const
inlinevirtual

Reimplemented in ArdourSurface::M2Button.

Definition at line 42 of file m2_button.h.

◆ lightness()

virtual uint8_t ArdourSurface::M2ButtonInterface::lightness ( float  ) const
inlinevirtual

Reimplemented in ArdourSurface::M2Button.

Definition at line 52 of file m2_button.h.

◆ set_active()

virtual bool ArdourSurface::M2ButtonInterface::set_active ( bool  a)
inlinevirtual

Reimplemented in ArdourSurface::M2StatelessButton, and ArdourSurface::M2Button.

Definition at line 51 of file m2_button.h.

◆ set_blinking()

virtual void ArdourSurface::M2ButtonInterface::set_blinking ( bool  )
inlinevirtual

Reimplemented in ArdourSurface::M2Button.

Definition at line 39 of file m2_button.h.

◆ set_color()

virtual void ArdourSurface::M2ButtonInterface::set_color ( uint32_t  rgba)
inlinevirtual

Reimplemented in ArdourSurface::M2Button.

Definition at line 40 of file m2_button.h.

Member Data Documentation

◆ changed

PBD::Signal<void(bool)> ArdourSurface::M2ButtonInterface::changed

Definition at line 35 of file m2_button.h.

◆ pressed

PBD::Signal<void()> ArdourSurface::M2ButtonInterface::pressed

Definition at line 36 of file m2_button.h.

◆ released

PBD::Signal<void()> ArdourSurface::M2ButtonInterface::released

Definition at line 37 of file m2_button.h.


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