Mercurial > hg > svgui
diff view/ViewManager.h @ 195:4a3bdde1ef13
* beginnings of spectrum scales
author | Chris Cannam |
---|---|
date | Mon, 29 Jan 2007 18:11:20 +0000 |
parents | 5b7472db612b |
children | e2baee498ec8 |
line wrap: on
line diff
--- a/view/ViewManager.h Fri Jan 26 17:20:58 2007 +0000 +++ b/view/ViewManager.h Mon Jan 29 18:11:20 2007 +0000 @@ -125,6 +125,9 @@ bool shouldShowLayerNames() const { return m_overlayMode == AllOverlays; } + bool shouldShowScaleGuides() const { + return m_overlayMode != NoOverlays; + } void setZoomWheelsEnabled(bool enable); bool getZoomWheelsEnabled() const { return m_zoomWheelsEnabled; }