mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-23 06:36:54 +00:00
37 lines
1.1 KiB
C++
37 lines
1.1 KiB
C++
//========= 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 );
|
|
}
|
|
} |