summaryrefslogtreecommitdiff
path: root/game/client/cstrike/VGUI/bordered_panel.cpp
blob: cec1d702cffdea1ac4c66a60e8d6a87ddc29cfdd (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
//========= Copyright Valve Corporation, All rights reserved. ============//
//-------------------------------------------------------------
// File:		BorderedPanel.cpp
// Desc: 		
// Author: 		Peter Freese <[email protected]>
// Date: 		2009/05/20
// Copyright:	� 2009 Hidden Path Entertainment
//-------------------------------------------------------------

#include "cbase.h"
#include "bordered_panel.h"
#include "backgroundpanel.h"	// rounded border support

// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"

void BorderedPanel::PaintBackground()
{
	int wide, tall;
	GetSize( wide, tall );

	DrawRoundedBackground( GetBgColor(), wide, tall );
	DrawRoundedBorder( GetFgColor(), wide, tall );
}

DECLARE_BUILD_FACTORY( BorderedPanel );