summaryrefslogtreecommitdiff
path: root/hammer/optionproperties.cpp
diff options
context:
space:
mode:
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();
+}