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

Method OnUpdateModuleMoveframedown

Source/MainFrm.cpp:1649–1657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1647}
1648
1649void CMainFrame::OnUpdateModuleMoveframedown(CCmdUI *pCmdUI)
1650{
1651 const CFamiTrackerDoc &Doc = GetDoc();
1652
1653 if (!Doc.IsFileLoaded())
1654 return;
1655
1656 pCmdUI->Enable(!(GetTrackerView()->GetSelectedFrame() == (GetCurrentSong()->GetFrameCount() - 1))); // // //
1657}
1658
1659void CMainFrame::OnUpdateModuleMoveframeup(CCmdUI *pCmdUI)
1660{

Callers

nothing calls this directly

Calls 3

GetSelectedFrameMethod · 0.80
IsFileLoadedMethod · 0.45
GetFrameCountMethod · 0.45

Tested by

no test coverage detected