| 1012 | } |
| 1013 | |
| 1014 | void CFrameEditor::ClearPatterns(const CFrameSelection &Sel) // // // |
| 1015 | { |
| 1016 | CSongView *pSongView = m_pView->GetSongView(); |
| 1017 | for (auto [b, e] = CFrameIterator::FromSelection(Sel, *pSongView); b != e; ++b) |
| 1018 | for (int c = b.m_iChannel; c < e.m_iChannel; ++c) |
| 1019 | pSongView->GetPatternOnFrame(c, b.m_iFrame) = CPatternData { }; |
| 1020 | } |
| 1021 | |
| 1022 | bool CFrameEditor::InputEnabled() const |
| 1023 | { |