Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
PlayerDlg.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: PlayerDlg.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Main Menu Dialog Active Window class
13
*/
14
15
#ifndef PlayerDlg_h
16
#define PlayerDlg_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
MenuScreen
;
29
class
Player
;
30
31
// +--------------------------------------------------------------------+
32
33
class
PlayerDlg
:
public
FormWindow
34
{
35
public
:
36
PlayerDlg
(
Screen
* s,
FormDef
& def,
MenuScreen
* mgr);
37
virtual
~PlayerDlg
();
38
39
virtual
void
RegisterControls
();
40
virtual
void
Show
();
41
virtual
void
ExecFrame
();
42
43
// Operations:
44
virtual
void
OnApply
(
AWEvent
*
event
);
45
virtual
void
OnCancel
(
AWEvent
* event);
46
virtual
void
OnSelectPlayer
(
AWEvent
* event);
47
virtual
void
OnAdd
(
AWEvent
* event);
48
virtual
void
OnDel
(
AWEvent
* event);
49
virtual
void
OnDelConfirm
(
AWEvent
* event);
50
virtual
void
OnRank
(
AWEvent
* event);
51
virtual
void
OnMedal
(
AWEvent
* event);
52
53
virtual
void
UpdatePlayer
();
54
virtual
void
ShowPlayer
();
55
56
protected
:
57
MenuScreen
*
manager
;
58
59
ListBox
*
lst_roster
;
60
Button
*
btn_add
;
61
Button
*
btn_del
;
62
63
EditBox
*
txt_name
;
64
EditBox
*
txt_password
;
65
EditBox
*
txt_squadron
;
66
EditBox
*
txt_signature
;
67
68
EditBox
*
txt_chat
[10];
69
70
ActiveWindow
*
lbl_createdate
;
71
ActiveWindow
*
lbl_rank
;
72
ActiveWindow
*
lbl_flighttime
;
73
ActiveWindow
*
lbl_missions
;
74
ActiveWindow
*
lbl_kills
;
75
ActiveWindow
*
lbl_losses
;
76
ActiveWindow
*
lbl_points
;
77
ImageBox
*
img_rank
;
78
ImageBox
*
img_medals
[15];
79
int
medals
[15];
80
81
Button
*
apply
;
82
Button
*
cancel
;
83
};
84
85
#endif PlayerDlg_h
86
Stars45
PlayerDlg.h
Generated on Thu May 31 2012 16:31:14 for Starshatter_Open by
1.8.1