Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
MsnEventDlg.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: MsnEventDlg.h
7  AUTHOR: John DiCamillo
8 
9 
10  OVERVIEW
11  ========
12  Mission Editor Element Dialog Active Window class
13 */
14 
15 #ifndef MsnEventDlg_h
16 #define MsnEventDlg_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 MenuScreen;
30 class MsnEditDlg;
31 class Mission;
32 class MissionElement;
33 class MissionEvent;
34 
35 // +--------------------------------------------------------------------+
36 
37 class MsnEventDlg : public FormWindow
38 {
39 public:
40  MsnEventDlg(Screen* s, FormDef& def, MenuScreen* mgr);
41  virtual ~MsnEventDlg();
42 
43  virtual void RegisterControls();
44  virtual void Show();
45  virtual void ExecFrame();
46 
47  // Operations:
48  virtual void SetMission(Mission* msn);
49  virtual void SetMissionEvent(MissionEvent* event);
50  virtual void OnEventSelect(AWEvent* e);
51  virtual void OnAccept(AWEvent* e);
52  virtual void OnCancel(AWEvent* e);
53 
54 protected:
55  virtual void FillShipList(ComboBox* cmb, const char* seln);
56  virtual void FillRgnList(ComboBox* cmb, const char* seln);
57 
59 
63 
72 
77 
80 
83 };
84 
85 #endif MsnEventDlg_h
86