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

Method UpdateSequenceString

Source/InstrumentEditorSeq.cpp:120–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120void CInstrumentEditorSeq::UpdateSequenceString(bool Changed) // // //
121{
122 // Update sequence string
123 SetupParser(); // // //
124 SetDlgItemTextW(IDC_SEQUENCE_STRING, conv::to_wide(m_pParser->PrintSequence()).data()); // // //
125 // If the sequence was changed, assume the user wants to enable it
126 if (Changed) {
127 static_cast<CListCtrl*>(GetDlgItem(IDC_INSTSETTINGS))->SetCheck(value_cast(m_iSelectedSetting), 1);
128 }
129}
130
131BEGIN_MESSAGE_MAP(CInstrumentEditorSeq, CSequenceInstrumentEditPanel)
132 ON_NOTIFY(LVN_ITEMCHANGED, IDC_INSTSETTINGS, OnLvnItemchangedInstsettings)

Callers 1

Calls 4

to_wideFunction · 0.85
value_castFunction · 0.85
PrintSequenceMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected