| 119 | } |
| 120 | |
| 121 | void CFrameEditorModel::ContinueFrameSelection(int frame) { |
| 122 | if (IsSelecting()) { |
| 123 | CSongView *pSongView = view_->GetSongView(); |
| 124 | selStart_.m_iChannel = 0; |
| 125 | selEnd_ = {frame, (int)pSongView->GetChannelOrder().GetChannelCount()}; |
| 126 | Select(CFrameSelection::Including(selStart_, selEnd_)); |
| 127 | } |
| 128 | } |
| 129 | |
| 130 | bool CFrameEditorModel::IsFrameSelected(int frame) const { |
| 131 | return IsSelecting() && m_selection.IncludesFrame(frame); |
no test coverage detected