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

Method GetLastSelectedChannel

Source/FrameEditorTypes.cpp:72–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72int CFrameSelection::GetLastSelectedChannel() const
73{
74 return std::max(m_cpStart.m_iChannel, m_cpEnd.m_iChannel) - 1;
75}
76
77int CFrameSelection::GetSelectedChanCount() const {
78 return std::abs(m_cpEnd.m_iChannel - m_cpStart.m_iChannel);

Callers 3

OnEditSelectotherMethod · 0.80
DrawFrameEditorMethod · 0.80
GetChanEndMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected