Mercurial > hg > svgui
diff layer/TimeValueLayer.h @ 28:202d1dca67d2
* Rationalise the local feature identification API in Layer subclasses
* Add segmentation mode to TimeInstantLayer
author | Chris Cannam |
---|---|
date | Mon, 06 Feb 2006 17:24:52 +0000 |
parents | 94381052a6c9 |
children | ea6fe8cfcdd5 |
line wrap: on
line diff
--- a/layer/TimeValueLayer.h Fri Feb 03 17:30:47 2006 +0000 +++ b/layer/TimeValueLayer.h Mon Feb 06 17:24:52 2006 +0000 @@ -30,9 +30,9 @@ virtual QString getFeatureDescription(QPoint &) const; - virtual int getNearestFeatureFrame(int frame, - size_t &resolution, - bool snapRight = true) const; + virtual bool snapToFeatureFrame(int &frame, + size_t &resolution, + SnapType snap) const; virtual void drawStart(QMouseEvent *); virtual void drawDrag(QMouseEvent *);