Mercurial > hg > svgui
comparison layer/ScrollableMagRangeCache.h @ 1143:c53ed1a6fcbd spectrogram-minor-refactor
Fixes to phase display and colour scale for it; tidy up some debug output
author | Chris Cannam |
---|---|
date | Fri, 05 Aug 2016 14:31:16 +0100 |
parents | 94370157b265 |
children | a34a2a25907c |
comparison
equal
deleted
inserted
replaced
1142:8f4634b82e36 | 1143:c53ed1a6fcbd |
---|---|
128 * the first column in the cache, it has nothing to do with any | 128 * the first column in the cache, it has nothing to do with any |
129 * underlying model that the cache may be used with.) | 129 * underlying model that the cache may be used with.) |
130 */ | 130 */ |
131 void sampleColumn(int column, const MagnitudeRange &r); | 131 void sampleColumn(int column, const MagnitudeRange &r); |
132 | 132 |
133 /** | |
134 * Update a column in the cache, by frame. | |
135 */ | |
136 void sampleColumn(const LayerGeometryProvider *v, sv_frame_t frame, | |
137 const MagnitudeRange &r); | |
138 | |
139 private: | 133 private: |
140 std::vector<MagnitudeRange> m_ranges; | 134 std::vector<MagnitudeRange> m_ranges; |
141 sv_frame_t m_startFrame; | 135 sv_frame_t m_startFrame; |
142 int m_zoomLevel; | 136 int m_zoomLevel; |
143 }; | 137 }; |