Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
MsnEditDlg.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: MsnEditDlg.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Mission Editor Dialog Active Window class
13
*/
14
15
#ifndef MsnEditDlg_h
16
#define MsnEditDlg_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
MenuScreen
;
30
class
Campaign
;
31
class
Mission
;
32
class
MissionInfo
;
33
34
// +--------------------------------------------------------------------+
35
36
class
MsnEditDlg
:
public
FormWindow
37
{
38
public
:
39
friend
class
MsnEditNavDlg
;
40
41
MsnEditDlg
(
Screen
* s,
FormDef
& def,
MenuScreen
* mgr);
42
virtual
~MsnEditDlg
();
43
44
virtual
void
RegisterControls
();
45
virtual
void
Show
();
46
virtual
void
ExecFrame
();
47
virtual
void
ScrapeForm
();
48
49
// Operations:
50
virtual
void
OnAccept
(
AWEvent
*
event
);
51
virtual
void
OnCancel
(
AWEvent
*
event
);
52
virtual
void
OnTabButton
(
AWEvent
*
event
);
53
virtual
void
OnSystemSelect
(
AWEvent
*
event
);
54
virtual
void
OnElemAdd
(
AWEvent
*
event
);
55
virtual
void
OnElemEdit
(
AWEvent
*
event
);
56
virtual
void
OnElemDel
(
AWEvent
*
event
);
57
virtual
void
OnElemSelect
(
AWEvent
*
event
);
58
virtual
void
OnElemInc
(
AWEvent
*
event
);
59
virtual
void
OnElemDec
(
AWEvent
*
event
);
60
virtual
void
OnEventAdd
(
AWEvent
*
event
);
61
virtual
void
OnEventEdit
(
AWEvent
*
event
);
62
virtual
void
OnEventDel
(
AWEvent
*
event
);
63
virtual
void
OnEventSelect
(
AWEvent
*
event
);
64
virtual
void
OnEventInc
(
AWEvent
*
event
);
65
virtual
void
OnEventDec
(
AWEvent
*
event
);
66
67
virtual
Mission
*
GetMission
()
const
{
return
mission
; }
68
virtual
void
SetMission
(
Mission
* m);
69
virtual
void
SetMissionInfo
(
MissionInfo
* m);
70
71
protected
:
72
virtual
void
DrawPackages
();
73
virtual
void
ShowTab
(
int
tab
);
74
75
MenuScreen
*
manager
;
76
77
Button
*
btn_accept
;
78
Button
*
btn_cancel
;
79
80
Button
*
btn_elem_add
;
81
Button
*
btn_elem_edit
;
82
Button
*
btn_elem_del
;
83
Button
*
btn_elem_inc
;
84
Button
*
btn_elem_dec
;
85
86
Button
*
btn_event_add
;
87
Button
*
btn_event_edit
;
88
Button
*
btn_event_del
;
89
Button
*
btn_event_inc
;
90
Button
*
btn_event_dec
;
91
92
Button
*
btn_sit
;
93
Button
*
btn_pkg
;
94
Button
*
btn_map
;
95
96
EditBox
*
txt_name
;
97
ComboBox
*
cmb_type
;
98
ComboBox
*
cmb_system
;
99
ComboBox
*
cmb_region
;
100
101
EditBox
*
txt_description
;
102
EditBox
*
txt_situation
;
103
EditBox
*
txt_objective
;
104
105
ListBox
*
lst_elem
;
106
ListBox
*
lst_event
;
107
108
Mission
*
mission
;
109
MissionInfo
*
mission_info
;
110
111
int
current_tab
;
112
bool
exit_latch
;
113
};
114
115
#endif MsnEditDlg_h
116
Stars45
MsnEditDlg.h
Generated on Tue Jun 5 2012 20:46:59 for Starshatter_Open by
1.8.1