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

Method CancelSelection

Source/PatternEditor.cpp:1855–1868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1853// Cursor movement
1854
1855void CPatternEditor::CancelSelection()
1856{
1857 if (m_bSelecting)
1858 m_bSelectionInvalidated = true;
1859
1860 m_bSelecting = false;
1861 m_bCurrentlySelecting = false;
1862 m_iWarpCount = 0; // // //
1863 m_iDragBeginWarp = 0; // // //
1864 m_selection.m_cpEnd = m_selection.m_cpStart = m_cpCursorPos; // // //
1865
1866 m_bDragStart = false;
1867 m_bDragging = false;
1868}
1869
1870void CPatternEditor::SetSelectionStart(const CCursorPos &start)
1871{

Callers 1

~CSelectionGuardMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected