Mercurial > hg > svgui
diff 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 |
line wrap: on
line diff
--- a/view/View.h Fri Nov 17 16:27:39 2006 +0000 +++ b/view/View.h Fri Nov 24 16:56:15 2006 +0000 @@ -277,6 +277,11 @@ ZoomConstraint::RoundingDirection dir = ZoomConstraint::RoundNearest) const; + // True if the top layer(s) use colours for meaningful things. If + // this is the case, selections will be shown using unfilled boxes + // rather than with a translucent fill. + bool areLayerColoursSignificant() const; + bool setCentreFrame(size_t f, bool doEmit); void checkProgress(void *object);