1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-23 01:59:43 +08:00
hl2sdk/game/shared/cs_achievements_and_stats_interface.h

48 lines
1.3 KiB
C
Raw Normal View History

2013-06-27 06:22:04 +08:00
//========= 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