hl2_src-leak-2017/src/hammer/gotobrushdlg.cpp
BotoX 60f625f414 import hl2_src from full.7z
source: magnet:?xt=urn:btih:21DDA6847DDE983F2F8063739249D2D1D09A5DDA
2020-12-25 16:26:23 +01:00

56 lines
1.5 KiB
C++

//========= 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();
}