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

Method PasteInsert

Source/FrameEditor.cpp:1003–1007  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1001}
1002
1003void CFrameEditor::PasteInsert(int Frame, const CFrameClipData &ClipData) // // //
1004{
1005 m_pView->GetSongView()->GetSong().AddFrames(Frame, ClipData.ClipInfo.Frames);
1006 PasteAt(ClipData, ClipData.AsSelection(Frame).GetCursorStart());
1007}
1008
1009void CFrameEditor::PasteAt(const CFrameClipData &ClipData, const CFrameCursorPos &Pos) // // //
1010{

Callers 2

UndoMethod · 0.80
RedoMethod · 0.80

Calls 5

AddFramesMethod · 0.80
GetSongMethod · 0.80
GetSongViewMethod · 0.80
GetCursorStartMethod · 0.80
AsSelectionMethod · 0.80

Tested by

no test coverage detected