blob: a0ea1006407fb4efe8e52b5de83acc3e415debb0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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();
}
|