Mercurial > hg > svgui
diff view/View.h @ 1475:84c4ddb38415 by-id
Further layer updates
author | Chris Cannam |
---|---|
date | Tue, 02 Jul 2019 15:29:17 +0100 |
parents | 8d5bf4ab98ef |
children | e540aa5d89cd |
line wrap: on
line diff
--- a/view/View.h Tue Jul 02 14:08:44 2019 +0100 +++ b/view/View.h Tue Jul 02 15:29:17 2019 +0100 @@ -27,6 +27,8 @@ #include "base/XmlExportable.h" #include "base/BaseTypes.h" +#include "data/model/Model.h" + // #define DEBUG_VIEW_WIDGET_PAINT 1 class Layer; @@ -381,11 +383,11 @@ double scalePenWidth(double width) const override; QPen scalePen(QPen pen) const override; - typedef std::set<Model *> ModelSet; + typedef std::set<ModelId> ModelSet; ModelSet getModels(); //!!! - Model *getAligningModel() const; + ModelId getAligningModel() const; sv_frame_t alignFromReference(sv_frame_t) const; sv_frame_t alignToReference(sv_frame_t) const; sv_frame_t getAlignedPlaybackFrame() const;