void TXsheet::updateFrameCount() { m_imp->m_frameCount = 0; for (int i = 0; i < m_imp->m_columnSet.getColumnCount(); ++i) { TXshColumnP cc = m_imp->m_columnSet.getColumn(i); if (cc && !cc->isEmpty()) m_imp->m_frameCount = std::max(m_imp->m_frameCount, cc->getMaxFrame() + 1); } }
int TXsheet::getMaxFrame(int col) const { TXshColumnP column = m_imp->m_columnSet.getColumn(col); if (!column) return 0; return column->getMaxFrame(); }