Ardour  9.0-pre0-384-ga76afae0e9
ArdourSurface::FP8::FP8Button Class Reference

#include <fp8_button.h>

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

Public Member Functions

 FP8Button (FP8Base &b, uint8_t id, bool color=false)
 
virtual void set_active (bool a)
 
void set_color (uint32_t rgba)
 
- Public Member Functions inherited from ArdourSurface::FP8::FP8ButtonBase
 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 ()
 

Protected Member Functions

void blink (bool onoff)
 

Protected Attributes

uint8_t _midi_id
 
bool _has_color
 
- Protected Attributes inherited from ArdourSurface::FP8::FP8ButtonBase
FP8Base_base
 
bool _pressed
 
bool _active
 
bool _ignore_release
 
uint32_t _rgba
 

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 141 of file fp8_button.h.

Constructor & Destructor Documentation

◆ FP8Button()

ArdourSurface::FP8::FP8Button::FP8Button ( FP8Base b,
uint8_t  id,
bool  color = false 
)
inline

Definition at line 144 of file fp8_button.h.

Member Function Documentation

◆ blink()

void ArdourSurface::FP8::FP8Button::blink ( bool  onoff)
inlineprotectedvirtual

Implements ArdourSurface::FP8::FP8ButtonBase.

Definition at line 171 of file fp8_button.h.

◆ set_active()

virtual void ArdourSurface::FP8::FP8Button::set_active ( bool  a)
inlinevirtual

Implements ArdourSurface::FP8::FP8ButtonInterface.

Reimplemented in ArdourSurface::FP8::FP8ReadOnlyButton.

Definition at line 150 of file fp8_button.h.

◆ set_color()

void ArdourSurface::FP8::FP8Button::set_color ( uint32_t  rgba)
inlinevirtual

Reimplemented from ArdourSurface::FP8::FP8ButtonInterface.

Definition at line 159 of file fp8_button.h.

Member Data Documentation

◆ _has_color

bool ArdourSurface::FP8::FP8Button::_has_color
protected

Definition at line 178 of file fp8_button.h.

◆ _midi_id

uint8_t ArdourSurface::FP8::FP8Button::_midi_id
protected

Definition at line 177 of file fp8_button.h.


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