comparison layer/TimeRulerLayer.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 2f83b6e3b8ca
children 1d526ba11a24
comparison
equal deleted inserted replaced
606:fbab21439115 607:5b72899d692b
51 return false; 51 return false;
52 } 52 }
53 53
54 virtual QString getLayerPresentationName() const; 54 virtual QString getLayerPresentationName() const;
55 55
56 virtual int getVerticalScaleWidth(View *, bool, QPainter &) const { return 0; }
57
56 virtual void toXml(QTextStream &stream, QString indent = "", 58 virtual void toXml(QTextStream &stream, QString indent = "",
57 QString extraAttributes = "") const; 59 QString extraAttributes = "") const;
58 60
59 void setProperties(const QXmlAttributes &attributes); 61 void setProperties(const QXmlAttributes &attributes);
60 62