mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-29 09:33:00 +00:00
49 lines
919 B
C++
49 lines
919 B
C++
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
//
|
|
// $NoKeywords: $
|
|
//=============================================================================//
|
|
|
|
#ifndef STATCARD_H
|
|
#define STATCARD_H
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
#include <vgui/IScheme.h>
|
|
#include "hud.h"
|
|
#include "hudelement.h"
|
|
#include "vgui_avatarimage.h"
|
|
#include "cs_shareddefs.h"
|
|
#include <vgui_controls/EditablePanel.h>
|
|
|
|
using namespace vgui;
|
|
|
|
class StatCard : public EditablePanel
|
|
{
|
|
private:
|
|
DECLARE_CLASS_SIMPLE( StatCard, EditablePanel );
|
|
|
|
public:
|
|
StatCard(vgui::Panel *parent, const char *name);
|
|
~StatCard();
|
|
|
|
virtual void ApplySchemeSettings( vgui::IScheme *pScheme );
|
|
void UpdateInfo();
|
|
|
|
protected:
|
|
|
|
|
|
ImagePanel* m_pAvatarDefault;
|
|
//ImagePanel* m_pBackgroundArt;
|
|
CAvatarImagePanel* m_pAvatar;
|
|
|
|
Label* m_pName;
|
|
Label* m_pKillToDeathRatio;
|
|
Label* m_pStars;
|
|
|
|
|
|
private:
|
|
};
|
|
|
|
#endif //STATCARD_H
|