Mercurial > hg > svgui
comparison view/ViewManager.h @ 1281:fc9d9f1103fa horizontal-scale
Provide linear horizontal scale in spectrum as well as log; fix bin positioning and colour scale property box updating; ensure proper background colour and visibility of peak lines
author | Chris Cannam |
---|---|
date | Thu, 03 May 2018 15:15:15 +0100 |
parents | 7527701c8076 |
children | 646e713a4632 |
comparison
equal
deleted
inserted
replaced
1280:34394e8c2942 | 1281:fc9d9f1103fa |
---|---|
217 return m_overlayMode != NoOverlays; | 217 return m_overlayMode != NoOverlays; |
218 } | 218 } |
219 bool shouldShowVerticalColourScale() const { | 219 bool shouldShowVerticalColourScale() const { |
220 return m_overlayMode == AllOverlays; | 220 return m_overlayMode == AllOverlays; |
221 } | 221 } |
222 bool shouldShowHorizontalValueScale() const { // for layers where x != time | |
223 return m_overlayMode != NoOverlays; | |
224 } | |
222 bool shouldShowSelectionExtents() const { | 225 bool shouldShowSelectionExtents() const { |
223 return m_overlayMode != NoOverlays && m_overlayMode != GlobalOverlays; | 226 return m_overlayMode != NoOverlays && m_overlayMode != GlobalOverlays; |
224 } | 227 } |
225 bool shouldShowLayerNames() const { | 228 bool shouldShowLayerNames() const { |
226 return m_overlayMode == AllOverlays; | 229 return m_overlayMode == AllOverlays; |