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

Method CFrameEditorState

Source/FrameAction.cpp:71–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69// // // Frame editor state class
70
71CFrameEditorState::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
79void CFrameEditorState::ApplyState(CFamiTrackerView &View) const
80{

Callers

nothing calls this directly

Calls 6

GetEditFrameMethod · 0.80
GetSelectedChannelMethod · 0.80
GetFrameEditorMethod · 0.45
GetSelectionMethod · 0.45
IsSelectingMethod · 0.45
GetNormalizedMethod · 0.45

Tested by

no test coverage detected