Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
VidDlg.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: VidDlg.h
7  AUTHOR: John DiCamillo
8 
9 
10  OVERVIEW
11  ========
12  Main Menu Dialog Active Window class
13 */
14 
15 #ifndef VidDlg_h
16 #define VidDlg_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 "Slider.h"
25 #include "Font.h"
26 
27 // +--------------------------------------------------------------------+
28 
29 class BaseScreen;
30 class Starshatter;
31 
32 // +--------------------------------------------------------------------+
33 
34 class VidDlg : public FormWindow
35 {
36 public:
37  VidDlg(Screen* s, FormDef& def, BaseScreen* mgr);
38  virtual ~VidDlg();
39 
40  virtual void RegisterControls();
41  virtual void Show();
42  virtual void ExecFrame();
43 
44  // Operations:
45  virtual void OnTexSize(AWEvent* event);
46  virtual void OnMode(AWEvent* event);
47  virtual void OnDetail(AWEvent* event);
48  virtual void OnTexture(AWEvent* event);
49  virtual void OnGamma(AWEvent* event);
50 
51  virtual void Apply();
52  virtual void Cancel();
53 
54  virtual void OnApply(AWEvent* event);
55  virtual void OnCancel(AWEvent* event);
56 
57  virtual void OnAudio(AWEvent* event);
58  virtual void OnVideo(AWEvent* event);
59  virtual void OnOptions(AWEvent* event);
60  virtual void OnControls(AWEvent* event);
61  virtual void OnMod(AWEvent* event);
62 
63 protected:
64  virtual void BuildModeList();
65 
68 
73 
77 
82 
84 
90 
93 
101 
102  bool closed;
103 };
104 
105 #endif VidDlg_h
106