summaryrefslogtreecommitdiff
path: root/hammer/optionproperties.cpp
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /hammer/optionproperties.cpp
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'hammer/optionproperties.cpp')
-rw-r--r--hammer/optionproperties.cpp62
1 files changed, 62 insertions, 0 deletions
diff --git a/hammer/optionproperties.cpp b/hammer/optionproperties.cpp
new file mode 100644
index 0000000..055b674
--- /dev/null
+++ b/hammer/optionproperties.cpp
@@ -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();
+}