provide new methods for BasicUI that wrap the "complexity" of how to show transport state via lit buttons

This commit is contained in:
Paul Davis 2019-12-29 18:42:34 -07:00
parent 6383d4f6a6
commit a8cc5b1303
2 changed files with 37 additions and 1 deletions

View file

@ -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;