summaryrefslogtreecommitdiff
path: root/gtk2_ardour/insert_remove_time_dialog.h
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2016-10-20 14:53:34 -0500
committerBen Loftis <ben@harrisonconsoles.com>2016-10-20 16:02:18 -0500
commit9a9a9f9eacae4553195854d2ae60dc109b05aff5 (patch)
tree28425b10fd7ebfac9e4b85c4ceb70fae16019d3c /gtk2_ardour/insert_remove_time_dialog.h
parent492596756091b4be798c83b2b393736688ed74d8 (diff)
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
Diffstat (limited to 'gtk2_ardour/insert_remove_time_dialog.h')
-rw-r--r--gtk2_ardour/insert_remove_time_dialog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/insert_remove_time_dialog.h b/gtk2_ardour/insert_remove_time_dialog.h
index ea3b24238e..999c0ca272 100644
--- a/gtk2_ardour/insert_remove_time_dialog.h
+++ b/gtk2_ardour/insert_remove_time_dialog.h
@@ -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;
};