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

Method MakeFullSelection

Source/FrameEditorModel.cpp:88–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88CFrameSelection CFrameEditorModel::MakeFullSelection() const {
89 CSongView *pSongView = view_->GetSongView();
90 return {
91 {0, 0},
92 {(int)pSongView->GetSong().GetFrameCount(), (int)pSongView->GetChannelOrder().GetChannelCount()},
93 };
94}
95
96CFrameSelection CFrameEditorModel::GetActiveSelection() const {
97 return IsSelecting() ? m_selection : MakeFrameSelection(GetCurrentFrame());

Callers 2

CopyEntireMethod · 0.80
OnEditSelectallMethod · 0.80

Calls 4

GetSongViewMethod · 0.80
GetSongMethod · 0.80
GetFrameCountMethod · 0.45
GetChannelCountMethod · 0.45

Tested by

no test coverage detected