blob: 9fa133f38dce49ab4edc8bbff6128f41d5a91024 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
//========= 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()
{
}
|