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.

44 lines
1.1 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef DOD_HUD_PLAYERSTATUS_FIRESELECT_H
  8. #define DOD_HUD_PLAYERSTATUS_FIRESELECT_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include <vgui_controls/EditablePanel.h>
  13. #include "IconPanel.h"
  14. using namespace vgui;
  15. //-----------------------------------------------------------------------------
  16. // Purpose: FireSelect panel
  17. //-----------------------------------------------------------------------------
  18. class CDoDHudFireSelect : public vgui::EditablePanel
  19. {
  20. DECLARE_CLASS_SIMPLE( CDoDHudFireSelect, vgui::EditablePanel );
  21. public:
  22. CDoDHudFireSelect( vgui::Panel *parent, const char *name );
  23. virtual void ApplySchemeSettings( vgui::IScheme *pScheme );
  24. virtual void OnThink();
  25. virtual void SetVisible( bool state );
  26. private:
  27. CDoDCutEditablePanel *m_pBackground;
  28. CIconPanel *m_pIconMP44;
  29. CIconPanel *m_pIconBAR;
  30. CIconPanel *m_pBulletLeft;
  31. CIconPanel *m_pBulletCenter;
  32. CIconPanel *m_pBulletRight;
  33. };
  34. #endif // DOD_HUD_PLAYERSTATUS_FIRESELECT_H