comparison layer/RegionLayer.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 5bcfc5606528
children 084f65094203
comparison
equal deleted inserted replaced
606:fbab21439115 607:5b72899d692b
114 virtual bool getDisplayExtents(float &min, float &max) const; 114 virtual bool getDisplayExtents(float &min, float &max) const;
115 115
116 virtual void toXml(QTextStream &stream, QString indent = "", 116 virtual void toXml(QTextStream &stream, QString indent = "",
117 QString extraAttributes = "") const; 117 QString extraAttributes = "") const;
118 118
119 virtual int getVerticalScaleWidth(View *, bool, QPainter &) const { return 0; }
120
119 void setProperties(const QXmlAttributes &attributes); 121 void setProperties(const QXmlAttributes &attributes);
120 122
121 protected slots: 123 protected slots:
122 void recalcSpacing(); 124 void recalcSpacing();
123 125