blob: 5a393ab56f6a5c4b2a0a2b24dfb0f14be2d98235 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
//========= 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
|