DlgCamera.h 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. /*
  2. ===========================================================================
  3. Doom 3 GPL Source Code
  4. Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
  5. This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
  6. Doom 3 Source Code is free software: you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation, either version 3 of the License, or
  9. (at your option) any later version.
  10. Doom 3 Source Code is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with Doom 3 Source Code. If not, see <http://www.gnu.org/licenses/>.
  16. In addition, the Doom 3 Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 Source Code. If not, please request a copy in writing from id Software at the address below.
  17. If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA.
  18. ===========================================================================
  19. */
  20. #if !defined(AFX_DLGCAMERA_H__59C12359_E3EB_4081_9F28_01793D75CF20__INCLUDED_)
  21. #define AFX_DLGCAMERA_H__59C12359_E3EB_4081_9F28_01793D75CF20__INCLUDED_
  22. #if _MSC_VER > 1000
  23. #pragma once
  24. #endif // _MSC_VER > 1000
  25. // DlgCamera.h : header file
  26. //
  27. extern void showCameraInspector();
  28. /////////////////////////////////////////////////////////////////////////////
  29. // CDlgCamera dialog
  30. class CDlgCamera : public CDialog
  31. {
  32. // Construction
  33. public:
  34. CDlgCamera(CWnd* pParent = NULL); // standard constructor
  35. void setupFromCamera();
  36. // Dialog Data
  37. //{{AFX_DATA(CDlgCamera)
  38. enum { IDD = IDD_DLG_CAMERA };
  39. CScrollBar m_wndSegments;
  40. CListBox m_wndEvents;
  41. CComboBox m_wndSplines;
  42. CString m_strName;
  43. float m_fSeconds;
  44. BOOL m_trackCamera;
  45. int m_numSegments;
  46. int m_currentSegment;
  47. CString m_strType;
  48. int m_editPoints;
  49. //}}AFX_DATA
  50. // Overrides
  51. // ClassWizard generated virtual function overrides
  52. //{{AFX_VIRTUAL(CDlgCamera)
  53. protected:
  54. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  55. //}}AFX_VIRTUAL
  56. // Implementation
  57. protected:
  58. // Generated message map functions
  59. //{{AFX_MSG(CDlgCamera)
  60. afx_msg void OnBtnAddevent();
  61. afx_msg void OnBtnAddtarget();
  62. afx_msg void OnBtnDelevent();
  63. afx_msg void OnBtnDeltarget();
  64. afx_msg void OnDblclkComboSplines();
  65. afx_msg void OnSelchangeComboSplines();
  66. afx_msg void OnSelchangeListEvents();
  67. afx_msg void OnDblclkListEvents();
  68. virtual BOOL OnInitDialog();
  69. virtual void OnOK();
  70. afx_msg void OnDestroy();
  71. afx_msg void OnApply();
  72. afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
  73. afx_msg void OnFileNew();
  74. afx_msg void OnFileOpen();
  75. afx_msg void OnFileSave();
  76. afx_msg void OnTestcamera();
  77. afx_msg void OnBtnDeletepoints();
  78. afx_msg void OnBtnSelectall();
  79. afx_msg void OnRadioEditpoints();
  80. afx_msg void OnRadioAddPoints();
  81. //}}AFX_MSG
  82. DECLARE_MESSAGE_MAP()
  83. };
  84. //{{AFX_INSERT_LOCATION}}
  85. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  86. #endif // !defined(AFX_DLGCAMERA_H__59C12359_E3EB_4081_9F28_01793D75CF20__INCLUDED_)