Mercurial > hg > svgui
comparison layer/SpectrogramLayer.h @ 389:2ed4e572d0d4
* Attempt fix for #1914752 export image has holes (1.0 and 1.2)
author | Chris Cannam |
---|---|
date | Tue, 20 May 2008 10:40:20 +0000 |
parents | 2f83b6e3b8ca |
children | 92f4d88241b8 |
comparison
equal
deleted
inserted
replaced
388:881470f9ca48 | 389:2ed4e572d0d4 |
---|---|
55 ~SpectrogramLayer(); | 55 ~SpectrogramLayer(); |
56 | 56 |
57 virtual const ZoomConstraint *getZoomConstraint() const { return this; } | 57 virtual const ZoomConstraint *getZoomConstraint() const { return this; } |
58 virtual const Model *getModel() const { return m_model; } | 58 virtual const Model *getModel() const { return m_model; } |
59 virtual void paint(View *v, QPainter &paint, QRect rect) const; | 59 virtual void paint(View *v, QPainter &paint, QRect rect) const; |
60 virtual void setSynchronousPainting(bool synchronous); | |
60 | 61 |
61 virtual int getVerticalScaleWidth(View *v, QPainter &) const; | 62 virtual int getVerticalScaleWidth(View *v, QPainter &) const; |
62 virtual void paintVerticalScale(View *v, QPainter &paint, QRect rect) const; | 63 virtual void paintVerticalScale(View *v, QPainter &paint, QRect rect) const; |
63 | 64 |
64 virtual bool getCrosshairExtents(View *, QPainter &, QPoint cursorPos, | 65 virtual bool getCrosshairExtents(View *, QPainter &, QPoint cursorPos, |
256 FrequencyScale m_frequencyScale; | 257 FrequencyScale m_frequencyScale; |
257 BinDisplay m_binDisplay; | 258 BinDisplay m_binDisplay; |
258 bool m_normalizeColumns; | 259 bool m_normalizeColumns; |
259 bool m_normalizeVisibleArea; | 260 bool m_normalizeVisibleArea; |
260 int m_lastEmittedZoomStep; | 261 int m_lastEmittedZoomStep; |
262 bool m_synchronous; | |
261 | 263 |
262 mutable int m_lastPaintBlockWidth; | 264 mutable int m_lastPaintBlockWidth; |
263 mutable RealTime m_lastPaintTime; | 265 mutable RealTime m_lastPaintTime; |
264 | 266 |
265 enum { NO_VALUE = 0 }; // colour index for unused pixels | 267 enum { NO_VALUE = 0 }; // colour index for unused pixels |