Mercurial > hg > svgui
comparison layer/SpectrogramLayer.h @ 42:1bdf285c4eac
* Add "Export Audio File" option
* Make note layer align in frequency with any spectrogram layer on the same
view (if it's set to frequency mode)
* Start to implement mouse editing for ranges of points by dragging the
selection
* First scrappy attempt at a vertical scale for time value layer
author | Chris Cannam |
---|---|
date | Mon, 27 Feb 2006 17:34:41 +0000 |
parents | f2c416cbdaa9 |
children | ad214997dddb |
comparison
equal
deleted
inserted
replaced
41:f2c416cbdaa9 | 42:1bdf285c4eac |
---|---|
166 virtual VerticalPosition getPreferredFrameCountPosition() const { | 166 virtual VerticalPosition getPreferredFrameCountPosition() const { |
167 return PositionTop; | 167 return PositionTop; |
168 } | 168 } |
169 | 169 |
170 virtual bool isLayerOpaque() const { return true; } | 170 virtual bool isLayerOpaque() const { return true; } |
171 | |
172 float getYForFrequency(float frequency) const; | |
173 float getFrequencyForY(int y) const; | |
171 | 174 |
172 virtual int getCompletion() const; | 175 virtual int getCompletion() const; |
173 | 176 |
174 virtual QString toXmlString(QString indent = "", | 177 virtual QString toXmlString(QString indent = "", |
175 QString extraAttributes = "") const; | 178 QString extraAttributes = "") const; |