comparison layer/Colour3DPlotLayer.h @ 607:5b72899d692b

Give a dedicated key to toggling the centre line, and move it out of the overlay level setting -- reducing number of overlay levels to 3. Introduce two distinct vertical scale types (so that we can hide the spectrogram colour scale part easily)
author Chris Cannam
date Mon, 30 Jan 2012 16:01:59 +0000
parents 78f9436195b1
children 67e6d518ac27
comparison
equal deleted inserted replaced
606:fbab21439115 607:5b72899d692b
49 return m_model ? m_model->getZoomConstraint() : 0; 49 return m_model ? m_model->getZoomConstraint() : 0;
50 } 50 }
51 virtual const Model *getModel() const { return m_model; } 51 virtual const Model *getModel() const { return m_model; }
52 virtual void paint(View *v, QPainter &paint, QRect rect) const; 52 virtual void paint(View *v, QPainter &paint, QRect rect) const;
53 53
54 virtual int getVerticalScaleWidth(View *v, QPainter &) const; 54 virtual int getVerticalScaleWidth(View *v, bool, QPainter &) const;
55 virtual void paintVerticalScale(View *v, QPainter &paint, QRect rect) const; 55 virtual void paintVerticalScale(View *v, bool, QPainter &paint, QRect rect) const;
56 56
57 virtual QString getFeatureDescription(View *v, QPoint &) const; 57 virtual QString getFeatureDescription(View *v, QPoint &) const;
58 58
59 virtual bool snapToFeatureFrame(View *v, int &frame, 59 virtual bool snapToFeatureFrame(View *v, int &frame,
60 size_t &resolution, 60 size_t &resolution,