void AutomationUI::setViewRange(float start, float end) { viewStartPos = start; viewEndPos = end; updateROI(); resized(); }
void Controller::rescaleSpectrum(int bands) { // TODO: this was cancelTasks with current ROI. Now all tasks cancelled. // FIXME: This might break stuff! queue.cancelTasks(); updateROI(false, cv::Rect(), bands); }
void AutomationUI::removeItemUIInternal(AutomationKeyUI * kui) { if (transformer != nullptr) { removeChildComponent(transformer); transformer = nullptr; } kui->handle.removeMouseListener(this); updateROI(); }
void Controller::invalidateROI(cv::Rect newRoi) { const bool reuse = false; updateROI(reuse, newRoi); }
void Controller::spawnROI(cv::Rect newRoi) { const bool reuse = true; updateROI(reuse, newRoi); }
void AutomationUI::itemsReordered() { BaseManagerUI::itemsReordered(); updateROI(); }
void AutomationUI::itemAdded(AutomationKey * k) { BaseManagerUI::itemAdded(k); updateROI(); }