mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 09:49:36 +00:00
1
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user