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

Method OnEditCopy

Source/FamiTrackerView.cpp:846–856  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

844////////////////////////////////////////////////////////////////////////////////////////////////////////////
845
846void CFamiTrackerView::OnEditCopy()
847{
848 if (m_pPatternEditor->GetSelectionCondition() == sel_condition_t::NONTERMINAL_SKIP) { // // //
849 CMainFrame *pMainFrm = GetMainFrame(); // // //
850 MessageBeep(MB_ICONWARNING);
851 pMainFrm->SetMessageText(IDS_SEL_NONTERMINAL_SKIP);
852 return;
853 }
854
855 CClipboard::CopyToClipboard(this, m_iClipboard, m_pPatternEditor->Copy()); // // //
856}
857
858void CFamiTrackerView::OnEditCut()
859{

Callers

nothing calls this directly

Calls 2

GetSelectionConditionMethod · 0.80
CopyMethod · 0.80

Tested by

no test coverage detected