Mercurial > hg > svgui
comparison view/Pane.cpp @ 135:e98130764635
* Sensible default for vertical thumbwheel on spectrogram layer
author | Chris Cannam |
---|---|
date | Mon, 21 Aug 2006 13:18:50 +0000 |
parents | 9e6b3e239b9d |
children | a859b87162ca |
comparison
equal
deleted
inserted
replaced
134:13949a6970ab | 135:e98130764635 |
---|---|
145 m_vthumb->show(); | 145 m_vthumb->show(); |
146 m_vthumb->setMinimumValue(0); | 146 m_vthumb->setMinimumValue(0); |
147 m_vthumb->setMaximumValue(max); | 147 m_vthumb->setMaximumValue(max); |
148 m_vthumb->setDefaultValue(defaultStep); | 148 m_vthumb->setDefaultValue(defaultStep); |
149 m_vthumb->setValue(layer->getCurrentVerticalZoomStep()); | 149 m_vthumb->setValue(layer->getCurrentVerticalZoomStep()); |
150 | |
151 std::cerr << "Vertical thumbwheel: min 0, max " << max | |
152 << ", default " << defaultStep << ", value " | |
153 << m_vthumb->getValue() << std::endl; | |
154 | |
150 } | 155 } |
151 } | 156 } |
152 | 157 |
153 if (m_manager && m_manager->getZoomWheelsEnabled() && | 158 if (m_manager && m_manager->getZoomWheelsEnabled() && |
154 width() > 120 && height() > 100) { | 159 width() > 120 && height() > 100) { |