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

Method OnUpdateInsertFrame

Source/MainFrm.cpp:1625–1631  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1623}
1624
1625void CMainFrame::OnUpdateInsertFrame(CCmdUI *pCmdUI)
1626{
1627 if (!GetDoc().IsFileLoaded()) // // //
1628 return;
1629
1630 pCmdUI->Enable(GetCurrentSong()->GetFrameCount() < MAX_FRAMES);
1631}
1632
1633void CMainFrame::OnUpdateRemoveFrame(CCmdUI *pCmdUI)
1634{

Callers

nothing calls this directly

Calls 2

IsFileLoadedMethod · 0.45
GetFrameCountMethod · 0.45

Tested by

no test coverage detected