Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
992 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //-------------------------------------------------------------
  3. // File: bordered_panel.h
  4. // Desc:
  5. // Author: Peter Freese <[email protected]>
  6. // Date: 2009/05/20
  7. // Copyright: � 2009 Hidden Path Entertainment
  8. //-------------------------------------------------------------
  9. #ifndef INCLUDED_BorderedPanel
  10. #define INCLUDED_BorderedPanel
  11. #pragma once
  12. #include <vgui_controls/EditablePanel.h>
  13. using namespace vgui;
  14. //-----------------------------------------------------------------------------
  15. // Purpose: Editable panel with a forced rounded/outlined border
  16. //-----------------------------------------------------------------------------
  17. class BorderedPanel : public EditablePanel
  18. {
  19. public:
  20. DECLARE_CLASS_SIMPLE( BorderedPanel, EditablePanel );
  21. BorderedPanel( Panel *parent, const char *name ) :
  22. EditablePanel( parent, name )
  23. {
  24. }
  25. void PaintBackground();
  26. };
  27. #endif // INCLUDED_BorderedPanel