comparison view/View.h @ 183:5f86ae638b04

* Omit translucent blue fill for selection rectangles that are superimposed over layers that use colours for meaningful purposes such as the spectrogram (CHARM change request)
author Chris Cannam
date Fri, 24 Nov 2006 16:56:15 +0000
parents 9e6b3e239b9d
children 5b7472db612b
comparison
equal deleted inserted replaced
182:42118892f428 183:5f86ae638b04
275 LayerList getNonScrollableFrontLayers(bool testChanged, bool &changed) const; 275 LayerList getNonScrollableFrontLayers(bool testChanged, bool &changed) const;
276 size_t getZoomConstraintBlockSize(size_t blockSize, 276 size_t getZoomConstraintBlockSize(size_t blockSize,
277 ZoomConstraint::RoundingDirection dir = 277 ZoomConstraint::RoundingDirection dir =
278 ZoomConstraint::RoundNearest) const; 278 ZoomConstraint::RoundNearest) const;
279 279
280 // True if the top layer(s) use colours for meaningful things. If
281 // this is the case, selections will be shown using unfilled boxes
282 // rather than with a translucent fill.
283 bool areLayerColoursSignificant() const;
284
280 bool setCentreFrame(size_t f, bool doEmit); 285 bool setCentreFrame(size_t f, bool doEmit);
281 286
282 void checkProgress(void *object); 287 void checkProgress(void *object);
283 288
284 size_t m_centreFrame; 289 size_t m_centreFrame;