diff options
Diffstat (limited to 'StarsEx/CmpLoadDlg.h')
-rw-r--r-- | StarsEx/CmpLoadDlg.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/StarsEx/CmpLoadDlg.h b/StarsEx/CmpLoadDlg.h new file mode 100644 index 0000000..5357a46 --- /dev/null +++ b/StarsEx/CmpLoadDlg.h @@ -0,0 +1,45 @@ +/* Starshatter: The Open Source Project + Copyright (c) 2021-2022, Starshatter: The Open Source Project Contributors + Copyright (c) 2011-2012, Starshatter OpenSource Distribution Contributors + Copyright (c) 1997-2006, Destroyer Studios LLC. + + AUTHOR: John DiCamillo + + + OVERVIEW + ======== + Campaign title card and load progress dialog +*/ + +#ifndef CmpLoadDlg_h +#define CmpLoadDlg_h + +#include "Types.h" +#include "FormWindow.h" + +// +--------------------------------------------------------------------+ + +class CmpLoadDlg : public FormWindow +{ +public: + CmpLoadDlg(Screen* s, FormDef& def); + virtual ~CmpLoadDlg(); + + // Operations: + virtual void ExecFrame(); + virtual void MoveTo(const Rect& r); + virtual void RegisterControls(); + virtual void Show(); + + virtual bool IsDone(); + +protected: + ActiveWindow* lbl_activity; + Slider* lbl_progress; + ActiveWindow* lbl_title; + ImageBox* img_title; + DWORD show_time; +}; + +#endif // CmpLoadDlg_h + |