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

Method GetEditFrame

Source/FrameEditor.cpp:1137–1146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1135}
1136
1137int CFrameEditor::GetEditFrame() const // // //
1138{
1139 int Frame = model_->GetCurrentFrame();
1140 if (m_bLastRow)
1141 if (Frame != GetSongFrameCount() - 1) { // // //
1142 m_bLastRow = false;
1143 SetEditFrame(++Frame);
1144 }
1145 return Frame + (m_bLastRow ? 1 : 0);
1146}
1147
1148void CFrameEditor::SetEditFrame(int Frame) const // // //
1149{

Callers 3

OnBnClickedIncFrameMethod · 0.80
OnBnClickedDecFrameMethod · 0.80
CFrameEditorStateMethod · 0.80

Calls 1

GetCurrentFrameMethod · 0.45

Tested by

no test coverage detected