Starshatter_Open
Open source Starshatter engine
 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 {
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 
67 
75 
78 
79  int mode;
80 };
81 
82 #endif CmdDlg_h
83