Mercurial > hg > svgui
comparison view/View.h @ 1085:179ea8a2f650 spectrogram-minor-refactor
Add VerticalBinLayer to SpectrogramLayer
author | Chris Cannam |
---|---|
date | Fri, 01 Jul 2016 17:54:31 +0100 |
parents | ee01a4062747 |
children | 57d192e26331 6828735468c9 |
comparison
equal
deleted
inserted
replaced
1084:db976e9f385a | 1085:179ea8a2f650 |
---|---|
142 * Return the closest frequency to the given pixel y-coordinate, | 142 * Return the closest frequency to the given pixel y-coordinate, |
143 * if the frequency range is as specified. | 143 * if the frequency range is as specified. |
144 * | 144 * |
145 * Not thread-safe in logarithmic mode. Call only from GUI thread. | 145 * Not thread-safe in logarithmic mode. Call only from GUI thread. |
146 */ | 146 */ |
147 double getFrequencyForY(int y, double minFreq, double maxFreq, | 147 double getFrequencyForY(double y, double minFreq, double maxFreq, |
148 bool logarithmic) const; | 148 bool logarithmic) const; |
149 | 149 |
150 /** | 150 /** |
151 * Return the zoom level, i.e. the number of frames per pixel | 151 * Return the zoom level, i.e. the number of frames per pixel |
152 */ | 152 */ |
153 int getZoomLevel() const; | 153 int getZoomLevel() const; |