Ardour  9.0-pre0-384-ga76afae0e9
ArdourSurface::FP8::FP8DualButton Class Referenceabstract

#include <fp8_button.h>

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

Public Member Functions

 FP8DualButton (FP8Base &b, uint8_t id, bool color=false)
 
bool midi_event (bool a)
 
void set_active (bool a)
 
void active_changed (bool s, bool a)
 
void colour_changed (bool s)
 
FP8ButtonInterfacebutton ()
 
FP8ButtonInterfacebutton_shift ()
 
- Public Member Functions inherited from ArdourSurface::FP8::FP8ButtonInterface
 FP8ButtonInterface ()
 
virtual ~FP8ButtonInterface ()
 
virtual bool is_pressed () const
 
virtual bool is_active () const
 
virtual void ignore_release ()
 
virtual void set_color (uint32_t rgba)
 
virtual void set_blinking (bool)
 

Protected Member Functions

virtual void connect_toggle ()=0
 
void shift_changed (bool shift)
 

Protected Attributes

FP8Base_base
 

Private Attributes

ShadowButton _b0
 
ShadowButton _b1
 
uint8_t _midi_id
 
bool _has_color
 
uint32_t _rgba
 
bool _shift
 
PBD::ScopedConnectionList _button_connections
 

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

Constructor & Destructor Documentation

◆ FP8DualButton()

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

Definition at line 245 of file fp8_button.h.

Member Function Documentation

◆ active_changed()

void ArdourSurface::FP8::FP8DualButton::active_changed ( bool  s,
bool  a 
)
inline

Definition at line 273 of file fp8_button.h.

◆ button()

FP8ButtonInterface* ArdourSurface::FP8::FP8DualButton::button ( )
inline

Definition at line 294 of file fp8_button.h.

◆ button_shift()

FP8ButtonInterface* ArdourSurface::FP8::FP8DualButton::button_shift ( )
inline

Definition at line 295 of file fp8_button.h.

◆ colour_changed()

void ArdourSurface::FP8::FP8DualButton::colour_changed ( bool  s)
inline

Definition at line 280 of file fp8_button.h.

◆ connect_toggle()

virtual void ArdourSurface::FP8::FP8DualButton::connect_toggle ( )
protectedpure virtual

◆ midi_event()

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

Implements ArdourSurface::FP8::FP8ButtonInterface.

Definition at line 262 of file fp8_button.h.

◆ set_active()

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

Implements ArdourSurface::FP8::FP8ButtonInterface.

Definition at line 266 of file fp8_button.h.

◆ shift_changed()

void ArdourSurface::FP8::FP8DualButton::shift_changed ( bool  shift)
inlineprotected

Definition at line 302 of file fp8_button.h.

Member Data Documentation

◆ _b0

ShadowButton ArdourSurface::FP8::FP8DualButton::_b0
private

Definition at line 313 of file fp8_button.h.

◆ _b1

ShadowButton ArdourSurface::FP8::FP8DualButton::_b1
private

Definition at line 314 of file fp8_button.h.

◆ _base

FP8Base& ArdourSurface::FP8::FP8DualButton::_base
protected

Definition at line 298 of file fp8_button.h.

◆ _button_connections

PBD::ScopedConnectionList ArdourSurface::FP8::FP8DualButton::_button_connections
private

Definition at line 319 of file fp8_button.h.

◆ _has_color

bool ArdourSurface::FP8::FP8DualButton::_has_color
private

Definition at line 316 of file fp8_button.h.

◆ _midi_id

uint8_t ArdourSurface::FP8::FP8DualButton::_midi_id
private

Definition at line 315 of file fp8_button.h.

◆ _rgba

uint32_t ArdourSurface::FP8::FP8DualButton::_rgba
private

Definition at line 317 of file fp8_button.h.

◆ _shift

bool ArdourSurface::FP8::FP8DualButton::_shift
private

Definition at line 318 of file fp8_button.h.


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