comparison layer/SliceLayer.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 3bf74851d93e
children 1d526ba11a24
comparison
equal deleted inserted replaced
606:fbab21439115 607:5b72899d692b
40 40
41 virtual void paint(View *v, QPainter &paint, QRect rect) const; 41 virtual void paint(View *v, QPainter &paint, QRect rect) const;
42 42
43 virtual QString getFeatureDescription(View *v, QPoint &) const; 43 virtual QString getFeatureDescription(View *v, QPoint &) const;
44 44
45 virtual int getVerticalScaleWidth(View *v, QPainter &) const; 45 virtual int getVerticalScaleWidth(View *v, bool, QPainter &) const;
46 virtual void paintVerticalScale(View *v, QPainter &paint, QRect rect) const; 46 virtual void paintVerticalScale(View *v, bool, QPainter &paint, QRect rect) const;
47 47
48 virtual ColourSignificance getLayerColourSignificance() const { 48 virtual ColourSignificance getLayerColourSignificance() const {
49 return ColourAndBackgroundSignificant; 49 return ColourAndBackgroundSignificant;
50 } 50 }
51 51