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

Method OnUpdateFramesEdit

Source/MainFrm.cpp:1771–1780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1769}
1770
1771void CMainFrame::OnUpdateFramesEdit(CCmdUI *pCmdUI)
1772{
1773 if (!m_cLockedEditFrames.IsEditable()) {
1774 if (m_cLockedEditFrames.Update())
1775 SetFrameCount(m_cLockedEditFrames.GetValue());
1776 else {
1777 pCmdUI->SetText(FormattedW(L"%i", GetCurrentSong()->GetFrameCount())); // // //
1778 }
1779 }
1780}
1781
1782void CMainFrame::OnUpdateHighlight1(CCmdUI *pCmdUI) // // //
1783{

Callers

nothing calls this directly

Calls 5

FormattedWFunction · 0.85
IsEditableMethod · 0.80
UpdateMethod · 0.45
GetValueMethod · 0.45
GetFrameCountMethod · 0.45

Tested by

no test coverage detected