Ardour  8.7-14-g57a6773833
ArdourSurface::FP8::FP8RepeatButton Class Reference

#include <fp8_button.h>

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

Public Member Functions

 FP8RepeatButton (FP8Base &b, uint8_t id, bool color=false)
 
 ~FP8RepeatButton ()
 
bool midi_event (bool a)
 
void stop_repeat ()
 
- Public Member Functions inherited from ArdourSurface::FP8::FP8Button
 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 void ignore_release ()
 
bool blinking () const
 
void set_blinking (bool yes)
 
- Public Member Functions inherited from ArdourSurface::FP8::FP8ButtonInterface
 FP8ButtonInterface ()
 
virtual ~FP8ButtonInterface ()
 

Private Member Functions

void start_repeat ()
 
bool repeat_press ()
 

Private Attributes

int _skip
 
sigc::connection _press_timeout_connection
 

Additional Inherited Members

- Public Attributes inherited from ArdourSurface::FP8::FP8ButtonInterface
PBD::Signal0< void > pressed
 
PBD::Signal0< void > released
 
- Static Public Attributes inherited from ArdourSurface::FP8::FP8ButtonInterface
static bool force_change
 
- Protected Member Functions inherited from ArdourSurface::FP8::FP8Button
void blink (bool onoff)
 
- Protected Attributes inherited from ArdourSurface::FP8::FP8Button
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
 

Detailed Description

Definition at line 452 of file fp8_button.h.

Constructor & Destructor Documentation

◆ FP8RepeatButton()

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

Definition at line 455 of file fp8_button.h.

◆ ~FP8RepeatButton()

ArdourSurface::FP8::FP8RepeatButton::~FP8RepeatButton ( )
inline

Definition at line 460 of file fp8_button.h.

Member Function Documentation

◆ midi_event()

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

Reimplemented from ArdourSurface::FP8::FP8ButtonBase.

Definition at line 465 of file fp8_button.h.

◆ repeat_press()

bool ArdourSurface::FP8::FP8RepeatButton::repeat_press ( )
inlineprivate

Definition at line 490 of file fp8_button.h.

◆ start_repeat()

void ArdourSurface::FP8::FP8RepeatButton::start_repeat ( )
inlineprivate

Definition at line 480 of file fp8_button.h.

◆ stop_repeat()

void ArdourSurface::FP8::FP8RepeatButton::stop_repeat ( )
inline

Definition at line 474 of file fp8_button.h.

Member Data Documentation

◆ _press_timeout_connection

sigc::connection ArdourSurface::FP8::FP8RepeatButton::_press_timeout_connection
private

Definition at line 504 of file fp8_button.h.

◆ _skip

int ArdourSurface::FP8::FP8RepeatButton::_skip
private

Definition at line 503 of file fp8_button.h.


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