Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.5 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Implements a dialog that allows the user to type in a brush ID
  4. // to select the corresponding brush. Used for locating errors
  5. // reported by the map compile tools.
  6. //
  7. //=============================================================================//
  8. #include "stdafx.h"
  9. #include "hammer.h"
  10. #include "GotoBrushDlg.h"
  11. // memdbgon must be the last include file in a .cpp file!!!
  12. #include <tier0/memdbgon.h>
  13. BEGIN_MESSAGE_MAP(CGotoBrushDlg, CDialog)
  14. //{{AFX_MSG_MAP(CGotoBrushDlg)
  15. //}}AFX_MSG_MAP
  16. END_MESSAGE_MAP()
  17. //-----------------------------------------------------------------------------
  18. // Purpose:
  19. //-----------------------------------------------------------------------------
  20. CGotoBrushDlg::CGotoBrushDlg(CWnd *pParent)
  21. : CDialog(CGotoBrushDlg::IDD, pParent)
  22. {
  23. //{{AFX_DATA_INIT(CGotoBrushDlg)
  24. m_nBrushID = 0;
  25. //}}AFX_DATA_INIT
  26. }
  27. //-----------------------------------------------------------------------------
  28. // Purpose:
  29. // Input : pDX -
  30. //-----------------------------------------------------------------------------
  31. void CGotoBrushDlg::DoDataExchange(CDataExchange* pDX)
  32. {
  33. CDialog::DoDataExchange(pDX);
  34. //{{AFX_DATA_MAP(CGotoBrushDlg)
  35. DDX_Text(pDX, IDC_BRUSH_NUMBER, m_nBrushID);
  36. //}}AFX_DATA_MAP
  37. }
  38. //-----------------------------------------------------------------------------
  39. // Purpose:
  40. //-----------------------------------------------------------------------------
  41. void CGotoBrushDlg::OnOK()
  42. {
  43. CDialog::OnOK();
  44. }