void updateEditorFrameRanges() { double zoomRight = parent->toTimeLine(parent->width() - 1); gui->getCurveEditor()->getCurveWidget()->centerOn(tlZoomCtx.left - 5, zoomRight - 5); gui->getDopeSheetEditor()->centerOn(tlZoomCtx.left - 5, zoomRight - 5); }
void updateOpenedViewersFrameRanges() { double zoomRight = parent->toTimeLine(parent->width() - 1); const std::list<ViewerTab *> &viewers = gui->getViewersList(); for (std::list<ViewerTab *>::const_iterator it = viewers.begin(); it != viewers.end(); ++it) { if ( (*it) != viewerTab ) { (*it)->centerOn(tlZoomCtx.left, zoomRight); } } }
void updateEditorFrameRanges() { double zoomRight = parent->toTimeLine(parent->width() - 1); gui->getAnimationModuleEditor()->centerOn(tlZoomCtx.left - 5, zoomRight - 5); }