Mercurial > hg > svgui
comparison layer/TimeInstantLayer.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 | 2e8194a30f40 |
children | 1d526ba11a24 |
comparison
equal
deleted
inserted
replaced
606:fbab21439115 | 607:5b72899d692b |
---|---|
107 } else { | 107 } else { |
108 return ColourDistinguishes; | 108 return ColourDistinguishes; |
109 } | 109 } |
110 } | 110 } |
111 | 111 |
112 virtual int getVerticalScaleWidth(View *, bool, QPainter &) const { return 0; } | |
113 | |
112 protected: | 114 protected: |
113 SparseOneDimensionalModel::PointList getLocalPoints(View *v, int) const; | 115 SparseOneDimensionalModel::PointList getLocalPoints(View *v, int) const; |
114 | 116 |
115 virtual int getDefaultColourHint(bool dark, bool &impose); | 117 virtual int getDefaultColourHint(bool dark, bool &impose); |
116 | 118 |