Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
OptDlg.h
Go to the documentation of this file.
1
/* Project Starshatter 4.5
2
Destroyer Studios LLC
3
Copyright © 1997-2004. All Rights Reserved.
4
5
SUBSYSTEM: Stars.exe
6
FILE: OptDlg.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Main Menu Dialog Active Window class
13
*/
14
15
#ifndef OptDlg_h
16
#define OptDlg_h
17
18
#include "
Types.h
"
19
#include "
FormWindow.h
"
20
#include "
Bitmap.h
"
21
#include "
Button.h
"
22
#include "
ComboBox.h
"
23
#include "
ListBox.h
"
24
#include "
Font.h
"
25
26
// +--------------------------------------------------------------------+
27
28
class
BaseScreen
;
29
30
// +--------------------------------------------------------------------+
31
32
class
OptDlg
:
public
FormWindow
33
{
34
public
:
35
OptDlg
(
Screen
* s,
FormDef
& def,
BaseScreen
* mgr);
36
virtual
~OptDlg
();
37
38
virtual
void
RegisterControls
();
39
virtual
void
Show
();
40
virtual
void
ExecFrame
();
41
42
// Operations:
43
virtual
void
Apply
();
44
virtual
void
Cancel
();
45
46
virtual
void
OnApply
(
AWEvent
*
event
);
47
virtual
void
OnCancel
(
AWEvent
* event);
48
49
virtual
void
OnEnter
(
AWEvent
* event);
50
virtual
void
OnExit
(
AWEvent
* event);
51
52
virtual
void
OnAudio
(
AWEvent
* event);
53
virtual
void
OnVideo
(
AWEvent
* event);
54
virtual
void
OnOptions
(
AWEvent
* event);
55
virtual
void
OnControls
(
AWEvent
* event);
56
virtual
void
OnMod
(
AWEvent
* event);
57
58
protected
:
59
BaseScreen
*
manager
;
60
61
ComboBox
*
flight_model
;
62
ComboBox
*
flying_start
;
63
ComboBox
*
landings
;
64
ComboBox
*
ai_difficulty
;
65
ComboBox
*
hud_mode
;
66
ComboBox
*
hud_color
;
67
ComboBox
*
joy_mode
;
68
ComboBox
*
ff_mode
;
69
ComboBox
*
grid_mode
;
70
ComboBox
*
gunsight
;
71
72
ActiveWindow
*
description
;
73
74
Button
*
aud_btn
;
75
Button
*
vid_btn
;
76
Button
*
opt_btn
;
77
Button
*
ctl_btn
;
78
Button
*
mod_btn
;
79
80
Button
*
apply
;
81
Button
*
cancel
;
82
83
bool
closed
;
84
};
85
86
#endif OptDlg_h
87
Stars45
OptDlg.h
Generated on Thu May 31 2012 16:31:14 for Starshatter_Open by
1.8.1