Mercurial > hg > sonic-visualiser
comparison main/OSCHandler.cpp @ 701:9cc2027d388b tony_integration
Update to current state of tonioni and default branches
author | Chris Cannam |
---|---|
date | Tue, 11 Mar 2014 18:09:41 +0000 |
parents | 17fe7e0c23a1 |
children | 73a5884a0975 |
comparison
equal
deleted
inserted
replaced
694:959f01137742 | 701:9cc2027d388b |
---|---|
347 m_playSpeed->setMappedValue(value); | 347 m_playSpeed->setMappedValue(value); |
348 } else if (property == "overlays") { | 348 } else if (property == "overlays") { |
349 if (value < 0.5) { | 349 if (value < 0.5) { |
350 m_viewManager->setOverlayMode(ViewManager::NoOverlays); | 350 m_viewManager->setOverlayMode(ViewManager::NoOverlays); |
351 } else if (value < 1.5) { | 351 } else if (value < 1.5) { |
352 m_viewManager->setOverlayMode(ViewManager::MinimalOverlays); | 352 m_viewManager->setOverlayMode(ViewManager::StandardOverlays); |
353 } else { | 353 } else { |
354 m_viewManager->setOverlayMode(ViewManager::AllOverlays); | 354 m_viewManager->setOverlayMode(ViewManager::AllOverlays); |
355 } | 355 } |
356 } else if (property == "zoomwheels") { | 356 } else if (property == "zoomwheels") { |
357 m_viewManager->setZoomWheelsEnabled(value > 0.5); | 357 m_viewManager->setZoomWheelsEnabled(value > 0.5); |