You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
871 B
32 lines
871 B
5 years ago
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
// $NoKeywords: $
|
||
|
//=============================================================================//
|
||
|
|
||
|
#include "DemoPage.h"
|
||
|
|
||
|
using namespace vgui;
|
||
|
|
||
|
//-----------------------------------------------------------------------------
|
||
|
// Purpose: Constructor
|
||
|
//-----------------------------------------------------------------------------
|
||
|
DemoPage::DemoPage(Panel *parent, const char *name) : PropertyPage(parent, name)
|
||
|
{
|
||
|
SetPos(1,80);
|
||
|
int wide, tall;
|
||
|
GetParent()->GetSize(wide, tall);
|
||
|
SetSize (wide-2, tall - 81);
|
||
|
|
||
|
SetPaintBorderEnabled(false);
|
||
|
SetVisible(false);
|
||
|
}
|
||
|
|
||
|
//-----------------------------------------------------------------------------
|
||
|
// Purpose: Destructor
|
||
|
//-----------------------------------------------------------------------------
|
||
|
DemoPage::~DemoPage()
|
||
|
{
|
||
|
}
|