comparison 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
comparison
equal deleted inserted replaced
27:38fe0ea9e46e 28:202d1dca67d2
28 28
29 virtual void paint(QPainter &paint, QRect rect) const; 29 virtual void paint(QPainter &paint, QRect rect) const;
30 30
31 virtual QString getFeatureDescription(QPoint &) const; 31 virtual QString getFeatureDescription(QPoint &) const;
32 32
33 virtual int getNearestFeatureFrame(int frame, 33 virtual bool snapToFeatureFrame(int &frame,
34 size_t &resolution, 34 size_t &resolution,
35 bool snapRight = true) const; 35 SnapType snap) const;
36 36
37 virtual void drawStart(QMouseEvent *); 37 virtual void drawStart(QMouseEvent *);
38 virtual void drawDrag(QMouseEvent *); 38 virtual void drawDrag(QMouseEvent *);
39 virtual void drawEnd(QMouseEvent *); 39 virtual void drawEnd(QMouseEvent *);
40 40