1 #if !defined(AFX_OPTIONS_H__5C839953_58C0_4D9D_89CE_2820C7686C1B__INCLUDED_)
2 #define AFX_OPTIONS_H__5C839953_58C0_4D9D_89CE_2820C7686C1B__INCLUDED_
3 
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // Options.h : header file
8 //
9 
10 
11 class COptSystems : public CDialog
12 {
13 // Construction
14 public:
15 	COptSystems(CWnd* pParent = NULL);   // standard constructor
16 
17 // Dialog Data
18 	//{{AFX_DATA(COptSystems)
19 	enum { IDD = IDD_OPT_SYSTEMS };
20 	CButton	m_ForceDuration;
21 	CComboBox	m_Threading;
22 	CButton	m_BifsAlwaysDrawn;
23 	CComboBox	m_Lang;
24 	//}}AFX_DATA
25 
26 	void SaveOptions();
27 
28 // Overrides
29 	// ClassWizard generated virtual function overrides
30 	//{{AFX_VIRTUAL(COptSystems)
31 protected:
32 	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
33 	//}}AFX_VIRTUAL
34 
35 // Implementation
36 protected:
37 
38 	// Generated message map functions
39 	//{{AFX_MSG(COptSystems)
40 	virtual BOOL OnInitDialog();
41 	//}}AFX_MSG
42 	DECLARE_MESSAGE_MAP()
43 };
44 
45 class COptStream : public CDialog
46 {
47 // Construction
48 public:
49 	COptStream(CWnd* pParent = NULL);   // standard constructor
50 
51 // Dialog Data
52 	//{{AFX_DATA(COptStream)
53 	enum { IDD = IDD_OPT_STREAM };
54 	CEdit	m_RebufferLen;
55 	CButton	m_Rebuffer;
56 	CEdit	m_Buffer;
57 	CEdit	m_Timeout;
58 	CButton	m_Reorder;
59 	CButton	m_UseRTSP;
60 	CComboBox	m_Port;
61 	//}}AFX_DATA
62 
63 
64 	void SaveOptions();
65 
66 	void CheckRebuffer();
67 
68 // Overrides
69 	// ClassWizard generated virtual function overrides
70 	//{{AFX_VIRTUAL(COptStream)
71 protected:
72 	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
73 	//}}AFX_VIRTUAL
74 
75 // Implementation
76 protected:
77 
78 	// Generated message map functions
79 	//{{AFX_MSG(COptStream)
80 	virtual BOOL OnInitDialog();
81 	afx_msg void OnSelchangePort();
82 	afx_msg void OnRtsp();
83 	afx_msg void OnRebuffer();
84 	afx_msg void OnUpdateRebufferLen();
85 	afx_msg void OnUpdateBuffer();
86 	//}}AFX_MSG
87 	DECLARE_MESSAGE_MAP()
88 };
89 class COptRender : public CDialog
90 {
91 // Construction
92 public:
93 	COptRender(CWnd* pParent = NULL);   // standard constructor
94 
95 // Dialog Data
96 	//{{AFX_DATA(COptRender)
97 	enum { IDD = IDD_OPT_RENDER };
98 	CComboBox	m_Antialias;
99 	CButton	m_ForceSize;
100 	CButton	m_HighSpeed;
101 	CButton	m_Scalable;
102 	CButton	m_DirectRender;
103 	CComboBox	m_BIFSRate;
104 	//}}AFX_DATA
105 
106 
107 	void SaveOptions();
108 
109 // Overrides
110 	// ClassWizard generated virtual function overrides
111 	//{{AFX_VIRTUAL(COptRender)
112 protected:
113 	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
114 	//}}AFX_VIRTUAL
115 
116 // Implementation
117 protected:
118 
119 	// Generated message map functions
120 	//{{AFX_MSG(COptRender)
121 	virtual BOOL OnInitDialog();
122 	//}}AFX_MSG
123 	DECLARE_MESSAGE_MAP()
124 };
125 class COptHTTP : public CDialog
126 {
127 // Construction
128 public:
129 	COptHTTP(CWnd* pParent = NULL);   // standard constructor
130 
131 // Dialog Data
132 	//{{AFX_DATA(COptHTTP)
133 	enum { IDD = IDD_OPT_HTTP };
134 	CButton	m_RestartFile;
135 	CButton	m_Progressive;
136 	CButton	m_CleanCache;
137 	CButton	m_CacheDir;
138 	CEdit	m_SaxDuration;
139 	//}}AFX_DATA
140 
141 
142 	void SaveOptions();
143 
144 // Overrides
145 	// ClassWizard generated virtual function overrides
146 	//{{AFX_VIRTUAL(COptHTTP)
147 protected:
148 	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
149 	//}}AFX_VIRTUAL
150 
151 // Implementation
152 protected:
153 
154 	// Generated message map functions
155 	//{{AFX_MSG(COptHTTP)
156 	afx_msg void OnBrowseCache();
157 	afx_msg void OnProgressive();
158 	virtual BOOL OnInitDialog();
159 	//}}AFX_MSG
160 	DECLARE_MESSAGE_MAP()
161 };
162 class COptGen : public CDialog
163 {
164 // Construction
165 public:
166 	COptGen(CWnd* pParent = NULL);   // standard constructor
167 
168 // Dialog Data
169 	//{{AFX_DATA(COptGen)
170 	enum { IDD = IDD_OPT_GEN };
171 	CButton	m_NoBacklight;
172 	CButton	m_Fill;
173 	CButton	m_Loop;
174 	CButton	m_Logs;
175 	//}}AFX_DATA
176 
177 	void SaveOptions();
178 
179 // Overrides
180 	// ClassWizard generated virtual function overrides
181 	//{{AFX_VIRTUAL(COptGen)
182 protected:
183 	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
184 	//}}AFX_VIRTUAL
185 
186 // Implementation
187 protected:
188 
189 	// Generated message map functions
190 	//{{AFX_MSG(COptGen)
191 	virtual BOOL OnInitDialog();
192 	afx_msg void OnFileassoc();
193 	//}}AFX_MSG
194 	DECLARE_MESSAGE_MAP()
195 };
196 class COptFont : public CDialog
197 {
198 // Construction
199 public:
200 	COptFont(CWnd* pParent = NULL);   // standard constructor
201 
202 // Dialog Data
203 	//{{AFX_DATA(COptFont)
204 	enum { IDD = IDD_OPT_FONT };
205 	CButton	m_UseTexture;
206 	CComboBox	m_Fonts;
207 	CButton	m_BrowseFont;
208 	//}}AFX_DATA
209 
210 
211 	void SaveOptions();
212 
213 // Overrides
214 	// ClassWizard generated virtual function overrides
215 	//{{AFX_VIRTUAL(COptFont)
216 protected:
217 	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
218 	//}}AFX_VIRTUAL
219 
220 // Implementation
221 protected:
222 
223 	// Generated message map functions
224 	//{{AFX_MSG(COptFont)
225 	virtual BOOL OnInitDialog();
226 	afx_msg void OnBrowseFont();
227 	//}}AFX_MSG
228 	DECLARE_MESSAGE_MAP()
229 };
230 class COptDecoder : public CDialog
231 {
232 // Construction
233 public:
234 	COptDecoder(CWnd* pParent = NULL);   // standard constructor
235 
236 // Dialog Data
237 	//{{AFX_DATA(COptDecoder)
238 	enum { IDD = IDD_OPT_DECODER };
239 	CComboBox	m_Video;
240 	CComboBox	m_Audio;
241 	//}}AFX_DATA
242 
243 	void SaveOptions();
244 
245 // Overrides
246 	// ClassWizard generated virtual function overrides
247 	//{{AFX_VIRTUAL(COptDecoder)
248 protected:
249 	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
250 	//}}AFX_VIRTUAL
251 
252 // Implementation
253 protected:
254 
255 	// Generated message map functions
256 	//{{AFX_MSG(COptDecoder)
257 	virtual BOOL OnInitDialog();
258 	//}}AFX_MSG
259 	DECLARE_MESSAGE_MAP()
260 };
261 
262 class COptAudio : public CDialog
263 {
264 // Construction
265 public:
266 	COptAudio(CWnd* pParent = NULL);   // standard constructor
267 
268 // Dialog Data
269 	//{{AFX_DATA(COptAudio)
270 	enum { IDD = IDD_OPT_AUDIO };
271 	CComboBox	m_DriverList;
272 	CButton	m_AudioResync;
273 	CEdit	m_AudioDur;
274 	CSpinButtonCtrl	m_SpinDur;
275 	CButton	m_ForceConfig;
276 	CSpinButtonCtrl	m_AudioSpin;
277 	CEdit	m_AudioEdit;
278 	//}}AFX_DATA
279 
280 	void SaveOptions();
281 
282 // Overrides
283 	// ClassWizard generated virtual function overrides
284 	//{{AFX_VIRTUAL(COptAudio)
285 protected:
286 	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
287 	//}}AFX_VIRTUAL
288 
289 // Implementation
290 protected:
291 
292 	// Generated message map functions
293 	//{{AFX_MSG(COptAudio)
294 	virtual BOOL OnInitDialog();
295 	afx_msg void OnForceAudio();
296 	//}}AFX_MSG
297 	DECLARE_MESSAGE_MAP()
298 };
299 
300 
301 class COptRender3D : public CDialog
302 {
303 // Construction
304 public:
305 	COptRender3D(CWnd* pParent = NULL);   // standard constructor
306 
307 // Dialog Data
308 	//{{AFX_DATA(COptRender)
309 	enum { IDD = IDD_OPT_RENDER3D };
310 	CComboBox	m_WireMode;
311 	CComboBox	m_DrawNormals;
312 	CButton	m_Use3DRender;
313 	CButton	m_NoBackFace;
314 	CButton	m_EmulatePOW2;
315 	//}}AFX_DATA
316 
317 	void SaveOptions();
318 
319 // Overrides
320 	// ClassWizard generated virtual function overrides
321 	//{{AFX_VIRTUAL(COptRender)
322 protected:
323 	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
324 	//}}AFX_VIRTUAL
325 
326 // Implementation
327 protected:
328 
329 	// Generated message map functions
330 	//{{AFX_MSG(COptRender)
331 	virtual BOOL OnInitDialog();
332 	//}}AFX_MSG
333 	DECLARE_MESSAGE_MAP()
334 };
335 
336 /////////////////////////////////////////////////////////////////////////////
337 // COptions dialog
338 
339 class COptions : public CDialog
340 {
341 // Construction
342 public:
343 	COptions(CWnd* pParent = NULL);   // standard constructor
344 
345 // Dialog Data
346 	//{{AFX_DATA(COptions)
347 	enum { IDD = IDD_OPTIONS };
348 	CComboBox	m_Selection;
349 	//}}AFX_DATA
350 
351 
352 // Overrides
353 	// ClassWizard generated virtual function overrides
354 	//{{AFX_VIRTUAL(COptions)
355 protected:
356 	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
357 	//}}AFX_VIRTUAL
358 
359 // Implementation
360 protected:
361 
362 	COptGen m_general;
363 	COptSystems m_systems;
364 	COptRender m_render;
365 	COptRender3D m_render3D;
366 	COptAudio m_audio;
367 	COptHTTP m_http;
368 	COptFont m_font;
369 	COptStream m_stream;
370 	COptDecoder m_decoder;
371 
372 
373 	void HideAll();
374 
375 	// Generated message map functions
376 	//{{AFX_MSG(COptions)
377 	virtual BOOL OnInitDialog();
378 	virtual void OnOK();
379 	afx_msg void OnSaveopt();
380 	afx_msg void OnSelchangeCombosel();
381 	//}}AFX_MSG
382 	DECLARE_MESSAGE_MAP()
383 };
384 
385 //{{AFX_INSERT_LOCATION}}
386 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
387 
388 #endif // !defined(AFX_OPTIONS_H__5C839953_58C0_4D9D_89CE_2820C7686C1B__INCLUDED_)
389