Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OptDlg.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: OptDlg.h
7  AUTHOR: John DiCamillo
8 
9 
10  OVERVIEW
11  ========
12  Main Menu Dialog Active Window class
13 */
14 
15 #ifndef OptDlg_h
16 #define OptDlg_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 BaseScreen;
29 
30 // +--------------------------------------------------------------------+
31 
32 class OptDlg : public FormWindow
33 {
34 public:
35  OptDlg(Screen* s, FormDef& def, BaseScreen* mgr);
36  virtual ~OptDlg();
37 
38  virtual void RegisterControls();
39  virtual void Show();
40  virtual void ExecFrame();
41 
42  // Operations:
43  virtual void Apply();
44  virtual void Cancel();
45 
46  virtual void OnApply(AWEvent* event);
47  virtual void OnCancel(AWEvent* event);
48 
49  virtual void OnEnter(AWEvent* event);
50  virtual void OnExit(AWEvent* event);
51 
52  virtual void OnAudio(AWEvent* event);
53  virtual void OnVideo(AWEvent* event);
54  virtual void OnOptions(AWEvent* event);
55  virtual void OnControls(AWEvent* event);
56  virtual void OnMod(AWEvent* event);
57 
58 protected:
60 
71 
73 
79 
82 
83  bool closed;
84 };
85 
86 #endif OptDlg_h
87