Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
CmdForceDlg.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: CmdForceDlg.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Operational Command Dialog (Order of Battle Tab)
13
*/
14
15
#ifndef CmdForceDlg_h
16
#define CmdForceDlg_h
17
18
#include "
Types.h
"
19
#include "
FormWindow.h
"
20
#include "
CmdDlg.h
"
21
#include "
Bitmap.h
"
22
#include "
Button.h
"
23
#include "
ComboBox.h
"
24
#include "
ListBox.h
"
25
#include "
Font.h
"
26
#include "
Text.h
"
27
28
// +--------------------------------------------------------------------+
29
30
class
CmdForceDlg
:
public
FormWindow
,
31
public
CmdDlg
32
{
33
public
:
34
CmdForceDlg
(
Screen
* s,
FormDef
& def,
CmpnScreen
* mgr);
35
virtual
~CmdForceDlg
();
36
37
virtual
void
RegisterControls
();
38
virtual
void
Show
();
39
virtual
void
ExecFrame
();
40
41
// Operations:
42
virtual
void
OnMode
(
AWEvent
*
event
);
43
virtual
void
OnSave
(
AWEvent
* event);
44
virtual
void
OnExit
(
AWEvent
* event);
45
virtual
void
OnForces
(
AWEvent
* event);
46
virtual
void
OnCombat
(
AWEvent
* event);
47
virtual
void
OnTransfer
(
AWEvent
* event);
48
49
protected
:
50
void
ShowCombatant
(
Combatant
* c);
51
void
AddCombatGroup
(
CombatGroup
* grp,
bool
last_child=
false
);
52
bool
CanTransfer
(
CombatGroup
* grp);
53
bool
IsVisible
(
Combatant
* c);
54
55
CmpnScreen
*
manager
;
56
57
ComboBox
*
cmb_forces
;
58
ListBox
*
lst_combat
;
59
ListBox
*
lst_desc
;
60
Button
*
btn_transfer
;
61
62
Starshatter
*
stars
;
63
Campaign
*
campaign
;
64
CombatGroup
*
current_group
;
65
CombatUnit
*
current_unit
;
66
};
67
68
#endif CmdForceDlg_h
69
Stars45
CmdForceDlg.h
Generated on Tue Jun 5 2012 20:46:48 for Starshatter_Open by
1.8.1