2016-01-27 09:11:59 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class CAdvancedOptionsPage :
|
2021-02-23 04:38:01 +00:00
|
|
|
public CSettingsPageImpl<CAdvancedOptionsPage>,
|
|
|
|
public CSettingsPage
|
2016-01-27 09:11:59 +00:00
|
|
|
{
|
|
|
|
|
2021-02-23 04:38:01 +00:00
|
|
|
BEGIN_MSG_MAP_EX(CAdvancedOptionsPage)
|
2022-09-26 02:31:54 +00:00
|
|
|
{
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_START_ON_ROM_OPEN, CheckBoxChanged);
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_ZIP, CheckBoxChanged);
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_DEBUGGER, CheckBoxChanged);
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_INTERPRETER, CheckBoxChanged);
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_REMEMBER_CHEAT, CheckBoxChanged);
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_CHECK_RUNNING, CheckBoxChanged);
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_ENABLE_ENHANCEMENTS, CheckBoxChanged);
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_UNIQUE_SAVE_DIR, CheckBoxChanged);
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_DISPLAY_FRAMERATE, CheckBoxChanged);
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_SHOW_STATUS_BAR, CheckBoxChanged);
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_EXIT_FULLSCREEN_ON_LOSE_FOCUS, CheckBoxChanged);
|
|
|
|
COMMAND_HANDLER_EX(IDC_FRAME_DISPLAY_TYPE, LBN_SELCHANGE, ComboBoxChanged);
|
|
|
|
}
|
2021-02-23 04:38:01 +00:00
|
|
|
END_MSG_MAP()
|
2016-01-27 09:11:59 +00:00
|
|
|
|
2022-09-26 02:31:54 +00:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
IDD = IDD_Settings_Advanced
|
|
|
|
};
|
2016-01-27 09:11:59 +00:00
|
|
|
|
|
|
|
public:
|
2022-09-26 02:31:54 +00:00
|
|
|
CAdvancedOptionsPage(HWND hParent, const RECT & rcDispay);
|
2016-01-27 09:11:59 +00:00
|
|
|
|
2022-09-26 02:31:54 +00:00
|
|
|
LanguageStringID PageTitle(void)
|
|
|
|
{
|
|
|
|
return TAB_ADVANCED;
|
|
|
|
}
|
|
|
|
void HidePage(void);
|
|
|
|
void ShowPage(void);
|
|
|
|
void ApplySettings(bool UpdateScreen);
|
|
|
|
bool EnableReset(void);
|
|
|
|
void ResetPage(void);
|
2016-01-27 09:11:59 +00:00
|
|
|
|
|
|
|
private:
|
2021-02-23 04:38:01 +00:00
|
|
|
void UpdatePageSettings(void);
|
2016-06-05 13:35:53 +00:00
|
|
|
|
2021-02-23 04:38:01 +00:00
|
|
|
bool m_InUpdateSettings;
|
2016-01-27 09:11:59 +00:00
|
|
|
};
|