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

Method OnBnClickedDecFrame

Source/MainFrm.cpp:1500–1509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1498}
1499
1500void CMainFrame::OnBnClickedDecFrame()
1501{
1502 if (GetTrackerView()->GetSelectedFrame() != GetFrameEditor()->GetEditFrame()) // // //
1503 return;
1504 int Remove = -(CheckRepeat() ? 4 : 1);
1505 if (ChangeAllPatterns())
1506 AddAction(std::make_unique<CFActionChangePatternAll>(Remove)); // // //
1507 else
1508 AddAction(std::make_unique<CFActionChangePattern>(Remove));
1509}
1510
1511bool CMainFrame::ChangeAllPatterns() const
1512{

Callers

nothing calls this directly

Calls 2

GetSelectedFrameMethod · 0.80
GetEditFrameMethod · 0.80

Tested by

no test coverage detected