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

Method PullUp

Source/SongData.cpp:254–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254void CSongData::PullUp(stChannelID Chan, unsigned Frame, unsigned Row) {
255 auto &Pattern = GetPatternOnFrame(Chan, Frame);
256 int PatternLen = GetPatternLength();
257
258 for (int i = Row; i < PatternLen - 1; ++i)
259 Pattern.SetNoteOn(i, Pattern.GetNoteOn(i + 1)); // // //
260 Pattern.SetNoteOn(PatternLen - 1, { });
261}
262
263void CSongData::InsertRow(stChannelID Chan, unsigned Frame, unsigned Row) {
264 auto &Pattern = GetPatternOnFrame(Chan, Frame); // // //

Callers 2

UndoMethod · 0.45
RedoMethod · 0.45

Calls 1

SetNoteOnMethod · 0.80

Tested by

no test coverage detected