diff options
author | Doug McLain <doug@nostar.net> | 2007-05-14 02:48:28 +0000 |
---|---|---|
committer | Doug McLain <doug@nostar.net> | 2007-05-14 02:48:28 +0000 |
commit | 9383499ce675fe046b9143c0380fcbc7447b79cc (patch) | |
tree | 82c2b10b728a5c54dadad9e924e56c42caf328a5 /gtk2_ardour/audio_clock.h | |
parent | 90f3128d73bc32288d8ce99e81255ea02f54ffbc (diff) |
Add 'delta edit cursor' option to primary and secondary clocks. When in this mode, the clocks display the absolute difference between the playhead and the edit cursor
git-svn-id: svn://localhost/ardour2/trunk@1838 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_clock.h')
-rw-r--r-- | gtk2_ardour/audio_clock.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/audio_clock.h b/gtk2_ardour/audio_clock.h index f0790dcbc8..d0c5afb658 100644 --- a/gtk2_ardour/audio_clock.h +++ b/gtk2_ardour/audio_clock.h @@ -46,7 +46,7 @@ class AudioClock : public Gtk::HBox Mode mode() const { return _mode; } - void set (nframes_t, bool force = false); + void set (nframes_t, bool force = false, nframes_t offset = 0, int which = 0); void set_mode (Mode); void set_widget_name (std::string); @@ -149,6 +149,8 @@ class AudioClock : public Gtk::HBox Gtk::Frame clock_frame; nframes_t last_when; + bool last_pdelta; + bool last_sdelta; uint32_t last_hrs; uint32_t last_mins; |