source-engine-2018-hl2_src/utils/vgui_panel_zoo/DemoPage.cpp
FluorescentCIAAfricanAmerican 3bf9df6b27 1
2020-04-22 12:56:21 -04:00

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()
{
}