Mercurial > hg > svgui
comparison layer/SpectrumLayer.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 | b66fb15de477 |
children | 4fe7a09be0fe |
comparison
equal
deleted
inserted
replaced
915:f6d9f28f37cb | 916:94e4952a6774 |
---|---|
43 std::vector<QRect> &extents) const; | 43 std::vector<QRect> &extents) const; |
44 virtual void paintCrosshairs(View *, QPainter &, QPoint) const; | 44 virtual void paintCrosshairs(View *, QPainter &, QPoint) const; |
45 | 45 |
46 virtual QString getFeatureDescription(View *v, QPoint &) const; | 46 virtual QString getFeatureDescription(View *v, QPoint &) const; |
47 | 47 |
48 virtual void paint(View *v, QPainter &paint, QRect rect) const; | 48 virtual void paint(LayerGeometryProvider *v, QPainter &paint, QRect rect) const; |
49 | 49 |
50 virtual VerticalPosition getPreferredFrameCountPosition() const { | 50 virtual VerticalPosition getPreferredFrameCountPosition() const { |
51 return PositionTop; | 51 return PositionTop; |
52 } | 52 } |
53 | 53 |