Mercurial > hg > svgui
comparison layer/TimeInstantLayer.h @ 916:94e4952a6774 osx-retina
Start trying to introduce LayerGeometryProvider as proxyable interface for View methods that the Layer wants to use
author | Chris Cannam |
---|---|
date | Tue, 17 Mar 2015 15:05:25 +0000 |
parents | 251dd0abc7b7 |
children | 4fe7a09be0fe |
comparison
equal
deleted
inserted
replaced
915:f6d9f28f37cb | 916:94e4952a6774 |
---|---|
31 | 31 |
32 public: | 32 public: |
33 TimeInstantLayer(); | 33 TimeInstantLayer(); |
34 virtual ~TimeInstantLayer(); | 34 virtual ~TimeInstantLayer(); |
35 | 35 |
36 virtual void paint(View *v, QPainter &paint, QRect rect) const; | 36 virtual void paint(LayerGeometryProvider *v, QPainter &paint, QRect rect) const; |
37 | 37 |
38 virtual QString getLabelPreceding(sv_frame_t) const; | 38 virtual QString getLabelPreceding(sv_frame_t) const; |
39 virtual QString getFeatureDescription(View *v, QPoint &) const; | 39 virtual QString getFeatureDescription(View *v, QPoint &) const; |
40 | 40 |
41 virtual bool snapToFeatureFrame(View *v, sv_frame_t &frame, | 41 virtual bool snapToFeatureFrame(View *v, sv_frame_t &frame, |