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

Method ContinueFrameSelection

Source/FrameEditorModel.cpp:121–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121void CFrameEditorModel::ContinueFrameSelection(int frame) {
122 if (IsSelecting()) {
123 CSongView *pSongView = view_->GetSongView();
124 selStart_.m_iChannel = 0;
125 selEnd_ = {frame, (int)pSongView->GetChannelOrder().GetChannelCount()};
126 Select(CFrameSelection::Including(selStart_, selEnd_));
127 }
128}
129
130bool CFrameEditorModel::IsFrameSelected(int frame) const {
131 return IsSelecting() && m_selection.IncludesFrame(frame);

Callers 1

OnMouseMoveMethod · 0.80

Calls 2

GetSongViewMethod · 0.80
GetChannelCountMethod · 0.45

Tested by

no test coverage detected