diff options
author | Carl Hetherington <carl@carlh.net> | 2011-01-19 20:54:51 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-01-19 20:54:51 +0000 |
commit | 19d1132afb8d1877f7b3e7c1ff27a11503f1b56d (patch) | |
tree | 837383dd1faf30380fdc837c64b5243d5bd0066b /gtk2_ardour/audio_clock.h | |
parent | 3c1e12e7ac2a1cde32e94ca22a656f32bdf5021a (diff) |
Terminate RapidScreenUpdate clock updates earlier when they are not necessary. Fix set from playhead when used on the position clock in the region properties dialogue. Make clocks sample-accurate when they are set in frames and then queried in frames without an edit in-between.
git-svn-id: svn://localhost/ardour2/branches/3.0@8547 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_clock.h')
-rw-r--r-- | gtk2_ardour/audio_clock.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/audio_clock.h b/gtk2_ardour/audio_clock.h index f07b12d4c5..25eab1a3ba 100644 --- a/gtk2_ardour/audio_clock.h +++ b/gtk2_ardour/audio_clock.h @@ -183,6 +183,13 @@ class AudioClock : public Gtk::HBox, public ARDOUR::SessionHandlePtr double drag_y; double drag_accum; + /** true if the time of this clock is the one displayed in its widgets. + * if false, the time in the widgets is an approximation of _canonical_time, + * and _canonical_time should be returned as the `current' time of the clock. + */ + bool _canonical_time_is_displayed; + framepos_t _canonical_time; + void on_realize (); bool field_motion_notify_event (GdkEventMotion *ev, Field); |