Mercurial > hg > svgui
comparison layer/SpectrogramLayer.h @ 806:4c8ca536b54f warnfix_no_size_t
Some more unsigned/long removal
author | Chris Cannam |
---|---|
date | Tue, 17 Jun 2014 15:36:56 +0100 |
parents | 1d526ba11a24 |
children | 1986c9b0d9c3 b66fb15de477 |
comparison
equal
deleted
inserted
replaced
805:1d526ba11a24 | 806:4c8ca536b54f |
---|---|
308 */ | 308 */ |
309 struct ImageCache | 309 struct ImageCache |
310 { | 310 { |
311 QImage image; | 311 QImage image; |
312 QRect validArea; | 312 QRect validArea; |
313 long startFrame; | 313 int startFrame; |
314 int zoomLevel; | 314 int zoomLevel; |
315 }; | 315 }; |
316 typedef std::map<const View *, ImageCache> ViewImageCache; | 316 typedef std::map<const View *, ImageCache> ViewImageCache; |
317 void invalidateImageCaches(); | 317 void invalidateImageCaches(); |
318 void invalidateImageCaches(int startFrame, int endFrame); | 318 void invalidateImageCaches(int startFrame, int endFrame); |
342 | 342 |
343 float getEffectiveMinFrequency() const; | 343 float getEffectiveMinFrequency() const; |
344 float getEffectiveMaxFrequency() const; | 344 float getEffectiveMaxFrequency() const; |
345 | 345 |
346 struct LayerRange { | 346 struct LayerRange { |
347 long startFrame; | 347 int startFrame; |
348 int zoomLevel; | 348 int zoomLevel; |
349 int modelStart; | 349 int modelStart; |
350 int modelEnd; | 350 int modelEnd; |
351 }; | 351 }; |
352 | 352 |