Mercurial > hg > svgui
diff layer/Layer.h @ 1391:c39f2d439d59 spectrogramparam
Toward highlighting peaks on spectrum
author | Chris Cannam |
---|---|
date | Tue, 13 Nov 2018 15:16:48 +0000 |
parents | 3c99083a4d83 |
children | a18e78b9c78b |
line wrap: on
line diff
--- a/layer/Layer.h Tue Nov 13 14:48:42 2018 +0000 +++ b/layer/Layer.h Tue Nov 13 15:16:48 2018 +0000 @@ -414,6 +414,12 @@ virtual PlayParameters *getPlayParameters(); + /** + * True if this layer will need to place text labels when it is + * painted. The view will take into account how many layers are + * requesting this, and will provide a distinct y-coord to each + * layer on request via View::getTextLabelHeight(). + */ virtual bool needsTextLabelHeight() const { return false; } /**