Track Add/Remove Time dialog improvements:

Add a clock to show the position of the edit, to remove ambiguity
 If a Range is selected, pre-fill the position and length clocks
 Clock format should default to the editor's secondary clock mode
This commit is contained in:
Ben Loftis 2016-10-20 14:53:34 -05:00
parent 4925967560
commit 9a9a9f9eac
3 changed files with 49 additions and 16 deletions

View file

@ -34,6 +34,7 @@ public:
bool move_glued_markers () const;
bool move_locked_markers () const;
bool move_tempos () const;
framepos_t position () const;
framepos_t distance () const;
private:
@ -49,5 +50,6 @@ private:
Gtk::CheckButton _move_locked_markers;
Gtk::CheckButton _move_tempos;
Gtk::Label tempo_label;
AudioClock _clock;
AudioClock duration_clock;
AudioClock position_clock;
};