mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 14:15:46 +01:00
provide new methods for BasicUI that wrap the "complexity" of how to show transport state via lit buttons
This commit is contained in:
parent
6383d4f6a6
commit
a8cc5b1303
2 changed files with 37 additions and 1 deletions
|
|
@ -151,6 +151,12 @@ class LIBCONTROLCP_API BasicUI {
|
|||
void timecode_to_sample (Timecode::Time& timecode, samplepos_t & sample, bool use_offset, bool use_subframes) const;
|
||||
void sample_to_timecode (samplepos_t sample, Timecode::Time& timecode, bool use_offset, bool use_subframes) const;
|
||||
|
||||
bool stop_button_onoff() const;
|
||||
bool play_button_onoff() const;
|
||||
bool ffwd_button_onoff() const;
|
||||
bool rewind_button_onoff() const;
|
||||
bool loop_button_onoff() const;
|
||||
|
||||
protected:
|
||||
BasicUI ();
|
||||
ARDOUR::Session* session;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue