comparison main/OSCHandler.cpp @ 2339:1e77e4ee27f5 time-frequency-boxes

Update to new PaneStack options API
author Chris Cannam
date Fri, 04 Oct 2019 16:05:08 +0100
parents eb7f4579e5cc
children efbf5ecb76b6
comparison
equal deleted inserted replaced
2338:3dacb1001537 2339:1e77e4ee27f5
424 } 424 }
425 } else if (property == "zoomwheels") { 425 } else if (property == "zoomwheels") {
426 m_viewManager->setZoomWheelsEnabled(value > 0.5); 426 m_viewManager->setZoomWheelsEnabled(value > 0.5);
427 } else if (property == "propertyboxes") { 427 } else if (property == "propertyboxes") {
428 bool toggle = ((value < 0.5) != 428 bool toggle = ((value < 0.5) !=
429 (m_paneStack->getLayoutStyle() == PaneStack::NoPropertyStacks)); 429 (m_paneStack->getLayoutStyle() ==
430 PaneStack::HiddenPropertyStacksLayout));
430 if (toggle) togglePropertyBoxes(); 431 if (toggle) togglePropertyBoxes();
431 } 432 }
432 433
433 } else { 434 } else {
434 PropertyContainer *container = nullptr; 435 PropertyContainer *container = nullptr;