Starshatter_Open
Open source Starshatter engine
 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:
58 
62 
67 
69 
79  int medals[15];
80 
83 };
84 
85 #endif PlayerDlg_h
86