mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-12 03:39:10 +00:00
1
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//-------------------------------------------------------------
|
||||
// File: bordered_panel.h
|
||||
// Desc:
|
||||
// Author: Peter Freese <peter@hiddenpath.com>
|
||||
// Date: 2009/05/20
|
||||
// Copyright: © 2009 Hidden Path Entertainment
|
||||
//-------------------------------------------------------------
|
||||
|
||||
#ifndef INCLUDED_BorderedPanel
|
||||
#define INCLUDED_BorderedPanel
|
||||
#pragma once
|
||||
|
||||
#include <vgui_controls/EditablePanel.h>
|
||||
|
||||
using namespace vgui;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: Editable panel with a forced rounded/outlined border
|
||||
//-----------------------------------------------------------------------------
|
||||
class BorderedPanel : public EditablePanel
|
||||
{
|
||||
public:
|
||||
DECLARE_CLASS_SIMPLE( BorderedPanel, EditablePanel );
|
||||
|
||||
BorderedPanel( Panel *parent, const char *name ) :
|
||||
EditablePanel( parent, name )
|
||||
{
|
||||
}
|
||||
|
||||
void PaintBackground();
|
||||
};
|
||||
|
||||
|
||||
#endif // INCLUDED_BorderedPanel
|
||||
Reference in New Issue
Block a user