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/game_controls/buymenu.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/game_controls/buymenu.h')
| -rw-r--r-- | sp/src/game/client/game_controls/buymenu.h | 132 |
1 files changed, 66 insertions, 66 deletions
diff --git a/sp/src/game/client/game_controls/buymenu.h b/sp/src/game/client/game_controls/buymenu.h index f392317d..bdaff26e 100644 --- a/sp/src/game/client/game_controls/buymenu.h +++ b/sp/src/game/client/game_controls/buymenu.h @@ -1,66 +1,66 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//=============================================================================//
-
-#ifndef BUYMENU_H
-#define BUYMENU_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include <vgui_controls/WizardPanel.h>
-#include <game/client/iviewport.h>
-#include "vgui/KeyCode.h"
-
-class CBuySubMenu;
-
-namespace vgui
-{
- class Panel;
-}
-
-//-----------------------------------------------------------------------------
-// Purpose: Draws the class menu
-//-----------------------------------------------------------------------------
-class CBuyMenu : public vgui::WizardPanel, public IViewPortPanel
-{
-private:
- DECLARE_CLASS_SIMPLE( CBuyMenu, vgui::WizardPanel );
-
-public:
- CBuyMenu(IViewPort *pViewPort);
- ~CBuyMenu();
-
- virtual const char *GetName( void ) { return PANEL_BUY; }
- virtual void SetData(KeyValues *data) {};
- virtual void Reset() {};
- virtual void Update();
- virtual bool NeedsUpdate( void ) { return false; }
- virtual bool HasInputElements( void ) { return true; }
- virtual void ShowPanel( bool bShow );
-
- // both vgui::Frame and IViewPortPanel define these, so explicitly define them here as passthroughs to vgui
- vgui::VPANEL GetVPanel( void ) { return BaseClass::GetVPanel(); }
- virtual bool IsVisible() { return BaseClass::IsVisible(); }
- virtual void SetParent( vgui::VPANEL parent ) { BaseClass::SetParent( parent ); }
-
- virtual void OnKeyCodePressed( vgui::KeyCode code );
- virtual void OnKeyCodeTyped( vgui::KeyCode code );
-
-public:
- virtual void OnClose();
-
-protected:
-
- CBuySubMenu *m_pMainMenu;
- IViewPort *m_pViewPort;
-
- int m_iTeam;
- int m_iClass;
-};
-
-
-#endif // BUYMENU_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef BUYMENU_H +#define BUYMENU_H +#ifdef _WIN32 +#pragma once +#endif + +#include <vgui_controls/WizardPanel.h> +#include <game/client/iviewport.h> +#include "vgui/KeyCode.h" + +class CBuySubMenu; + +namespace vgui +{ + class Panel; +} + +//----------------------------------------------------------------------------- +// Purpose: Draws the class menu +//----------------------------------------------------------------------------- +class CBuyMenu : public vgui::WizardPanel, public IViewPortPanel +{ +private: + DECLARE_CLASS_SIMPLE( CBuyMenu, vgui::WizardPanel ); + +public: + CBuyMenu(IViewPort *pViewPort); + ~CBuyMenu(); + + virtual const char *GetName( void ) { return PANEL_BUY; } + virtual void SetData(KeyValues *data) {}; + virtual void Reset() {}; + virtual void Update(); + virtual bool NeedsUpdate( void ) { return false; } + virtual bool HasInputElements( void ) { return true; } + virtual void ShowPanel( bool bShow ); + + // both vgui::Frame and IViewPortPanel define these, so explicitly define them here as passthroughs to vgui + vgui::VPANEL GetVPanel( void ) { return BaseClass::GetVPanel(); } + virtual bool IsVisible() { return BaseClass::IsVisible(); } + virtual void SetParent( vgui::VPANEL parent ) { BaseClass::SetParent( parent ); } + + virtual void OnKeyCodePressed( vgui::KeyCode code ); + virtual void OnKeyCodeTyped( vgui::KeyCode code ); + +public: + virtual void OnClose(); + +protected: + + CBuySubMenu *m_pMainMenu; + IViewPort *m_pViewPort; + + int m_iTeam; + int m_iClass; +}; + + +#endif // BUYMENU_H |