mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-21 04:56:01 +08:00
Update from SDK 2013
This commit is contained in:

committed by
Nicholas Hastings

parent
6d5c024820
commit
94b660e16e
@ -1,41 +1,41 @@
|
||||
//========= Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
// $NoKeywords: $
|
||||
//=============================================================================//
|
||||
|
||||
#include <vgui/IScheme.h>
|
||||
|
||||
#include <vgui_controls/Divider.h>
|
||||
|
||||
// memdbgon must be the last include file in a .cpp file!!!
|
||||
#include "tier0/memdbgon.h"
|
||||
|
||||
using namespace vgui;
|
||||
|
||||
DECLARE_BUILD_FACTORY( Divider );
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: Constructor
|
||||
//-----------------------------------------------------------------------------
|
||||
Divider::Divider(Panel *parent, const char *name) : Panel(parent, name)
|
||||
{
|
||||
SetSize(128, 2);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: Destructor
|
||||
//-----------------------------------------------------------------------------
|
||||
Divider::~Divider()
|
||||
{
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: sets up the border as the line to draw as a divider
|
||||
//-----------------------------------------------------------------------------
|
||||
void Divider::ApplySchemeSettings(IScheme *pScheme)
|
||||
{
|
||||
SetBorder(pScheme->GetBorder("ButtonDepressedBorder"));
|
||||
BaseClass::ApplySchemeSettings(pScheme);
|
||||
}
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
// $NoKeywords: $
|
||||
//=============================================================================//
|
||||
|
||||
#include <vgui/IScheme.h>
|
||||
|
||||
#include <vgui_controls/Divider.h>
|
||||
|
||||
// memdbgon must be the last include file in a .cpp file!!!
|
||||
#include "tier0/memdbgon.h"
|
||||
|
||||
using namespace vgui;
|
||||
|
||||
DECLARE_BUILD_FACTORY( Divider );
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: Constructor
|
||||
//-----------------------------------------------------------------------------
|
||||
Divider::Divider(Panel *parent, const char *name) : Panel(parent, name)
|
||||
{
|
||||
SetSize(128, 2);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: Destructor
|
||||
//-----------------------------------------------------------------------------
|
||||
Divider::~Divider()
|
||||
{
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: sets up the border as the line to draw as a divider
|
||||
//-----------------------------------------------------------------------------
|
||||
void Divider::ApplySchemeSettings(IScheme *pScheme)
|
||||
{
|
||||
SetBorder(pScheme->GetBorder("ButtonDepressedBorder"));
|
||||
BaseClass::ApplySchemeSettings(pScheme);
|
||||
}
|
||||
|
Reference in New Issue
Block a user