diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:31:46 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:46:31 -0800 |
| commit | f56bb35301836e56582a575a75864392a0177875 (patch) | |
| tree | de61ddd39de3e7df52759711950b4c288592f0dc /sp/src/game/client/vgui_imagehealthpanel.h | |
| parent | Mark some more files as text. (diff) | |
| download | source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip | |
Fix line endings. WHAMMY.
Diffstat (limited to 'sp/src/game/client/vgui_imagehealthpanel.h')
| -rw-r--r-- | sp/src/game/client/vgui_imagehealthpanel.h | 104 |
1 files changed, 52 insertions, 52 deletions
diff --git a/sp/src/game/client/vgui_imagehealthpanel.h b/sp/src/game/client/vgui_imagehealthpanel.h index b320c585..5b914a78 100644 --- a/sp/src/game/client/vgui_imagehealthpanel.h +++ b/sp/src/game/client/vgui_imagehealthpanel.h @@ -1,53 +1,53 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose: This is a panel which is rendered image on top of an entity
-//
-// $Revision: $
-// $NoKeywords: $
-//=============================================================================//
-
-#ifndef VGUI_IMAGEHEALTHPANEL_H
-#define VGUI_IMAGEHEALTHPANEL_H
-
-#include "vgui_EntityPanel.h"
-#include "vgui_EntityImagePanel.h"
-#include "vgui_HealthBar.h"
-#include "vgui_bitmappanel.h"
-
-//-----------------------------------------------------------------------------
-// forward declarations
-//-----------------------------------------------------------------------------
-
-class C_BaseEntity;
-class KeyValues;
-class BitmapImage;
-
-//-----------------------------------------------------------------------------
-// This is a base class for a panel which always is rendered on top of an entity
-//-----------------------------------------------------------------------------
-
-class CEntityImageHealthPanel : public CEntityPanel
-{
-public:
- DECLARE_CLASS( CEntityImageHealthPanel, CEntityPanel );
-
- // constructor
- CEntityImageHealthPanel( vgui::Panel *parent, const char *panelName );
- ~CEntityImageHealthPanel();
-
- // initialization
- bool Init( KeyValues* pInitData, C_BaseEntity* pEntity );
-
- // called when we're ticked...
- virtual void OnTick();
- virtual bool ShouldDraw( void );
- virtual void ComputeAndSetSize( void );
-
-private:
- CHealthBarPanel *m_CommanderHealthBar;
- CHealthBarPanel *m_NormalHealthBar;
- CHealthBarPanel *m_ResourceLevelBar;
- CEntityTeamImagePanel *m_pImagePanel;
-};
-
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: This is a panel which is rendered image on top of an entity +// +// $Revision: $ +// $NoKeywords: $ +//=============================================================================// + +#ifndef VGUI_IMAGEHEALTHPANEL_H +#define VGUI_IMAGEHEALTHPANEL_H + +#include "vgui_EntityPanel.h" +#include "vgui_EntityImagePanel.h" +#include "vgui_HealthBar.h" +#include "vgui_bitmappanel.h" + +//----------------------------------------------------------------------------- +// forward declarations +//----------------------------------------------------------------------------- + +class C_BaseEntity; +class KeyValues; +class BitmapImage; + +//----------------------------------------------------------------------------- +// This is a base class for a panel which always is rendered on top of an entity +//----------------------------------------------------------------------------- + +class CEntityImageHealthPanel : public CEntityPanel +{ +public: + DECLARE_CLASS( CEntityImageHealthPanel, CEntityPanel ); + + // constructor + CEntityImageHealthPanel( vgui::Panel *parent, const char *panelName ); + ~CEntityImageHealthPanel(); + + // initialization + bool Init( KeyValues* pInitData, C_BaseEntity* pEntity ); + + // called when we're ticked... + virtual void OnTick(); + virtual bool ShouldDraw( void ); + virtual void ComputeAndSetSize( void ); + +private: + CHealthBarPanel *m_CommanderHealthBar; + CHealthBarPanel *m_NormalHealthBar; + CHealthBarPanel *m_ResourceLevelBar; + CEntityTeamImagePanel *m_pImagePanel; +}; + #endif // VGUI_IMAGEHEALTHPANEL_H
\ No newline at end of file |