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.

40 lines
704 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef TFCVIEWPORT_H
  8. #define TFCVIEWPORT_H
  9. #include "tfc_shareddefs.h"
  10. #include "baseviewport.h"
  11. using namespace vgui;
  12. namespace vgui
  13. {
  14. class Panel;
  15. }
  16. class TFCViewport : public CBaseViewport
  17. {
  18. private:
  19. DECLARE_CLASS_SIMPLE( TFCViewport, CBaseViewport );
  20. public:
  21. IViewPortPanel* CreatePanelByName(const char *szPanelName);
  22. void CreateDefaultPanels( void );
  23. virtual void ApplySchemeSettings( vgui::IScheme *pScheme );
  24. int GetDeathMessageStartHeight( void );
  25. };
  26. #endif // TFCViewport_H