Mercurial > hg > svgui
diff layer/SpectrogramLayer.h @ 120:8dfa20f1c70a
* some work on scaling and zooming for spectrogram
author | Chris Cannam |
---|---|
date | Wed, 19 Jul 2006 16:55:29 +0000 |
parents | 508276c923ba |
children | 7363cacf7de0 |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.h Fri Jul 14 17:12:16 2006 +0000 +++ b/layer/SpectrogramLayer.h Wed Jul 19 16:55:29 2006 +0000 @@ -166,6 +166,9 @@ void setNormalizeColumns(bool n); bool getNormalizeColumns() const; + void setNormalizeVisibleArea(bool n); + bool getNormalizeVisibleArea() const; + enum ColourScheme { DefaultColours, WhiteOnBlack, BlackOnWhite, RedOnBlue, YellowOnBlack, BlueOnBlack, Rainbow }; @@ -194,6 +197,8 @@ virtual bool getDisplayExtents(float &min, float &max) const; + virtual bool setDisplayExtents(float min, float max); + virtual QString toXmlString(QString indent = "", QString extraAttributes = "") const; @@ -229,6 +234,7 @@ FrequencyScale m_frequencyScale; BinDisplay m_binDisplay; bool m_normalizeColumns; + bool m_normalizeVisibleArea; enum { NO_VALUE = 0 }; // colour index for unused pixels