Ardour  9.0-pre0-582-g084a23a80d
ArdourSurface::FP8::ShadowButton Class Reference

#include <fp8_button.h>

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

Public Member Functions

 ShadowButton (FP8Base &b)
 
uint32_t color () const
 
bool midi_event (bool a)
 
bool set_pressed (bool a)
 
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 void ignore_release ()
 
bool blinking () const
 
void set_blinking (bool yes)
 
- Public Member Functions inherited from ArdourSurface::FP8::FP8ButtonInterface
 FP8ButtonInterface ()
 
virtual ~FP8ButtonInterface ()
 

Public Attributes

PBD::Signal< void(bool)> ActiveChanged
 
PBD::Signal< void()> ColourChanged
 
- Public Attributes inherited from ArdourSurface::FP8::FP8ButtonInterface
PBD::Signal< void()> pressed
 
PBD::Signal< void()> released
 

Protected Member Functions

void blink (bool onoff)
 

Additional Inherited Members

- Static Public Attributes inherited from ArdourSurface::FP8::FP8ButtonInterface
static bool force_change
 
- Protected Attributes inherited from ArdourSurface::FP8::FP8ButtonBase
FP8Base_base
 
bool _pressed
 
bool _active
 
bool _ignore_release
 
uint32_t _rgba
 

Detailed Description

Definition at line 193 of file fp8_button.h.

Constructor & Destructor Documentation

◆ ShadowButton()

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

Definition at line 196 of file fp8_button.h.

Member Function Documentation

◆ blink()

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

Implements ArdourSurface::FP8::FP8ButtonBase.

Definition at line 235 of file fp8_button.h.

◆ color()

uint32_t ArdourSurface::FP8::ShadowButton::color ( ) const
inline

Definition at line 203 of file fp8_button.h.

◆ midi_event()

bool ArdourSurface::FP8::ShadowButton::midi_event ( bool  a)
inlinevirtual

Reimplemented from ArdourSurface::FP8::FP8ButtonBase.

Definition at line 205 of file fp8_button.h.

◆ set_active()

void ArdourSurface::FP8::ShadowButton::set_active ( bool  a)
inlinevirtual

Implements ArdourSurface::FP8::FP8ButtonInterface.

Definition at line 216 of file fp8_button.h.

◆ set_color()

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

Reimplemented from ArdourSurface::FP8::FP8ButtonInterface.

Definition at line 225 of file fp8_button.h.

◆ set_pressed()

bool ArdourSurface::FP8::ShadowButton::set_pressed ( bool  a)
inline

Definition at line 211 of file fp8_button.h.

Member Data Documentation

◆ ActiveChanged

PBD::Signal<void(bool)> ArdourSurface::FP8::ShadowButton::ActiveChanged

Definition at line 200 of file fp8_button.h.

◆ ColourChanged

PBD::Signal<void()> ArdourSurface::FP8::ShadowButton::ColourChanged

Definition at line 201 of file fp8_button.h.


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