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/intromenu.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/intromenu.h')
| -rw-r--r-- | sp/src/game/client/game_controls/intromenu.h | 114 |
1 files changed, 57 insertions, 57 deletions
diff --git a/sp/src/game/client/game_controls/intromenu.h b/sp/src/game/client/game_controls/intromenu.h index 43fa5874..02043ecd 100644 --- a/sp/src/game/client/game_controls/intromenu.h +++ b/sp/src/game/client/game_controls/intromenu.h @@ -1,57 +1,57 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-//=============================================================================
-
-#ifndef INTROMENU_H
-#define INTROMENU_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-
-#include <vgui_controls/Frame.h>
-#include <vgui_controls/Button.h>
-#include <vgui_controls/Label.h>
-
-#include <game/client/iviewport.h>
-
-namespace vgui
-{
- class TextEntry;
-}
-
-class CIntroMenu : public vgui::Frame, public IViewPortPanel
-{
-private:
- DECLARE_CLASS_SIMPLE( CIntroMenu, vgui::Frame );
-
-public:
- CIntroMenu( IViewPort *pViewPort );
- virtual ~CIntroMenu();
-
- virtual void ApplySchemeSettings( vgui::IScheme *pScheme );
-
- virtual const char *GetName( void ){ return PANEL_INTRO; }
- virtual void SetData( KeyValues *data ){ return; }
- 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 ); }
-
-protected:
- // vgui overrides
- virtual void OnCommand( const char *command );
-
- IViewPort *m_pViewPort;
- vgui::Label *m_pTitleLabel;
-};
-
-#endif // INTROMENU_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//============================================================================= + +#ifndef INTROMENU_H +#define INTROMENU_H +#ifdef _WIN32 +#pragma once +#endif + + +#include <vgui_controls/Frame.h> +#include <vgui_controls/Button.h> +#include <vgui_controls/Label.h> + +#include <game/client/iviewport.h> + +namespace vgui +{ + class TextEntry; +} + +class CIntroMenu : public vgui::Frame, public IViewPortPanel +{ +private: + DECLARE_CLASS_SIMPLE( CIntroMenu, vgui::Frame ); + +public: + CIntroMenu( IViewPort *pViewPort ); + virtual ~CIntroMenu(); + + virtual void ApplySchemeSettings( vgui::IScheme *pScheme ); + + virtual const char *GetName( void ){ return PANEL_INTRO; } + virtual void SetData( KeyValues *data ){ return; } + 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 ); } + +protected: + // vgui overrides + virtual void OnCommand( const char *command ); + + IViewPort *m_pViewPort; + vgui::Label *m_pTitleLabel; +}; + +#endif // INTROMENU_H |