2008-09-18 03:15:49 +00:00
|
|
|
#pragma once
|
|
|
|
|
2008-11-14 20:51:06 +00:00
|
|
|
#include "../WTL Controls/ModifiedCheckBox.h"
|
|
|
|
#include <N64 System/N64 Types.h>
|
|
|
|
|
2008-09-18 03:15:49 +00:00
|
|
|
class CGameGeneralPage :
|
2008-11-14 20:51:06 +00:00
|
|
|
public CSettingsPageImpl<CGameGeneralPage>,
|
2008-09-18 03:15:49 +00:00
|
|
|
public CSettingsPage
|
|
|
|
{
|
|
|
|
|
|
|
|
BEGIN_MSG_MAP_EX(CGameGeneralPage)
|
2008-11-14 20:51:06 +00:00
|
|
|
COMMAND_HANDLER_EX(IDC_RDRAM_SIZE,LBN_SELCHANGE,ComboBoxChanged)
|
|
|
|
COMMAND_HANDLER_EX(IDC_SAVE_TYPE,LBN_SELCHANGE,ComboBoxChanged)
|
|
|
|
COMMAND_HANDLER_EX(IDC_COUNTFACT,LBN_SELCHANGE,ComboBoxChanged)
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_SYNC_AUDIO,CheckBoxChanged)
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_ROM_FIXEDAUDIO,CheckBoxChanged)
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_USE_TLB,CheckBoxChanged)
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_DELAY_SI,CheckBoxChanged)
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_AUDIO_SIGNAL,CheckBoxChanged)
|
2008-12-04 10:41:51 +00:00
|
|
|
COMMAND_HANDLER_EX(IDC_VIREFRESH,EN_UPDATE,EditBoxChanged)
|
2008-09-18 03:15:49 +00:00
|
|
|
END_MSG_MAP()
|
|
|
|
|
|
|
|
enum { IDD = IDD_Settings_GameGeneral };
|
|
|
|
|
|
|
|
public:
|
|
|
|
CGameGeneralPage(HWND hParent, const RECT & rcDispay );
|
|
|
|
|
2008-11-14 20:51:06 +00:00
|
|
|
LanguageStringID PageTitle ( void ) { return TAB_ROMSETTINGS; }
|
|
|
|
void HidePage ( void );
|
|
|
|
void ShowPage ( void );
|
|
|
|
void ApplySettings ( bool UpdateScreen );
|
|
|
|
bool EnableReset ( void );
|
|
|
|
void ResetPage ( void );
|
|
|
|
|
|
|
|
private:
|
2008-09-18 03:15:49 +00:00
|
|
|
};
|