Mercurial > hg > svgui
diff layer/ImageLayer.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 | 69089c9dc42e |
children | 1d526ba11a24 |
line wrap: on
line diff
--- a/layer/ImageLayer.h Mon Jan 30 13:24:55 2012 +0000 +++ b/layer/ImageLayer.h Mon Jan 30 16:01:59 2012 +0000 @@ -92,6 +92,8 @@ virtual void toXml(QTextStream &stream, QString indent = "", QString extraAttributes = "") const; + virtual int getVerticalScaleWidth(View *, bool, QPainter &) const { return 0; } + virtual void setLayerDormant(const View *v, bool dormant); void setProperties(const QXmlAttributes &attributes);