mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-23 14:46:53 +00:00
32 lines
871 B
C++
32 lines
871 B
C++
//========= 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()
|
|
{
|
|
}
|