summaryrefslogtreecommitdiff
path: root/game/client/cstrike/VGUI/bordered_panel.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/client/cstrike/VGUI/bordered_panel.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'game/client/cstrike/VGUI/bordered_panel.h')
-rw-r--r--game/client/cstrike/VGUI/bordered_panel.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/game/client/cstrike/VGUI/bordered_panel.h b/game/client/cstrike/VGUI/bordered_panel.h
new file mode 100644
index 0000000..7279f10
--- /dev/null
+++ b/game/client/cstrike/VGUI/bordered_panel.h
@@ -0,0 +1,35 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//-------------------------------------------------------------
+// File: bordered_panel.h
+// Desc:
+// Author: Peter Freese <[email protected]>
+// 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