diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/client/econ/confirm_delete_dialog.cpp | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'game/client/econ/confirm_delete_dialog.cpp')
| -rw-r--r-- | game/client/econ/confirm_delete_dialog.cpp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/game/client/econ/confirm_delete_dialog.cpp b/game/client/econ/confirm_delete_dialog.cpp new file mode 100644 index 0000000..0cd8cbb --- /dev/null +++ b/game/client/econ/confirm_delete_dialog.cpp @@ -0,0 +1,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 ); + } +}
\ No newline at end of file |