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

Method OnBnClickedIncFrame

Source/MainFrm.cpp:1489–1498  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1487}
1488
1489void CMainFrame::OnBnClickedIncFrame()
1490{
1491 if (GetTrackerView()->GetSelectedFrame() != GetFrameEditor()->GetEditFrame()) // // //
1492 return;
1493 int Add = (CheckRepeat() ? 4 : 1);
1494 if (ChangeAllPatterns())
1495 AddAction(std::make_unique<CFActionChangePatternAll>(Add)); // // //
1496 else
1497 AddAction(std::make_unique<CFActionChangePattern>(Add));
1498}
1499
1500void CMainFrame::OnBnClickedDecFrame()
1501{

Callers

nothing calls this directly

Calls 2

GetSelectedFrameMethod · 0.80
GetEditFrameMethod · 0.80

Tested by

no test coverage detected