summaryrefslogtreecommitdiff
path: root/game/client/tf/tf_hud_mann_vs_machine_stats.cpp
blob: 827866f25b209ad9fa35dab89bd7201224ba266b (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
//========= 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" );
}