Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
CmdDlg.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: CmdDlg.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Operational Command Dialog Active Window class
13
*/
14
15
#ifndef CmdDlg_h
16
#define CmdDlg_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
CmpnScreen
;
30
class
Campaign
;
31
class
Combatant
;
32
class
CombatGroup
;
33
class
CombatUnit
;
34
class
Starshatter
;
35
36
// +--------------------------------------------------------------------+
37
38
class
CmdDlg
39
{
40
public
:
41
enum
MODE
{
42
MODE_ORDERS
,
43
MODE_THEATER
,
44
MODE_FORCES
,
45
MODE_INTEL
,
46
MODE_MISSIONS
,
47
NUM_MODES
48
};
49
50
CmdDlg
(
CmpnScreen
* mgr);
51
virtual
~CmdDlg
();
52
53
virtual
void
RegisterCmdControls
(
FormWindow
* win);
54
virtual
void
ShowCmdDlg
();
55
56
virtual
void
ExecFrame
();
57
58
// Operations:
59
virtual
void
OnMode
(
AWEvent
* event);
60
virtual
void
OnSave
(
AWEvent
* event);
61
virtual
void
OnExit
(
AWEvent
* event);
62
63
protected
:
64
virtual
void
ShowMode
();
65
66
CmpnScreen
*
cmpn_screen
;
67
68
ActiveWindow
*
txt_group
;
69
ActiveWindow
*
txt_score
;
70
ActiveWindow
*
txt_name
;
71
ActiveWindow
*
txt_time
;
72
Button
*
btn_mode
[
NUM_MODES
];
73
Button
*
btn_save
;
74
Button
*
btn_exit
;
75
76
Starshatter
*
stars
;
77
Campaign
*
campaign
;
78
79
int
mode
;
80
};
81
82
#endif CmdDlg_h
83
Stars45
CmdDlg.h
Generated on Tue Jun 5 2012 20:46:48 for Starshatter_Open by
1.8.1