Mercurial > hg > svgui
diff view/View.h @ 1490:c83504eb2649
Attempt a mechanism for the View to time-align a layer on display using an aligning version of the ViewProxy
author | Chris Cannam |
---|---|
date | Fri, 02 Aug 2019 16:44:32 +0100 |
parents | 3943d0720167 |
children | d09345e578a7 |
line wrap: on
line diff
--- a/view/View.h Fri Aug 02 16:42:32 2019 +0100 +++ b/view/View.h Fri Aug 02 16:44:32 2019 +0100 @@ -386,8 +386,14 @@ typedef std::set<ModelId> ModelSet; ModelSet getModels(); + //!!!??? poor name, probably poor api, consider this + void setUseAligningProxy(bool uap) { + m_useAligningProxy = uap; + } + //!!! ModelId getAligningModel() const; + void getAligningAndReferenceModels(ModelId &aligning, ModelId &reference) const; sv_frame_t alignFromReference(sv_frame_t) const; sv_frame_t alignToReference(sv_frame_t) const; sv_frame_t getAlignedPlaybackFrame() const; @@ -534,6 +540,8 @@ LayerList m_fixedOrderLayers; bool m_haveSelectedLayer; + bool m_useAligningProxy; + QString m_lastError; // caches for use in getScrollableBackLayers, getNonScrollableFrontLayers