diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /hammer/gotobrushdlg.cpp | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'hammer/gotobrushdlg.cpp')
| -rw-r--r-- | hammer/gotobrushdlg.cpp | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/hammer/gotobrushdlg.cpp b/hammer/gotobrushdlg.cpp new file mode 100644 index 0000000..a0ea100 --- /dev/null +++ b/hammer/gotobrushdlg.cpp @@ -0,0 +1,55 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: Implements a dialog that allows the user to type in a brush ID +// to select the corresponding brush. Used for locating errors +// reported by the map compile tools. +// +//=============================================================================// + +#include "stdafx.h" +#include "hammer.h" +#include "GotoBrushDlg.h" + +// memdbgon must be the last include file in a .cpp file!!! +#include <tier0/memdbgon.h> + + +BEGIN_MESSAGE_MAP(CGotoBrushDlg, CDialog) + //{{AFX_MSG_MAP(CGotoBrushDlg) + //}}AFX_MSG_MAP +END_MESSAGE_MAP() + + +//----------------------------------------------------------------------------- +// Purpose: +//----------------------------------------------------------------------------- +CGotoBrushDlg::CGotoBrushDlg(CWnd *pParent) + : CDialog(CGotoBrushDlg::IDD, pParent) +{ + //{{AFX_DATA_INIT(CGotoBrushDlg) + m_nBrushID = 0; + //}}AFX_DATA_INIT +} + + +//----------------------------------------------------------------------------- +// Purpose: +// Input : pDX - +//----------------------------------------------------------------------------- +void CGotoBrushDlg::DoDataExchange(CDataExchange* pDX) +{ + CDialog::DoDataExchange(pDX); + //{{AFX_DATA_MAP(CGotoBrushDlg) + DDX_Text(pDX, IDC_BRUSH_NUMBER, m_nBrushID); + //}}AFX_DATA_MAP +} + + +//----------------------------------------------------------------------------- +// Purpose: +//----------------------------------------------------------------------------- +void CGotoBrushDlg::OnOK() +{ + CDialog::OnOK(); +} + |