Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
LoadScreen.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: LoadScreen.h
7  AUTHOR: John DiCamillo
8 
9 */
10 
11 #ifndef LoadScreen_h
12 #define LoadScreen_h
13 
14 #include "Types.h"
15 #include "Bitmap.h"
16 #include "Screen.h"
17 
18 // +--------------------------------------------------------------------+
19 
20 class LoadDlg;
21 class CmpLoadDlg;
22 
23 class Bitmap;
24 class DataLoader;
25 class Font;
26 class Screen;
27 class Video;
28 class VideoFactory;
29 
30 // +--------------------------------------------------------------------+
31 
33 {
34 public:
35  LoadScreen();
36  virtual ~LoadScreen();
37 
38  virtual void Setup(Screen* screen);
39  virtual void TearDown();
40  virtual bool CloseTopmost();
41 
42  virtual bool IsShown() const { return isShown; }
43  virtual void Show();
44  virtual void Hide();
45 
46  virtual void ShowLoadDlg();
47  virtual void HideLoadDlg();
48  virtual LoadDlg* GetLoadDlg() { return load_dlg; }
49  virtual CmpLoadDlg* GetCmpLoadDlg() { return cmp_load_dlg; }
50 
51  virtual void ExecFrame();
52 
53 private:
54  Screen* screen;
55  LoadDlg* load_dlg;
56  CmpLoadDlg* cmp_load_dlg;
57 
58  bool isShown;
59 };
60 
61 // +--------------------------------------------------------------------+
62 
63 #endif LoadScreen_h
64