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.

49 lines
997 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef DODVIEWPORT_H
  8. #define DODVIEWPORT_H
  9. #include "baseviewport.h"
  10. using namespace vgui;
  11. namespace vgui
  12. {
  13. class Panel;
  14. }
  15. class CDODTeamMenu;
  16. class CDODClassMenu_Allies;
  17. class CDODClassMenu_Axis;
  18. class CDODSpectatorGUI;
  19. class CDODClientScoreBoardDialog;
  20. class CDODMenuBackground;
  21. //==============================================================================
  22. class DODViewport : public CBaseViewport
  23. {
  24. private:
  25. DECLARE_CLASS_SIMPLE( DODViewport, CBaseViewport );
  26. public:
  27. IViewPortPanel* CreatePanelByName(const char *szPanelName);
  28. void CreateDefaultPanels( void );
  29. virtual void ApplySchemeSettings( vgui::IScheme *pScheme );
  30. int GetDeathMessageStartHeight( void );
  31. // Never show the background
  32. virtual void ShowBackGround(bool bShow) { NULL; }
  33. };
  34. #endif // DODVIEWPORT_H