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 /mp/src/game/client/hl2mp/ui/backgroundpanel.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 'mp/src/game/client/hl2mp/ui/backgroundpanel.h')
| -rw-r--r-- | mp/src/game/client/hl2mp/ui/backgroundpanel.h | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/mp/src/game/client/hl2mp/ui/backgroundpanel.h b/mp/src/game/client/hl2mp/ui/backgroundpanel.h index 2088c6b1..54cb2ca5 100644 --- a/mp/src/game/client/hl2mp/ui/backgroundpanel.h +++ b/mp/src/game/client/hl2mp/ui/backgroundpanel.h @@ -1,43 +1,43 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//=============================================================================//
-
-#ifndef CSBACKGROUND_H
-#define CSBACKGROUND_H
-
-#include <vgui_controls/Frame.h>
-#include <vgui_controls/EditablePanel.h>
-
-//-----------------------------------------------------------------------------
-// Purpose: Creates background image panels
-//-----------------------------------------------------------------------------
-void CreateBackground( vgui::EditablePanel *pWindow );
-
-//-----------------------------------------------------------------------------
-// Purpose: Resizes windows to fit completely on-screen (for 1280x1024), and
-// centers them on the screen. Sub-controls are also resized and moved.
-//-----------------------------------------------------------------------------
-void LayoutBackgroundPanel( vgui::EditablePanel *pWindow );
-
-//-----------------------------------------------------------------------------
-// Purpose: Sets colors etc for background image panels
-//-----------------------------------------------------------------------------
-void ApplyBackgroundSchemeSettings( vgui::EditablePanel *pWindow, vgui::IScheme *pScheme );
-
-//-----------------------------------------------------------------------------
-// Purpose:
-//-----------------------------------------------------------------------------
-void ResizeWindowControls( vgui::EditablePanel *pWindow, int tall, int wide, int offsetX, int offsetY );
-
-//-----------------------------------------------------------------------------
-// Purpose: transform a standard scaled value into one that is scaled based the minimum
-// of the horizontal and vertical ratios
-//-----------------------------------------------------------------------------
-int GetAlternateProportionalValueFromScaled( vgui::HScheme hScheme, int scaledValue );
-
-//-----------------------------------------------------------------------------
-
-#endif // CSBACKGROUND_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef CSBACKGROUND_H +#define CSBACKGROUND_H + +#include <vgui_controls/Frame.h> +#include <vgui_controls/EditablePanel.h> + +//----------------------------------------------------------------------------- +// Purpose: Creates background image panels +//----------------------------------------------------------------------------- +void CreateBackground( vgui::EditablePanel *pWindow ); + +//----------------------------------------------------------------------------- +// Purpose: Resizes windows to fit completely on-screen (for 1280x1024), and +// centers them on the screen. Sub-controls are also resized and moved. +//----------------------------------------------------------------------------- +void LayoutBackgroundPanel( vgui::EditablePanel *pWindow ); + +//----------------------------------------------------------------------------- +// Purpose: Sets colors etc for background image panels +//----------------------------------------------------------------------------- +void ApplyBackgroundSchemeSettings( vgui::EditablePanel *pWindow, vgui::IScheme *pScheme ); + +//----------------------------------------------------------------------------- +// Purpose: +//----------------------------------------------------------------------------- +void ResizeWindowControls( vgui::EditablePanel *pWindow, int tall, int wide, int offsetX, int offsetY ); + +//----------------------------------------------------------------------------- +// Purpose: transform a standard scaled value into one that is scaled based the minimum +// of the horizontal and vertical ratios +//----------------------------------------------------------------------------- +int GetAlternateProportionalValueFromScaled( vgui::HScheme hScheme, int scaledValue ); + +//----------------------------------------------------------------------------- + +#endif // CSBACKGROUND_H |