summaryrefslogtreecommitdiff
path: root/game/client/econ/confirm_delete_dialog.cpp
blob: 0cd8cbbcfa722908a50d1fe0540fda3fb87d6196 (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
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//


#include "cbase.h"
#include "confirm_delete_dialog.h"
#include "vgui_controls/TextImage.h"
#include "econ_controls.h"

// memdbgon must be the last include file in a .cpp file!!!
#include <tier0/memdbgon.h>

//-----------------------------------------------------------------------------
// Purpose: 
//-----------------------------------------------------------------------------
CConfirmDeleteDialog::CConfirmDeleteDialog( vgui::Panel *parent )
:	BaseClass(parent)
{
}

//-----------------------------------------------------------------------------
// Purpose: 
//-----------------------------------------------------------------------------
void CConfirmDeleteDialog::ApplySchemeSettings( vgui::IScheme *pScheme )
{
	BaseClass::ApplySchemeSettings( pScheme );

	// Set the X to be bright, and the rest dull
	if ( m_pConfirmButton )
	{
		m_pConfirmButton->SetText( "#X_DeleteConfirmButton" );
		SetXToRed( m_pConfirmButton );
	}
}