Team Fortress 2 Source Code as on 22/4/2020
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.

52 lines
1.2 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. // TransformDlg.cpp : implementation file
  9. //
  10. #include "stdafx.h"
  11. #include "hammer.h"
  12. #include "TransformDlg.h"
  13. // memdbgon must be the last include file in a .cpp file!!!
  14. #include <tier0/memdbgon.h>
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CTransformDlg dialog
  17. CTransformDlg::CTransformDlg(CWnd* pParent /*=NULL*/)
  18. : CDialog(CTransformDlg::IDD, pParent)
  19. {
  20. //{{AFX_DATA_INIT(CTransformDlg)
  21. m_iMode = -1;
  22. m_X = 0.0f;
  23. m_Y = 0.0f;
  24. m_Z = 0.0f;
  25. //}}AFX_DATA_INIT
  26. }
  27. void CTransformDlg::DoDataExchange(CDataExchange* pDX)
  28. {
  29. CDialog::DoDataExchange(pDX);
  30. //{{AFX_DATA_MAP(CTransformDlg)
  31. DDX_Radio(pDX, IDC_MODE, m_iMode);
  32. DDX_Text(pDX, IDC_X, m_X);
  33. DDX_Text(pDX, IDC_Y, m_Y);
  34. DDX_Text(pDX, IDC_Z, m_Z);
  35. //}}AFX_DATA_MAP
  36. }
  37. BEGIN_MESSAGE_MAP(CTransformDlg, CDialog)
  38. //{{AFX_MSG_MAP(CTransformDlg)
  39. //}}AFX_MSG_MAP
  40. END_MESSAGE_MAP()
  41. /////////////////////////////////////////////////////////////////////////////
  42. // CTransformDlg message handlers