Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
MenuDlg.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: MenuDlg.h
7  AUTHOR: John DiCamillo
8 
9 
10  OVERVIEW
11  ========
12  Main Menu Dialog Active Window class
13 */
14 
15 #ifndef MenuDlg_h
16 #define MenuDlg_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 Campaign;
31 class Starshatter;
32 
33 // +--------------------------------------------------------------------+
34 
35 class MenuDlg : public FormWindow
36 {
37 public:
38  MenuDlg(Screen* s, FormDef& def, MenuScreen* mgr);
39  virtual ~MenuDlg();
40 
41  virtual void RegisterControls();
42  virtual void Show();
43  virtual void ExecFrame();
44 
45  // Operations:
46  virtual void OnStart(AWEvent* event);
47  virtual void OnCampaign(AWEvent* event);
48  virtual void OnMission(AWEvent* event);
49  virtual void OnPlayer(AWEvent* event);
50  virtual void OnMultiplayer(AWEvent* event);
51  virtual void OnMod(AWEvent* event);
52  virtual void OnTacReference(AWEvent* event);
53 
54  virtual void OnVideo(AWEvent* event);
55  virtual void OnOptions(AWEvent* event);
56  virtual void OnControls(AWEvent* event);
57  virtual void OnQuit(AWEvent* event);
58 
59  virtual void OnButtonEnter(AWEvent* event);
60  virtual void OnButtonExit(AWEvent* event);
61 
62 protected:
64 
72 
77 
80 
83 };
84 
85 #endif MenuDlg_h
86