Ardour  9.0-pre0-582-g084a23a80d
ArdourSurface::FP8::FP8ButtonBase Class Referenceabstract

#include <fp8_button.h>

Inheritance diagram for ArdourSurface::FP8::FP8ButtonBase:
[legend]

Public Member Functions

 FP8ButtonBase (FP8Base &b)
 
bool is_pressed () const
 
bool is_active () const
 
virtual bool midi_event (bool a)
 
virtual void ignore_release ()
 
bool blinking () const
 
void set_blinking (bool yes)
 
- Public Member Functions inherited from ArdourSurface::FP8::FP8ButtonInterface
 FP8ButtonInterface ()
 
virtual ~FP8ButtonInterface ()
 
virtual void set_active (bool a)=0
 
virtual void set_color (uint32_t rgba)
 

Protected Member Functions

virtual void blink (bool onoff)=0
 

Protected Attributes

FP8Base_base
 
bool _pressed
 
bool _active
 
bool _ignore_release
 
uint32_t _rgba
 

Private Attributes

PBD::ScopedConnection _blink_connection
 
bool _blinking
 

Additional Inherited Members

- Public Attributes inherited from ArdourSurface::FP8::FP8ButtonInterface
PBD::Signal< void()> pressed
 
PBD::Signal< void()> released
 
- Static Public Attributes inherited from ArdourSurface::FP8::FP8ButtonInterface
static bool force_change
 

Detailed Description

Definition at line 75 of file fp8_button.h.

Constructor & Destructor Documentation

◆ FP8ButtonBase()

ArdourSurface::FP8::FP8ButtonBase::FP8ButtonBase ( FP8Base b)
inline

Definition at line 78 of file fp8_button.h.

Member Function Documentation

◆ blink()

virtual void ArdourSurface::FP8::FP8ButtonBase::blink ( bool  onoff)
protectedpure virtual

◆ blinking()

bool ArdourSurface::FP8::FP8ButtonBase::blinking ( ) const
inline

Definition at line 114 of file fp8_button.h.

◆ ignore_release()

virtual void ArdourSurface::FP8::FP8ButtonBase::ignore_release ( )
inlinevirtual

Reimplemented from ArdourSurface::FP8::FP8ButtonInterface.

Reimplemented in ArdourSurface::FP8::FP8MomentaryButton.

Definition at line 108 of file fp8_button.h.

◆ is_active()

bool ArdourSurface::FP8::FP8ButtonBase::is_active ( void  ) const
inlinevirtual

Reimplemented from ArdourSurface::FP8::FP8ButtonInterface.

Definition at line 88 of file fp8_button.h.

◆ is_pressed()

bool ArdourSurface::FP8::FP8ButtonBase::is_pressed ( ) const
inlinevirtual

Reimplemented from ArdourSurface::FP8::FP8ButtonInterface.

Definition at line 87 of file fp8_button.h.

◆ midi_event()

virtual bool ArdourSurface::FP8::FP8ButtonBase::midi_event ( bool  a)
inlinevirtual

◆ set_blinking()

void ArdourSurface::FP8::FP8ButtonBase::set_blinking ( bool  yes)
inlinevirtual

Reimplemented from ArdourSurface::FP8::FP8ButtonInterface.

Definition at line 116 of file fp8_button.h.

Member Data Documentation

◆ _active

bool ArdourSurface::FP8::FP8ButtonBase::_active
protected

Definition at line 130 of file fp8_button.h.

◆ _base

FP8Base& ArdourSurface::FP8::FP8ButtonBase::_base
protected

Definition at line 128 of file fp8_button.h.

◆ _blink_connection

PBD::ScopedConnection ArdourSurface::FP8::FP8ButtonBase::_blink_connection
private

Definition at line 136 of file fp8_button.h.

◆ _blinking

bool ArdourSurface::FP8::FP8ButtonBase::_blinking
private

Definition at line 137 of file fp8_button.h.

◆ _ignore_release

bool ArdourSurface::FP8::FP8ButtonBase::_ignore_release
protected

Definition at line 131 of file fp8_button.h.

◆ _pressed

bool ArdourSurface::FP8::FP8ButtonBase::_pressed
protected

Definition at line 129 of file fp8_button.h.

◆ _rgba

uint32_t ArdourSurface::FP8::FP8ButtonBase::_rgba
protected

Definition at line 132 of file fp8_button.h.


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