2016-01-27 09:11:59 +00:00
|
|
|
/****************************************************************************
|
|
|
|
* *
|
|
|
|
* Project64 - A Nintendo 64 emulator. *
|
|
|
|
* http://www.pj64-emu.com/ *
|
|
|
|
* Copyright (C) 2012 Project64. All rights reserved. *
|
|
|
|
* *
|
|
|
|
* License: *
|
|
|
|
* GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html *
|
|
|
|
* *
|
|
|
|
****************************************************************************/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class CAdvancedOptionsPage :
|
|
|
|
public CSettingsPageImpl<CAdvancedOptionsPage>,
|
|
|
|
public CSettingsPage
|
|
|
|
{
|
|
|
|
|
|
|
|
BEGIN_MSG_MAP_EX(CAdvancedOptionsPage)
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_START_ON_ROM_OPEN,CheckBoxChanged)
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_ZIP,CheckBoxChanged)
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_DEBUGGER,CheckBoxChanged)
|
2017-08-18 05:08:22 +00:00
|
|
|
COMMAND_ID_HANDLER_EX(IDC_INTERPRETER, CheckBoxChanged)
|
2016-01-27 09:11:59 +00:00
|
|
|
COMMAND_ID_HANDLER_EX(IDC_REMEMBER_CHEAT,CheckBoxChanged)
|
2016-06-05 13:35:53 +00:00
|
|
|
COMMAND_ID_HANDLER_EX(IDC_CHECK_RUNNING, CheckBoxChanged)
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_UNIQUE_SAVE_DIR, CheckBoxChanged)
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_DISPLAY_FRAMERATE, CheckBoxChanged)
|
2016-01-27 09:11:59 +00:00
|
|
|
COMMAND_HANDLER_EX(IDC_FRAME_DISPLAY_TYPE,LBN_SELCHANGE,ComboBoxChanged)
|
|
|
|
END_MSG_MAP()
|
|
|
|
|
|
|
|
enum { IDD = IDD_Settings_Advanced };
|
|
|
|
|
|
|
|
public:
|
|
|
|
CAdvancedOptionsPage(HWND hParent, const RECT & rcDispay );
|
|
|
|
|
2018-11-25 09:44:15 +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:
|
2016-06-05 13:35:53 +00:00
|
|
|
void UpdatePageSettings(void);
|
|
|
|
|
|
|
|
bool m_InUpdateSettings;
|
2016-01-27 09:11:59 +00:00
|
|
|
};
|