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

Method TranslateMML

Source/InstrumentEditPanel.cpp:259–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259void CSequenceInstrumentEditPanel::TranslateMML(const CStringW &String) const
260{
261 // Takes a string and translates it into a sequence
262 m_pParser->ParseSequence(conv::to_utf8(String)); // // //
263
264 // Update editor
265 if (m_pSequenceEditor != nullptr)
266 m_pSequenceEditor->RedrawWindow();
267
268 // Register a document change
269 GetDocument()->ModifyIrreversible(); // // //
270}
271
272void CSequenceInstrumentEditPanel::OnRClickInstSettings(NMHDR* pNMHDR, LRESULT* pResult)
273{

Callers

nothing calls this directly

Calls 3

to_utf8Function · 0.85
ParseSequenceMethod · 0.80
ModifyIrreversibleMethod · 0.80

Tested by

no test coverage detected