void TApp::onXsheetChanged() { updateXshLevel(); updateCurrentFrame(); //update current tool m_currentTool->onImageChanged((TImage::Type)getCurrentImageType()); }
void TApp::onColumnIndexSwitched() { // update xsheetlevel updateXshLevel(); // update current object int columnIndex = m_currentColumn->getColumnIndex(); if (columnIndex >= 0) m_currentObject->setObjectId(TStageObjectId::ColumnId(columnIndex)); }
void TApp::onFrameSwitched() { updateXshLevel(); int row = m_currentFrame->getFrameIndex(); TCellSelection *sel = dynamic_cast<TCellSelection *>(TSelection::getCurrent()); if (sel && !sel->isRowSelected(row)) { sel->selectNone(); } }
void TApp::onXsheetSwitched() { // update current object int columnIndex = m_currentColumn->getColumnIndex(); if (columnIndex >= 0) m_currentObject->setObjectId(TStageObjectId::ColumnId(columnIndex)); // update xsheetlevel updateXshLevel(); // no Fx is setted to current. m_currentFx->setFx(0); }