summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_clock.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-10-18 22:02:12 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-10-18 22:02:12 +0000
commited5e141b7188187687bbbcd0dea5b3b74834ddd7 (patch)
tree1ad34a18ef4179967e13208394dd78c68f4406e1 /gtk2_ardour/audio_clock.h
parent471ca9b1f5323df6c5510fab4eb512e8735ef5d5 (diff)
if a clock is in delta-edit, it should be set to show a duration. this matters in BBT mode, where "zero" is 0|0|0 in duration mode and 1|1|0 otherwise. there is still a bug with the mouse tracking in delta edit mode, but that is a separate issue
git-svn-id: svn://localhost/ardour2/branches/3.0@7905 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_clock.h')
-rw-r--r--gtk2_ardour/audio_clock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/audio_clock.h b/gtk2_ardour/audio_clock.h
index e5f0b0111a..915dbd79de 100644
--- a/gtk2_ardour/audio_clock.h
+++ b/gtk2_ardour/audio_clock.h
@@ -55,6 +55,7 @@ class AudioClock : public Gtk::HBox, public ARDOUR::SessionHandlePtr
void locate ();
void set_mode (Mode);
void set_bbt_reference (framepos_t);
+ void set_is_duration (bool);
void set_widget_name (std::string);