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

Method OnFileGeneralsettings

Source/MainFrm.cpp:1806–1840  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1804}
1805
1806void CMainFrame::OnFileGeneralsettings()
1807{
1808 CStringW Title;
1809 GetMessageString(IDS_CONFIG_WINDOW, Title);
1810 CPropertySheet ConfigWindow(Title, this, 0);
1811
1812 CConfigGeneral TabGeneral;
1813 CConfigVersion TabVersion; // // //
1814 CConfigAppearance TabAppearance;
1815 CConfigMIDI TabMIDI;
1816 CConfigSound TabSound;
1817 CConfigShortcuts TabShortcuts;
1818 CConfigMixer TabMixer;
1819
1820 ConfigWindow.m_psh.dwFlags &= ~PSH_HASHELP;
1821 TabGeneral.m_psp.dwFlags &= ~PSP_HASHELP;
1822 TabVersion.m_psp.dwFlags &= ~PSP_HASHELP;
1823 TabAppearance.m_psp.dwFlags &= ~PSP_HASHELP;
1824 TabMIDI.m_psp.dwFlags &= ~PSP_HASHELP;
1825 TabSound.m_psp.dwFlags &= ~PSP_HASHELP;
1826 TabShortcuts.m_psp.dwFlags &= ~PSP_HASHELP;
1827 TabMixer.m_psp.dwFlags &= ~PSP_HASHELP;
1828
1829 ConfigWindow.AddPage(&TabGeneral);
1830 ConfigWindow.AddPage(&TabVersion);
1831 ConfigWindow.AddPage(&TabAppearance);
1832 ConfigWindow.AddPage(&TabMIDI);
1833 ConfigWindow.AddPage(&TabSound);
1834 ConfigWindow.AddPage(&TabShortcuts);
1835 ConfigWindow.AddPage(&TabMixer);
1836
1837 ConfigWindow.DoModal();
1838
1839 GetTrackerView()->UpdateNoteQueues(); // // // auto arp setting
1840}
1841
1842void CMainFrame::SetSongInfo(const CFamiTrackerModule &modfile) { // // //
1843 m_wndDialogBar.SetDlgItemTextW(IDC_SONG_NAME, conv::to_wide(modfile.GetModuleName()).data());

Callers

nothing calls this directly

Calls 1

UpdateNoteQueuesMethod · 0.80

Tested by

no test coverage detected