diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /gameui/LoadGameDialog.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'gameui/LoadGameDialog.h')
| -rw-r--r-- | gameui/LoadGameDialog.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/gameui/LoadGameDialog.h b/gameui/LoadGameDialog.h new file mode 100644 index 0000000..4e8de64 --- /dev/null +++ b/gameui/LoadGameDialog.h @@ -0,0 +1,54 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef LOADGAMEDIALOG_H +#define LOADGAMEDIALOG_H +#ifdef _WIN32 +#pragma once +#endif + +#include "BaseSaveGameDialog.h" +#include "SaveGameDialog.h" +#include "SaveGameBrowserDialog.h" +#include "BasePanel.h" +#include "vgui_controls/KeyRepeat.h" + +//----------------------------------------------------------------------------- +// Purpose: Displays game loading options +//----------------------------------------------------------------------------- +class CLoadGameDialog : public CBaseSaveGameDialog +{ + DECLARE_CLASS_SIMPLE( CLoadGameDialog, CBaseSaveGameDialog ); + +public: + CLoadGameDialog(vgui::Panel *parent); + ~CLoadGameDialog(); + + virtual void OnCommand( const char *command ); +}; + +// +// +// + +class CLoadGameDialogXbox : public CSaveGameBrowserDialog +{ + DECLARE_CLASS_SIMPLE( CLoadGameDialogXbox, CSaveGameBrowserDialog ); + +public: + CLoadGameDialogXbox( vgui::Panel *parent ); + virtual void ApplySchemeSettings( vgui::IScheme *pScheme ); + virtual void OnCommand(const char *command); + virtual void PerformSelectedAction( void ); + virtual void PerformDeletion( void ); + virtual void UpdateFooterOptions( void ); + +private: + void DeleteSaveGame( const SaveGameDescription_t *pSaveDesc ); +}; + +#endif // LOADGAMEDIALOG_H |