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

Method GetLastSelectedFrame

Source/FrameEditorTypes.cpp:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58int CFrameSelection::GetLastSelectedFrame() const
59{
60 return std::max(m_cpStart.m_iFrame, m_cpEnd.m_iFrame) - 1;
61}
62
63int CFrameSelection::GetSelectedFrameCount() const {
64 return std::abs(m_cpEnd.m_iFrame - m_cpStart.m_iFrame);

Callers 3

OnEditSelectotherMethod · 0.80
DrawFrameEditorMethod · 0.80
GetFrameEndMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected