MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / ApplyState

Method ApplyState

Source/FrameAction.cpp:79–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void 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
87int CFrameEditorState::GetFrameStart() const
88{

Callers 2

RestoreUndoStateMethod · 0.45
RestoreRedoStateMethod · 0.45

Calls 5

SetEditFrameMethod · 0.80
GetFrameEditorMethod · 0.45
SelectChannelMethod · 0.45
SetSelectionMethod · 0.45
CancelSelectionMethod · 0.45

Tested by

no test coverage detected