| 69 | // // // Frame editor state class |
| 70 | |
| 71 | CFrameEditorState::CFrameEditorState(const CFamiTrackerView &View) : // // // |
| 72 | Cursor {static_cast<CMainFrame*>(View.GetParentFrame())->GetFrameEditor()->GetEditFrame(), View.GetSelectedChannel()}, |
| 73 | OriginalSelection(static_cast<CMainFrame*>(View.GetParentFrame())->GetFrameEditor()->GetSelection()), |
| 74 | IsSelecting(static_cast<CMainFrame*>(View.GetParentFrame())->GetFrameEditor()->IsSelecting()) |
| 75 | { |
| 76 | Selection = OriginalSelection.GetNormalized(); |
| 77 | } |
| 78 | |
| 79 | void CFrameEditorState::ApplyState(CFamiTrackerView &View) const |
| 80 | { |
nothing calls this directly
no test coverage detected