Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
AwardShowDlg.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: AwardShowDlg.h
7  AUTHOR: John DiCamillo
8 
9 
10  OVERVIEW
11  ========
12  Main Menu Dialog Active Window class
13 */
14 
15 #ifndef AwardShowDlg_h
16 #define AwardShowDlg_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 MenuScreen;
29 
30 // +--------------------------------------------------------------------+
31 
32 class AwardShowDlg : public FormWindow
33 {
34 public:
35  AwardShowDlg(Screen* s, FormDef& def, MenuScreen* mgr);
36  virtual ~AwardShowDlg();
37 
38  virtual void RegisterControls();
39  virtual void Show();
40  virtual void ExecFrame();
41 
42  // Operations:
43  virtual void OnClose(AWEvent* event);
44  virtual void ShowAward();
45  virtual void SetRank(int r);
46  virtual void SetMedal(int r);
47 
48 protected:
50 
55 
56  bool exit_latch;
57 
58  int rank;
59  int medal;
60 };
61 
62 #endif AwardShowDlg_h
63