doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DlgCamera.h
Go to the documentation of this file.
1 /*
2 ===========================================================================
3 
4 Doom 3 GPL Source Code
5 Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
6 
7 This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
8 
9 Doom 3 Source Code is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13 
14 Doom 3 Source Code is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18 
19 You should have received a copy of the GNU General Public License
20 along with Doom 3 Source Code. If not, see <http://www.gnu.org/licenses/>.
21 
22 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.
23 
24 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.
25 
26 ===========================================================================
27 */
28 #if !defined(AFX_DLGCAMERA_H__59C12359_E3EB_4081_9F28_01793D75CF20__INCLUDED_)
29 #define AFX_DLGCAMERA_H__59C12359_E3EB_4081_9F28_01793D75CF20__INCLUDED_
30 
31 #if _MSC_VER > 1000
32 #pragma once
33 #endif // _MSC_VER > 1000
34 // DlgCamera.h : header file
35 //
36 
37 extern void showCameraInspector();
38 
40 // CDlgCamera dialog
41 
42 class CDlgCamera : public CDialog
43 {
44 // Construction
45 public:
46  CDlgCamera(CWnd* pParent = NULL); // standard constructor
47  void setupFromCamera();
48 
49 // Dialog Data
50  //{{AFX_DATA(CDlgCamera)
51  enum { IDD = IDD_DLG_CAMERA };
52  CScrollBar m_wndSegments;
53  CListBox m_wndEvents;
54  CComboBox m_wndSplines;
55  CString m_strName;
56  float m_fSeconds;
60  CString m_strType;
62  //}}AFX_DATA
63 
64 
65 // Overrides
66  // ClassWizard generated virtual function overrides
67  //{{AFX_VIRTUAL(CDlgCamera)
68  protected:
69  virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
70  //}}AFX_VIRTUAL
71 
72 // Implementation
73 protected:
74  // Generated message map functions
75  //{{AFX_MSG(CDlgCamera)
76  afx_msg void OnBtnAddevent();
77  afx_msg void OnBtnAddtarget();
78  afx_msg void OnBtnDelevent();
79  afx_msg void OnBtnDeltarget();
80  afx_msg void OnDblclkComboSplines();
81  afx_msg void OnSelchangeComboSplines();
82  afx_msg void OnSelchangeListEvents();
83  afx_msg void OnDblclkListEvents();
84  virtual BOOL OnInitDialog();
85  virtual void OnOK();
86  afx_msg void OnDestroy();
87  afx_msg void OnApply();
88  afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
89  afx_msg void OnFileNew();
90  afx_msg void OnFileOpen();
91  afx_msg void OnFileSave();
92  afx_msg void OnTestcamera();
93  afx_msg void OnBtnDeletepoints();
94  afx_msg void OnBtnSelectall();
95  afx_msg void OnRadioEditpoints();
96  afx_msg void OnRadioAddPoints();
97  //}}AFX_MSG
98  DECLARE_MESSAGE_MAP()
99 };
100 
101 //{{AFX_INSERT_LOCATION}}
102 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
103 
104 #endif // !defined(AFX_DLGCAMERA_H__59C12359_E3EB_4081_9F28_01793D75CF20__INCLUDED_)
afx_msg void OnApply()
Definition: DlgCamera.cpp:255
void showCameraInspector()
Definition: DlgCamera.cpp:50
afx_msg void OnRadioAddPoints()
Definition: DlgCamera.cpp:369
virtual void OnOK()
Definition: DlgCamera.cpp:235
afx_msg void OnSelchangeComboSplines()
Definition: DlgCamera.cpp:165
CScrollBar m_wndSegments
Definition: DlgCamera.h:52
afx_msg void OnFileOpen()
Definition: DlgCamera.cpp:328
CONST PIXELFORMATDESCRIPTOR UINT
Definition: win_qgl.cpp:47
BOOL m_trackCamera
Definition: DlgCamera.h:57
afx_msg void OnFileNew()
Definition: DlgCamera.cpp:322
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar *pScrollBar)
Definition: DlgCamera.cpp:264
int m_currentSegment
Definition: DlgCamera.h:59
afx_msg void OnFileSave()
Definition: DlgCamera.cpp:337
#define BOOL
Definition: mprintf.c:71
afx_msg void OnDblclkComboSplines()
Definition: DlgCamera.cpp:159
afx_msg void OnBtnDeletepoints()
Definition: DlgCamera.cpp:351
CString m_strName
Definition: DlgCamera.h:55
afx_msg void OnRadioEditpoints()
Definition: DlgCamera.cpp:363
int m_numSegments
Definition: DlgCamera.h:58
#define NULL
Definition: Lib.h:88
CComboBox m_wndSplines
Definition: DlgCamera.h:54
afx_msg void OnSelchangeListEvents()
Definition: DlgCamera.cpp:187
afx_msg void OnDestroy()
Definition: DlgCamera.cpp:243
afx_msg void OnBtnDeltarget()
Definition: DlgCamera.cpp:153
virtual BOOL OnInitDialog()
Definition: DlgCamera.cpp:227
int m_editPoints
Definition: DlgCamera.h:61
CDlgCamera(CWnd *pParent=NULL)
Definition: DlgCamera.cpp:67
void setupFromCamera()
Definition: DlgCamera.cpp:199
afx_msg void OnBtnAddevent()
Definition: DlgCamera.cpp:126
#define IDD_DLG_CAMERA
afx_msg void OnDblclkListEvents()
Definition: DlgCamera.cpp:193
float m_fSeconds
Definition: DlgCamera.h:56
afx_msg void OnBtnDelevent()
Definition: DlgCamera.cpp:147
virtual void DoDataExchange(CDataExchange *pDX)
Definition: DlgCamera.cpp:82
afx_msg void OnTestcamera()
Definition: DlgCamera.cpp:345
CListBox m_wndEvents
Definition: DlgCamera.h:53
afx_msg void OnBtnSelectall()
Definition: DlgCamera.cpp:357
afx_msg void OnBtnAddtarget()
Definition: DlgCamera.cpp:136
CString m_strType
Definition: DlgCamera.h:60