Mercurial > hg > svgui
diff layer/TimeValueLayer.h @ 13:01849cd277e6
* Hook up tool selection buttons to switch the cursor mode
* Implement simple and multi-selection, snapping to the resolution
of the current layer. You can't actually do anything with a selection yet
author | Chris Cannam |
---|---|
date | Mon, 23 Jan 2006 17:02:57 +0000 |
parents | 2d5005f2b3d9 |
children | 0183ebb725ca |
line wrap: on
line diff
--- a/layer/TimeValueLayer.h Thu Jan 19 17:59:11 2006 +0000 +++ b/layer/TimeValueLayer.h Mon Jan 23 17:02:57 2006 +0000 @@ -31,6 +31,10 @@ virtual QRect getFeatureDescriptionRect(QPainter &, QPoint) const; virtual void paintLocalFeatureDescription(QPainter &, QRect, QPoint) const; + virtual int getNearestFeatureFrame(int frame, + size_t &resolution, + bool snapRight = true) const; + virtual const Model *getModel() const { return m_model; } void setModel(SparseTimeValueModel *model);