2012-03-27 21:20:36 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "PropertySheetDefs.h"
|
2020-11-11 21:15:27 +00:00
|
|
|
#include "IPropertySheetPage.h"
|
|
|
|
#include "Common.h"
|
|
|
|
|
2012-03-27 21:20:36 +00:00
|
|
|
class CPropertySheetHelper;
|
|
|
|
|
2012-05-06 22:14:03 +00:00
|
|
|
class CPageAdvanced : private IPropertySheetPage
|
2012-03-27 21:20:36 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
CPageAdvanced(CPropertySheetHelper& PropertySheetHelper) :
|
|
|
|
m_Page(PG_ADVANCED),
|
|
|
|
m_PropertySheetHelper(PropertySheetHelper),
|
|
|
|
m_uTheFreezesF8Rom(0)
|
|
|
|
{
|
|
|
|
CPageAdvanced::ms_this = this;
|
|
|
|
}
|
|
|
|
virtual ~CPageAdvanced(){}
|
|
|
|
|
2021-01-01 12:57:40 +00:00
|
|
|
static INT_PTR CALLBACK DlgProc(HWND hWnd, UINT message, WPARAM wparam, LPARAM lparam);
|
2012-03-27 21:20:36 +00:00
|
|
|
|
|
|
|
UINT GetTheFreezesF8Rom(void){ return m_uTheFreezesF8Rom; }
|
|
|
|
void SetTheFreezesF8Rom(UINT uValue){ m_uTheFreezesF8Rom = uValue; }
|
|
|
|
|
|
|
|
protected:
|
|
|
|
// IPropertySheetPage
|
2021-01-01 12:57:40 +00:00
|
|
|
virtual INT_PTR DlgProcInternal(HWND hWnd, UINT message, WPARAM wparam, LPARAM lparam);
|
2012-05-06 22:14:03 +00:00
|
|
|
virtual void DlgOK(HWND hWnd);
|
|
|
|
virtual void DlgCANCEL(HWND hWnd){}
|
2012-03-27 21:20:36 +00:00
|
|
|
|
|
|
|
private:
|
2012-05-06 22:14:03 +00:00
|
|
|
void InitOptions(HWND hWnd);
|
2012-03-27 21:20:36 +00:00
|
|
|
eApple2Type GetCloneType(DWORD NewMenuItem);
|
|
|
|
int GetCloneMenuItem(void);
|
2012-05-06 22:14:03 +00:00
|
|
|
void InitFreezeDlgButton(HWND hWnd);
|
|
|
|
void InitCloneDropdownMenu(HWND hWnd);
|
2022-12-31 17:32:50 +00:00
|
|
|
void InitGameIOConnectorDropdownMenu(HWND hWnd);
|
2012-03-27 21:20:36 +00:00
|
|
|
|
|
|
|
static CPageAdvanced* ms_this;
|
|
|
|
static const TCHAR m_CloneChoices[];
|
2022-12-31 17:32:50 +00:00
|
|
|
static const TCHAR m_gameIOConnectorChoices[];
|
2012-03-27 21:20:36 +00:00
|
|
|
|
|
|
|
const PAGETYPE m_Page;
|
|
|
|
CPropertySheetHelper& m_PropertySheetHelper;
|
|
|
|
UINT m_uTheFreezesF8Rom;
|
|
|
|
};
|