dlgcamera.h (3034B)
1 /* 2 =========================================================================== 3 Copyright (C) 1999-2005 Id Software, Inc. 4 5 This file is part of Quake III Arena source code. 6 7 Quake III Arena source code is free software; you can redistribute it 8 and/or modify it under the terms of the GNU General Public License as 9 published by the Free Software Foundation; either version 2 of the License, 10 or (at your option) any later version. 11 12 Quake III Arena source code is distributed in the hope that it will be 13 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 GNU General Public License for more details. 16 17 You should have received a copy of the GNU General Public License 18 along with Foobar; if not, write to the Free Software 19 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 =========================================================================== 21 */ 22 #if !defined(AFX_DLGCAMERA_H__59C12359_E3EB_4081_9F28_01793D75CF20__INCLUDED_) 23 #define AFX_DLGCAMERA_H__59C12359_E3EB_4081_9F28_01793D75CF20__INCLUDED_ 24 25 #if _MSC_VER > 1000 26 #pragma once 27 #endif // _MSC_VER > 1000 28 // DlgCamera.h : header file 29 // 30 31 extern void showCameraInspector(); 32 33 ///////////////////////////////////////////////////////////////////////////// 34 // CDlgCamera dialog 35 36 class CDlgCamera : public CDialog 37 { 38 // Construction 39 public: 40 CDlgCamera(CWnd* pParent = NULL); // standard constructor 41 void setupFromCamera(); 42 43 // Dialog Data 44 //{{AFX_DATA(CDlgCamera) 45 enum { IDD = IDD_DLG_CAMERA }; 46 CScrollBar m_wndSegments; 47 CListBox m_wndEvents; 48 CComboBox m_wndSplines; 49 CString m_strName; 50 float m_fSeconds; 51 BOOL m_trackCamera; 52 int m_numSegments; 53 int m_currentSegment; 54 CString m_strType; 55 int m_editPoints; 56 //}}AFX_DATA 57 58 59 // Overrides 60 // ClassWizard generated virtual function overrides 61 //{{AFX_VIRTUAL(CDlgCamera) 62 protected: 63 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 64 //}}AFX_VIRTUAL 65 66 // Implementation 67 protected: 68 // Generated message map functions 69 //{{AFX_MSG(CDlgCamera) 70 afx_msg void OnBtnAddevent(); 71 afx_msg void OnBtnAddtarget(); 72 afx_msg void OnBtnDelevent(); 73 afx_msg void OnBtnDeltarget(); 74 afx_msg void OnDblclkComboSplines(); 75 afx_msg void OnSelchangeComboSplines(); 76 afx_msg void OnSelchangeListEvents(); 77 afx_msg void OnDblclkListEvents(); 78 virtual BOOL OnInitDialog(); 79 virtual void OnOK(); 80 afx_msg void OnDestroy(); 81 afx_msg void OnApply(); 82 afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); 83 afx_msg void OnFileNew(); 84 afx_msg void OnFileOpen(); 85 afx_msg void OnFileSave(); 86 afx_msg void OnTestcamera(); 87 afx_msg void OnBtnDeletepoints(); 88 afx_msg void OnBtnSelectall(); 89 afx_msg void OnRadioEditpoints(); 90 afx_msg void OnRadioAddPoints(); 91 //}}AFX_MSG 92 DECLARE_MESSAGE_MAP() 93 }; 94 95 //{{AFX_INSERT_LOCATION}} 96 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 97 98 #endif // !defined(AFX_DLGCAMERA_H__59C12359_E3EB_4081_9F28_01793D75CF20__INCLUDED_)