comparison 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
comparison
equal deleted inserted replaced
606:fbab21439115 607:5b72899d692b
90 bool &logarithmic, QString &unit) const; 90 bool &logarithmic, QString &unit) const;
91 91
92 virtual void toXml(QTextStream &stream, QString indent = "", 92 virtual void toXml(QTextStream &stream, QString indent = "",
93 QString extraAttributes = "") const; 93 QString extraAttributes = "") const;
94 94
95 virtual int getVerticalScaleWidth(View *, bool, QPainter &) const { return 0; }
96
95 virtual void setLayerDormant(const View *v, bool dormant); 97 virtual void setLayerDormant(const View *v, bool dormant);
96 98
97 void setProperties(const QXmlAttributes &attributes); 99 void setProperties(const QXmlAttributes &attributes);
98 100
99 virtual bool addImage(long frame, QString url); // using a command 101 virtual bool addImage(long frame, QString url); // using a command