diff 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
line wrap: on
line diff
--- a/layer/SpectrogramLayer.h	Tue May 20 08:37:46 2008 +0000
+++ b/layer/SpectrogramLayer.h	Tue May 20 10:40:20 2008 +0000
@@ -57,6 +57,7 @@
     virtual const ZoomConstraint *getZoomConstraint() const { return this; }
     virtual const Model *getModel() const { return m_model; }
     virtual void paint(View *v, QPainter &paint, QRect rect) const;
+    virtual void setSynchronousPainting(bool synchronous);
 
     virtual int getVerticalScaleWidth(View *v, QPainter &) const;
     virtual void paintVerticalScale(View *v, QPainter &paint, QRect rect) const;
@@ -258,6 +259,7 @@
     bool                m_normalizeColumns;
     bool                m_normalizeVisibleArea;
     int                 m_lastEmittedZoomStep;
+    bool                m_synchronous;
 
     mutable int         m_lastPaintBlockWidth;
     mutable RealTime    m_lastPaintTime;