diff options
author | Aki <please@ignore.pl> | 2022-04-01 21:23:39 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-04-01 21:23:39 +0200 |
commit | 3c487c5cd69c53d6fea948643c0a76df03516605 (patch) | |
tree | 72730c7b8b26a5ef8fc9a987ec4c16129efd5aac /Stars45/MenuScreen.h | |
parent | 8f353abd0bfe18baddd8a8250ab7c4f2d1c83a6e (diff) | |
download | starshatter-3c487c5cd69c53d6fea948643c0a76df03516605.zip starshatter-3c487c5cd69c53d6fea948643c0a76df03516605.tar.gz starshatter-3c487c5cd69c53d6fea948643c0a76df03516605.tar.bz2 |
Moved Stars45 to StarsEx
Diffstat (limited to 'Stars45/MenuScreen.h')
-rw-r--r-- | Stars45/MenuScreen.h | 198 |
1 files changed, 0 insertions, 198 deletions
diff --git a/Stars45/MenuScreen.h b/Stars45/MenuScreen.h deleted file mode 100644 index 6642e16..0000000 --- a/Stars45/MenuScreen.h +++ /dev/null @@ -1,198 +0,0 @@ -/* 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 - -*/ - -#ifndef MenuScreen_h -#define MenuScreen_h - -#include "Types.h" -#include "Bitmap.h" -#include "Screen.h" -#include "BaseScreen.h" - -// +--------------------------------------------------------------------+ - -class MenuDlg; -class AudDlg; -class VidDlg; -class OptDlg; -class CtlDlg; -class JoyDlg; -class KeyDlg; -class ExitDlg; -class ConfirmDlg; - -class FirstTimeDlg; -class PlayerDlg; -class AwardShowDlg; - -class MsnSelectDlg; -class CmpSelectDlg; -class ModDlg; -class ModInfoDlg; -class MsnEditDlg; -class MsnElemDlg; -class MsnEventDlg; - -class NetClientDlg; -class NetAddrDlg; -class NetPassDlg; -class NetLobbyDlg; -class NetServerDlg; -class NetUnitDlg; - -class LoadDlg; -class TacRefDlg; - -class ActiveWindow; -class Bitmap; -class DataLoader; -class FadeView; -class Font; -class FormWindow; -class Screen; -class Video; -class VideoFactory; -class Window; - -// +--------------------------------------------------------------------+ - -class MenuScreen : public BaseScreen -{ -public: - MenuScreen(); - virtual ~MenuScreen(); - - virtual void Setup(Screen* screen); - virtual void TearDown(); - virtual bool CloseTopmost(); - - virtual bool IsShown() const { return isShown; } - virtual void Show(); - virtual void Hide(); - - virtual void ExecFrame(); - - virtual void ShowMenuDlg(); - virtual void ShowCmpSelectDlg(); - virtual void ShowMsnSelectDlg(); - virtual void ShowModDlg(); - virtual void ShowModInfoDlg(); - virtual void ShowMsnEditDlg(); - virtual void ShowNetClientDlg(); - virtual void ShowNetAddrDlg(); - virtual void ShowNetPassDlg(); - virtual void ShowNetLobbyDlg(); - virtual void ShowNetServerDlg(); - virtual void ShowNetUnitDlg(); - virtual void ShowFirstTimeDlg(); - virtual void ShowPlayerDlg(); - virtual void ShowTacRefDlg(); - virtual void ShowAwardDlg(); - virtual void ShowAudDlg(); - virtual void ShowVidDlg(); - virtual void ShowOptDlg(); - virtual void ShowCtlDlg(); - virtual void ShowJoyDlg(); - virtual void ShowKeyDlg(); - virtual void ShowExitDlg(); - virtual void ShowConfirmDlg(); - virtual void HideConfirmDlg(); - virtual void ShowLoadDlg(); - virtual void HideLoadDlg(); - - // base screen interface: - virtual void ShowMsnElemDlg(); - virtual void HideMsnElemDlg(); - virtual MsnElemDlg* GetMsnElemDlg() { return msnElemDlg; } - - virtual void ShowMsnEventDlg(); - virtual void HideMsnEventDlg(); - virtual MsnEventDlg* GetMsnEventDlg() { return msnEventDlg; } - - virtual void ShowNavDlg(); - virtual void HideNavDlg(); - virtual bool IsNavShown(); - virtual NavDlg* GetNavDlg() { return msnEditNavDlg; } - - virtual MsnSelectDlg* GetMsnSelectDlg() const { return msnSelectDlg; } - virtual ModDlg* GetModDlg() const { return modDlg; } - virtual ModInfoDlg* GetModInfoDlg() const { return modInfoDlg; } - virtual MsnEditDlg* GetMsnEditDlg() const { return msnEditDlg; } - virtual NetClientDlg* GetNetClientDlg() const { return netClientDlg; } - virtual NetAddrDlg* GetNetAddrDlg() const { return netAddrDlg; } - virtual NetPassDlg* GetNetPassDlg() const { return netPassDlg; } - virtual NetLobbyDlg* GetNetLobbyDlg() const { return netLobbyDlg; } - virtual NetServerDlg* GetNetServerDlg() const { return netServerDlg; } - virtual NetUnitDlg* GetNetUnitDlg() const { return netUnitDlg; } - virtual LoadDlg* GetLoadDlg() const { return loadDlg; } - virtual TacRefDlg* GetTacRefDlg() const { return tacRefDlg; } - - virtual AudDlg* GetAudDlg() const { return auddlg; } - virtual VidDlg* GetVidDlg() const { return viddlg; } - virtual OptDlg* GetOptDlg() const { return optdlg; } - virtual CtlDlg* GetCtlDlg() const { return ctldlg; } - virtual JoyDlg* GetJoyDlg() const { return joydlg; } - virtual KeyDlg* GetKeyDlg() const { return keydlg; } - virtual ExitDlg* GetExitDlg() const { return exitdlg; } - virtual FirstTimeDlg* GetFirstTimeDlg() const { return firstdlg; } - virtual PlayerDlg* GetPlayerDlg() const { return playdlg; } - virtual AwardShowDlg* GetAwardDlg() const { return awarddlg; } - virtual ConfirmDlg* GetConfirmDlg() const { return confirmdlg; } - - virtual void ApplyOptions(); - virtual void CancelOptions(); - -private: - void HideAll(); - - Screen* screen; - MenuDlg* menudlg; - - Window* fadewin; - FadeView* fadeview; - ExitDlg* exitdlg; - AudDlg* auddlg; - VidDlg* viddlg; - OptDlg* optdlg; - CtlDlg* ctldlg; - JoyDlg* joydlg; - KeyDlg* keydlg; - ConfirmDlg* confirmdlg; - PlayerDlg* playdlg; - AwardShowDlg* awarddlg; - ModDlg* modDlg; - ModInfoDlg* modInfoDlg; - MsnSelectDlg* msnSelectDlg; - MsnEditDlg* msnEditDlg; - MsnElemDlg* msnElemDlg; - MsnEventDlg* msnEventDlg; - NavDlg* msnEditNavDlg; - LoadDlg* loadDlg; - TacRefDlg* tacRefDlg; - - CmpSelectDlg* cmpSelectDlg; - FirstTimeDlg* firstdlg; - NetClientDlg* netClientDlg; - NetAddrDlg* netAddrDlg; - NetPassDlg* netPassDlg; - NetLobbyDlg* netLobbyDlg; - NetServerDlg* netServerDlg; - NetUnitDlg* netUnitDlg; - - FormWindow* current_dlg; - DataLoader* loader; - - int wc, hc; - bool isShown; -}; - -// +--------------------------------------------------------------------+ - -#endif // MenuScreen_h - |