mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 01:39:36 +00:00
1
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
//========= 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();
|
||||
}
|
||||
Reference in New Issue
Block a user