You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.4 KiB
63 lines
1.4 KiB
5 years ago
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
// $NoKeywords: $
|
||
|
//
|
||
|
//=============================================================================//
|
||
|
// OptionProperties.cpp : implementation file
|
||
|
//
|
||
|
|
||
|
#include "stdafx.h"
|
||
|
#include "hammer.h"
|
||
|
#include "OptionProperties.h"
|
||
|
|
||
|
// memdbgon must be the last include file in a .cpp file!!!
|
||
|
#include <tier0/memdbgon.h>
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
// COptionProperties
|
||
|
|
||
|
IMPLEMENT_DYNAMIC(COptionProperties, CPropertySheet)
|
||
|
|
||
|
COptionProperties::COptionProperties(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
|
||
|
:CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
|
||
|
{
|
||
|
DoStandardInit();
|
||
|
}
|
||
|
|
||
|
COptionProperties::COptionProperties(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
|
||
|
:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
|
||
|
{
|
||
|
DoStandardInit();
|
||
|
}
|
||
|
|
||
|
COptionProperties::~COptionProperties()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
|
||
|
BEGIN_MESSAGE_MAP(COptionProperties, CPropertySheet)
|
||
|
//{{AFX_MSG_MAP(COptionProperties)
|
||
|
ON_WM_CLOSE()
|
||
|
//}}AFX_MSG_MAP
|
||
|
END_MESSAGE_MAP()
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
// COptionProperties message handlers
|
||
|
|
||
|
void COptionProperties::DoStandardInit()
|
||
|
{
|
||
|
AddPage(&Configs);
|
||
|
AddPage(&General);
|
||
|
AddPage(&View2D);
|
||
|
AddPage(&View3D);
|
||
|
AddPage(&Textures);
|
||
|
AddPage(&Build);
|
||
|
}
|
||
|
|
||
|
void COptionProperties::OnClose()
|
||
|
{
|
||
|
CPropertySheet::OnClose();
|
||
|
}
|