Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
AudDlg.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: AudDlg.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Main Menu Dialog Active Window class
13
*/
14
15
#ifndef AudDlg_h
16
#define AudDlg_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
AudDlg
:
public
FormWindow
33
{
34
public
:
35
AudDlg
(
Screen
* s,
FormDef
& def,
BaseScreen
* mgr);
36
virtual
~AudDlg
();
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
OnAudio
(
AWEvent
* event);
50
virtual
void
OnVideo
(
AWEvent
* event);
51
virtual
void
OnOptions
(
AWEvent
* event);
52
virtual
void
OnControls
(
AWEvent
* event);
53
virtual
void
OnMod
(
AWEvent
* event);
54
55
protected
:
56
BaseScreen
*
manager
;
57
58
Slider
*
efx_volume_slider
;
59
Slider
*
gui_volume_slider
;
60
Slider
*
wrn_volume_slider
;
61
Slider
*
vox_volume_slider
;
62
63
Slider
*
menu_music_slider
;
64
Slider
*
game_music_slider
;
65
66
Button
*
aud_btn
;
67
Button
*
vid_btn
;
68
Button
*
opt_btn
;
69
Button
*
ctl_btn
;
70
Button
*
mod_btn
;
71
72
Button
*
apply
;
73
Button
*
cancel
;
74
75
bool
closed
;
76
};
77
78
#endif AudDlg_h
79
Stars45
AudDlg.h
Generated on Tue Jun 5 2012 20:46:44 for Starshatter_Open by
1.8.1