summaryrefslogtreecommitdiff
path: root/game/client/cstrike/VGUI/stat_card.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/client/cstrike/VGUI/stat_card.h')
-rw-r--r--game/client/cstrike/VGUI/stat_card.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/game/client/cstrike/VGUI/stat_card.h b/game/client/cstrike/VGUI/stat_card.h
new file mode 100644
index 0000000..5a393ab
--- /dev/null
+++ b/game/client/cstrike/VGUI/stat_card.h
@@ -0,0 +1,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 \ No newline at end of file