| 270 | // CFamiTrackerView construction/destruction |
| 271 | |
| 272 | CFamiTrackerView::CFamiTrackerView() : |
| 273 | m_iClipboard(0), |
| 274 | m_iMoveKeyStepping(1), |
| 275 | m_iInsertKeyStepping(1), |
| 276 | m_bEditEnable(false), |
| 277 | m_bMaskInstrument(false), |
| 278 | m_bMaskVolume(true), |
| 279 | m_bSwitchToInstrument(false), |
| 280 | m_iPastePos(paste_pos_t::CURSOR), // // // |
| 281 | m_iSwitchToInstrument(-1), |
| 282 | m_bFollowMode(true), |
| 283 | m_bCompactMode(false), // // // |
| 284 | m_iMarkerFrame(-1), // // // 050B |
| 285 | m_iMarkerRow(-1), // // // 050B |
| 286 | m_iSplitNote(-1), // // // |
| 287 | m_iSplitInstrument(MAX_INSTRUMENTS), // // // |
| 288 | m_iSplitTranspose(0), // // // |
| 289 | m_iNoteCorrection(), // // // |
| 290 | m_pNoteQueue(std::make_unique<CNoteQueue>()), // // // |
| 291 | m_nDropEffect(DROPEFFECT_NONE), |
| 292 | m_bDragSource(false), |
| 293 | m_pPatternEditor(std::make_unique<CPatternEditor>()) // // // |
| 294 | { |
| 295 | // Register this object in the sound generator |
| 296 | CSoundGen *pSoundGen = FTEnv.GetSoundGenerator(); |
| 297 | ASSERT_VALID(pSoundGen); |
| 298 | |
| 299 | pSoundGen->AssignView(this); |
| 300 | m_pArpeggiator = &pSoundGen->GetArpeggiator(); // // // |
| 301 | } |
| 302 | |
| 303 | CFamiTrackerView::~CFamiTrackerView() |
| 304 | { |
nothing calls this directly
no test coverage detected