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.

73 lines
1.6 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef CSTRIKEBUYEQUIPMENU_H
  8. #define CSTRIKEBUYEQUIPMENU_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include <vgui_controls/WizardPanel.h>
  13. #include <buymenu.h>
  14. namespace vgui
  15. {
  16. class Panel;
  17. }
  18. //============================
  19. // CT Equipment menu
  20. //============================
  21. class CCSBuyEquipMenu_CT : public CBuyMenu
  22. {
  23. private:
  24. typedef vgui::WizardPanel BaseClass;
  25. public:
  26. CCSBuyEquipMenu_CT(IViewPort *pViewPort);
  27. virtual const char *GetName( void ) { return PANEL_BUY_EQUIP_CT; }
  28. // Background panel -------------------------------------------------------
  29. public:
  30. virtual void PaintBackground();
  31. virtual void PerformLayout();
  32. virtual void ApplySchemeSettings( vgui::IScheme *pScheme );
  33. bool m_backgroundLayoutFinished;
  34. // End background panel ---------------------------------------------------
  35. };
  36. //============================
  37. // Terrorist Equipment menu
  38. //============================
  39. class CCSBuyEquipMenu_TER : public CBuyMenu
  40. {
  41. private:
  42. typedef vgui::WizardPanel BaseClass;
  43. public:
  44. CCSBuyEquipMenu_TER(IViewPort *pViewPort);
  45. virtual const char *GetName( void ) { return PANEL_BUY_EQUIP_TER; }
  46. // Background panel -------------------------------------------------------
  47. public:
  48. virtual void PaintBackground();
  49. virtual void PerformLayout();
  50. virtual void ApplySchemeSettings( vgui::IScheme *pScheme );
  51. bool m_backgroundLayoutFinished;
  52. // End background panel ---------------------------------------------------
  53. };
  54. #endif // CSTRIKEBUYEQUIPMENU_H