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 /game/shared/cs_achievements_and_stats_interface.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'game/shared/cs_achievements_and_stats_interface.h')
| -rw-r--r-- | game/shared/cs_achievements_and_stats_interface.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/game/shared/cs_achievements_and_stats_interface.h b/game/shared/cs_achievements_and_stats_interface.h new file mode 100644 index 0000000..ddeaf03 --- /dev/null +++ b/game/shared/cs_achievements_and_stats_interface.h @@ -0,0 +1,47 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//============================================================================= + +#ifndef CSACHIEVEMENTSANDSTATSINTERFACE_H +#define CSACHIEVEMENTSANDSTATSINTERFACE_H +#ifdef _WIN32 +#pragma once +#endif + +#include "achievements_and_stats_interface.h" +#include "vgui_controls/Panel.h" +#include "vgui_controls/PHandle.h" +#include "vgui_controls/MenuItem.h" +#include "vgui_controls/MessageDialog.h" + +#include "cs_gamestats_shared.h" +#include "../client/cstrike/VGUI/achievement_stats_summary.h" +#include "vgui/IInput.h" +#include "vgui/ILocalize.h" +#include "vgui/IPanel.h" +#include "vgui/ISurface.h" +#include "vgui/ISystem.h" +#include "vgui/IVGui.h" + + +#if defined(CSTRIKE_DLL) && defined(CLIENT_DLL) + +class CSAchievementsAndStatsInterface : public AchievementsAndStatsInterface +{ +public: + CSAchievementsAndStatsInterface(); + + virtual void CreatePanel( vgui::Panel* pParent ); + virtual void DisplayPanel(); + virtual void ReleasePanel(); + virtual int GetAchievementsPanelMinWidth( void ) const { return cAchievementsDialogMinWidth; } + +protected: + vgui::DHANDLE<vgui::Frame> m_pAchievementAndStatsSummary; +}; + +#endif + +#endif // CSACHIEVEMENTSANDSTATSINTERFACE_H |