dlgcamera.h 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. #if !defined(AFX_DLGCAMERA_H__59C12359_E3EB_4081_9F28_01793D75CF20__INCLUDED_)
  19. #define AFX_DLGCAMERA_H__59C12359_E3EB_4081_9F28_01793D75CF20__INCLUDED_
  20. #if _MSC_VER > 1000
  21. #pragma once
  22. #endif // _MSC_VER > 1000
  23. // DlgCamera.h : header file
  24. //
  25. extern void showCameraInspector();
  26. /////////////////////////////////////////////////////////////////////////////
  27. // CDlgCamera dialog
  28. class CDlgCamera : public CDialog
  29. {
  30. // Construction
  31. public:
  32. CDlgCamera(CWnd* pParent = NULL); // standard constructor
  33. void setupFromCamera();
  34. // Dialog Data
  35. //{{AFX_DATA(CDlgCamera)
  36. enum { IDD = IDD_DLG_CAMERA };
  37. CScrollBar m_wndSegments;
  38. CListBox m_wndEvents;
  39. CComboBox m_wndSplines;
  40. CString m_strName;
  41. float m_fSeconds;
  42. BOOL m_trackCamera;
  43. int m_numSegments;
  44. int m_currentSegment;
  45. CString m_strType;
  46. int m_editPoints;
  47. //}}AFX_DATA
  48. // Overrides
  49. // ClassWizard generated virtual function overrides
  50. //{{AFX_VIRTUAL(CDlgCamera)
  51. protected:
  52. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  53. //}}AFX_VIRTUAL
  54. // Implementation
  55. protected:
  56. // Generated message map functions
  57. //{{AFX_MSG(CDlgCamera)
  58. afx_msg void OnBtnAddevent();
  59. afx_msg void OnBtnAddtarget();
  60. afx_msg void OnBtnDelevent();
  61. afx_msg void OnBtnDeltarget();
  62. afx_msg void OnDblclkComboSplines();
  63. afx_msg void OnSelchangeComboSplines();
  64. afx_msg void OnSelchangeListEvents();
  65. afx_msg void OnDblclkListEvents();
  66. virtual BOOL OnInitDialog();
  67. virtual void OnOK();
  68. afx_msg void OnDestroy();
  69. afx_msg void OnApply();
  70. afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
  71. afx_msg void OnFileNew();
  72. afx_msg void OnFileOpen();
  73. afx_msg void OnFileSave();
  74. afx_msg void OnTestcamera();
  75. afx_msg void OnBtnDeletepoints();
  76. afx_msg void OnBtnSelectall();
  77. afx_msg void OnRadioEditpoints();
  78. afx_msg void OnRadioAddPoints();
  79. //}}AFX_MSG
  80. DECLARE_MESSAGE_MAP()
  81. };
  82. //{{AFX_INSERT_LOCATION}}
  83. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  84. #endif // !defined(AFX_DLGCAMERA_H__59C12359_E3EB_4081_9F28_01793D75CF20__INCLUDED_)