Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
ModDlg.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: ModDlg.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Mod Config Dialog Active Window class
13
*/
14
15
#ifndef ModDlg_h
16
#define ModDlg_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
#include "
Text.h
"
26
27
// +--------------------------------------------------------------------+
28
29
class
BaseScreen
;
30
class
Campaign
;
31
class
ModConfig
;
32
33
// +--------------------------------------------------------------------+
34
35
class
ModDlg
:
public
FormWindow
36
{
37
public
:
38
ModDlg
(
Screen
* s,
FormDef
& def,
BaseScreen
* mgr);
39
virtual
~ModDlg
();
40
41
virtual
void
RegisterControls
();
42
virtual
void
Show
();
43
virtual
void
ExecFrame
();
44
45
// Operations:
46
47
virtual
void
OnIncrease
(
AWEvent
*
event
);
48
virtual
void
OnDecrease
(
AWEvent
* event);
49
50
virtual
void
OnSelectEnabled
(
AWEvent
* event);
51
virtual
void
OnSelectDisabled
(
AWEvent
* event);
52
53
virtual
void
OnEnable
(
AWEvent
* event);
54
virtual
void
OnDisable
(
AWEvent
* event);
55
56
virtual
void
OnAccept
(
AWEvent
* event);
57
virtual
void
OnCancel
(
AWEvent
* event);
58
59
virtual
void
Apply
();
60
virtual
void
Cancel
();
61
62
virtual
void
OnAudio
(
AWEvent
* event);
63
virtual
void
OnVideo
(
AWEvent
* event);
64
virtual
void
OnOptions
(
AWEvent
* event);
65
virtual
void
OnControls
(
AWEvent
* event);
66
virtual
void
OnMod
(
AWEvent
* event);
67
68
protected
:
69
void
UpdateLists
();
70
71
BaseScreen
*
manager
;
72
73
ListBox
*
lst_disabled
;
74
ListBox
*
lst_enabled
;
75
76
Button
*
btn_accept
;
77
Button
*
btn_cancel
;
78
Button
*
btn_enable
;
79
Button
*
btn_disable
;
80
Button
*
btn_increase
;
81
Button
*
btn_decrease
;
82
83
Button
*
aud_btn
;
84
Button
*
vid_btn
;
85
Button
*
opt_btn
;
86
Button
*
ctl_btn
;
87
Button
*
mod_btn
;
88
89
ModConfig
*
config
;
90
bool
changed
;
91
};
92
93
#endif ModDlg_h
94
Stars45
ModDlg.h
Generated on Tue Jun 5 2012 20:46:58 for Starshatter_Open by
1.8.1