| 77 | } |
| 78 | |
| 79 | void CFrameEditorState::ApplyState(CFamiTrackerView &View) const |
| 80 | { |
| 81 | auto pEditor = static_cast<CMainFrame*>(View.GetParentFrame())->GetFrameEditor(); |
| 82 | pEditor->SetEditFrame(Cursor.m_iFrame); |
| 83 | View.SelectChannel(Cursor.m_iChannel); |
| 84 | IsSelecting ? pEditor->SetSelection(OriginalSelection) : pEditor->CancelSelection(); |
| 85 | } |
| 86 | |
| 87 | int CFrameEditorState::GetFrameStart() const |
| 88 | { |
no test coverage detected