summaryrefslogtreecommitdiff
path: root/game/client/tf/tf_hud_mann_vs_machine_stats.cpp
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/client/tf/tf_hud_mann_vs_machine_stats.cpp
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'game/client/tf/tf_hud_mann_vs_machine_stats.cpp')
-rw-r--r--game/client/tf/tf_hud_mann_vs_machine_stats.cpp44
1 files changed, 44 insertions, 0 deletions
diff --git a/game/client/tf/tf_hud_mann_vs_machine_stats.cpp b/game/client/tf/tf_hud_mann_vs_machine_stats.cpp
new file mode 100644
index 0000000..827866f
--- /dev/null
+++ b/game/client/tf/tf_hud_mann_vs_machine_stats.cpp
@@ -0,0 +1,44 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose: Stat Ui Elements for MvM
+//
+// $NoKeywords: $
+//=============================================================================
+#include "cbase.h"
+#include "tf_hud_mann_vs_machine_stats.h"
+
+using namespace vgui;
+
+//-----------------------------------------------------------------------------
+// CCreditDisplayPanel
+//-----------------------------------------------------------------------------
+DECLARE_BUILD_FACTORY( CCreditDisplayPanel );
+
+CCreditDisplayPanel::CCreditDisplayPanel( Panel *parent, const char *pName ): vgui::EditablePanel( parent, pName )
+{
+
+}
+
+//-----------------------------------------------------------------------------
+void CCreditDisplayPanel::ApplySchemeSettings( IScheme *pScheme )
+{
+ BaseClass::ApplySchemeSettings( pScheme );
+ LoadControlSettings( "resource/UI/MvMCreditSubPanel.res" );
+}
+
+//-----------------------------------------------------------------------------
+// CCreditSpendPanel
+//-----------------------------------------------------------------------------
+DECLARE_BUILD_FACTORY( CCreditSpendPanel );
+
+CCreditSpendPanel::CCreditSpendPanel( Panel *parent, const char *pName ): vgui::EditablePanel( parent, pName )
+{
+
+}
+
+//-----------------------------------------------------------------------------
+void CCreditSpendPanel::ApplySchemeSettings( IScheme *pScheme )
+{
+ BaseClass::ApplySchemeSettings( pScheme );
+ LoadControlSettings( "resource/UI/MvMCreditSpendPanel.res" );
+} \ No newline at end of file