Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
VidDlg.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: VidDlg.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Main Menu Dialog Active Window class
13
*/
14
15
#ifndef VidDlg_h
16
#define VidDlg_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 "
Slider.h
"
25
#include "
Font.h
"
26
27
// +--------------------------------------------------------------------+
28
29
class
BaseScreen
;
30
class
Starshatter
;
31
32
// +--------------------------------------------------------------------+
33
34
class
VidDlg
:
public
FormWindow
35
{
36
public
:
37
VidDlg
(
Screen
* s,
FormDef
& def,
BaseScreen
* mgr);
38
virtual
~VidDlg
();
39
40
virtual
void
RegisterControls
();
41
virtual
void
Show
();
42
virtual
void
ExecFrame
();
43
44
// Operations:
45
virtual
void
OnTexSize
(
AWEvent
*
event
);
46
virtual
void
OnMode
(
AWEvent
* event);
47
virtual
void
OnDetail
(
AWEvent
* event);
48
virtual
void
OnTexture
(
AWEvent
* event);
49
virtual
void
OnGamma
(
AWEvent
* event);
50
51
virtual
void
Apply
();
52
virtual
void
Cancel
();
53
54
virtual
void
OnApply
(
AWEvent
* event);
55
virtual
void
OnCancel
(
AWEvent
* event);
56
57
virtual
void
OnAudio
(
AWEvent
* event);
58
virtual
void
OnVideo
(
AWEvent
* event);
59
virtual
void
OnOptions
(
AWEvent
* event);
60
virtual
void
OnControls
(
AWEvent
* event);
61
virtual
void
OnMod
(
AWEvent
* event);
62
63
protected
:
64
virtual
void
BuildModeList
();
65
66
BaseScreen
*
manager
;
67
Starshatter
*
stars
;
68
69
ComboBox
*
mode
;
70
ComboBox
*
tex_size
;
71
ComboBox
*
detail
;
72
ComboBox
*
texture
;
73
74
ComboBox
*
shadows
;
75
ComboBox
*
bump_maps
;
76
ComboBox
*
spec_maps
;
77
78
ComboBox
*
lens_flare
;
79
ComboBox
*
corona
;
80
ComboBox
*
nebula
;
81
ComboBox
*
dust
;
82
83
Slider
*
gamma
;
84
85
Button
*
aud_btn
;
86
Button
*
vid_btn
;
87
Button
*
opt_btn
;
88
Button
*
ctl_btn
;
89
Button
*
mod_btn
;
90
91
Button
*
apply
;
92
Button
*
cancel
;
93
94
int
selected_render
;
95
int
selected_card
;
96
int
selected_tex_size
;
97
int
selected_mode
;
98
int
selected_detail
;
99
int
selected_texture
;
100
int
orig_gamma
;
101
102
bool
closed
;
103
};
104
105
#endif VidDlg_h
106
Stars45
VidDlg.h
Generated on Tue Jun 5 2012 20:47:16 for Starshatter_Open by
1.8.1