rework handling of scroll and drag on AudioClock by using timepos_t rather than samples

This commit is contained in:
Paul Davis 2021-03-17 17:26:33 -06:00
parent 0ab2308523
commit 3a94b45b23
2 changed files with 35 additions and 42 deletions

View file

@ -230,7 +230,7 @@ class AudioClock : public CairoWidget, public ARDOUR::SessionHandlePtr
void set_clock_dimensions (Gtk::Requisition&);
samplepos_t get_sample_step (Field, Temporal::timepos_t const & pos = Temporal::timepos_t (), int dir = 1);
Temporal::timepos_t get_incremental_step (Field, Temporal::timepos_t const & pos = Temporal::timepos_t (), int dir = 1);
bool timecode_validate_edit (const std::string&);
bool bbt_validate_edit (std::string&);