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.

31 lines
871 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #include "DemoPage.h"
  8. using namespace vgui;
  9. //-----------------------------------------------------------------------------
  10. // Purpose: Constructor
  11. //-----------------------------------------------------------------------------
  12. DemoPage::DemoPage(Panel *parent, const char *name) : PropertyPage(parent, name)
  13. {
  14. SetPos(1,80);
  15. int wide, tall;
  16. GetParent()->GetSize(wide, tall);
  17. SetSize (wide-2, tall - 81);
  18. SetPaintBorderEnabled(false);
  19. SetVisible(false);
  20. }
  21. //-----------------------------------------------------------------------------
  22. // Purpose: Destructor
  23. //-----------------------------------------------------------------------------
  24. DemoPage::~DemoPage()
  25. {
  26. }