cameratargetdlg.cpp 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /*
  2. ===========================================================================
  3. Copyright (C) 1999-2005 Id Software, Inc.
  4. This file is part of Quake III Arena source code.
  5. Quake III Arena source code is free software; you can redistribute it
  6. and/or modify it under the terms of the GNU General Public License as
  7. published by the Free Software Foundation; either version 2 of the License,
  8. or (at your option) any later version.
  9. Quake III Arena source code is distributed in the hope that it will be
  10. useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with Foobar; if not, write to the Free Software
  15. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  16. ===========================================================================
  17. */
  18. // CameraTargetDlg.cpp : implementation file
  19. //
  20. #include "stdafx.h"
  21. #include "CameraTargetDlg.h"
  22. #ifdef _DEBUG
  23. #define new DEBUG_NEW
  24. #undef THIS_FILE
  25. static char THIS_FILE[] = __FILE__;
  26. #endif
  27. /////////////////////////////////////////////////////////////////////////////
  28. // CCameraTargetDlg dialog
  29. CCameraTargetDlg::CCameraTargetDlg(CWnd* pParent /*=NULL*/)
  30. : CDialog(CCameraTargetDlg::IDD, pParent)
  31. {
  32. //{{AFX_DATA_INIT(CCameraTargetDlg)
  33. m_nType = 0;
  34. m_strName = _T("");
  35. //}}AFX_DATA_INIT
  36. }
  37. void CCameraTargetDlg::DoDataExchange(CDataExchange* pDX)
  38. {
  39. CDialog::DoDataExchange(pDX);
  40. //{{AFX_DATA_MAP(CCameraTargetDlg)
  41. DDX_Radio(pDX, IDC_RADIO_FIXED, m_nType);
  42. DDX_Text(pDX, IDC_EDIT_NAME, m_strName);
  43. //}}AFX_DATA_MAP
  44. }
  45. BEGIN_MESSAGE_MAP(CCameraTargetDlg, CDialog)
  46. //{{AFX_MSG_MAP(CCameraTargetDlg)
  47. ON_COMMAND(ID_POPUP_NEWCAMERA_FIXED, OnPopupNewcameraFixed)
  48. //}}AFX_MSG_MAP
  49. END_MESSAGE_MAP()
  50. /////////////////////////////////////////////////////////////////////////////
  51. // CCameraTargetDlg message handlers
  52. void CCameraTargetDlg::OnPopupNewcameraFixed()
  53. {
  54. // TODO: Add your command handler code here
  55. }