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

Method CPatternEditorState

Source/PatternAction.cpp:44–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42// // // Pattern editor state class
43
44CPatternEditorState::CPatternEditorState(const CPatternEditor &Editor) :
45 Cursor(Editor.GetCursor()),
46 OriginalSelection(Editor.GetSelection()),
47 IsSelecting(Editor.IsSelecting())
48{
49 Selection = OriginalSelection.GetNormalized();
50}
51
52void CPatternEditorState::ApplyState(CPatternEditor &Editor) const
53{

Callers

nothing calls this directly

Calls 4

GetCursorMethod · 0.45
GetSelectionMethod · 0.45
IsSelectingMethod · 0.45
GetNormalizedMethod · 0.45

Tested by

no test coverage detected