aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/client/vgui_helpers.h
diff options
context:
space:
mode:
authorJørgen P. Tjernø <[email protected]>2013-12-02 19:31:46 -0800
committerJørgen P. Tjernø <[email protected]>2013-12-02 19:46:31 -0800
commitf56bb35301836e56582a575a75864392a0177875 (patch)
treede61ddd39de3e7df52759711950b4c288592f0dc /mp/src/game/client/vgui_helpers.h
parentMark some more files as text. (diff)
downloadsource-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz
source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/game/client/vgui_helpers.h')
-rw-r--r--mp/src/game/client/vgui_helpers.h62
1 files changed, 31 insertions, 31 deletions
diff --git a/mp/src/game/client/vgui_helpers.h b/mp/src/game/client/vgui_helpers.h
index edb3c080..ba0418ef 100644
--- a/mp/src/game/client/vgui_helpers.h
+++ b/mp/src/game/client/vgui_helpers.h
@@ -1,31 +1,31 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//=============================================================================//
-
-#ifndef VGUI_HELPERS_H
-#define VGUI_HELPERS_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-
-#include <vgui_controls/Panel.h>
-#include <vgui_controls/Label.h>
-
-
-inline int PanelTop(vgui::Panel *pPanel) {int x,y,w,h; pPanel->GetBounds(x,y,w,h); return y;}
-inline int PanelLeft(vgui::Panel *pPanel) {int x,y,w,h; pPanel->GetBounds(x,y,w,h); return x;}
-inline int PanelRight(vgui::Panel *pPanel) {int x,y,w,h; pPanel->GetBounds(x,y,w,h); return x+w;}
-inline int PanelBottom(vgui::Panel *pPanel) {int x,y,w,h; pPanel->GetBounds(x,y,w,h); return y+h;}
-inline int PanelWidth(vgui::Panel *pPanel) {int x,y,w,h; pPanel->GetBounds(x,y,w,h); return w;}
-inline int PanelHeight(vgui::Panel *pPanel) {int x,y,w,h; pPanel->GetBounds(x,y,w,h); return h;}
-
-// Places child at the requested position inside pParent. iAlignment is from Label::Alignment.
-void AlignPanel(vgui::Panel *pChild, vgui::Panel *pParent, int alignment);
-
-
-#endif // VGUI_HELPERS_H
-
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef VGUI_HELPERS_H
+#define VGUI_HELPERS_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+
+#include <vgui_controls/Panel.h>
+#include <vgui_controls/Label.h>
+
+
+inline int PanelTop(vgui::Panel *pPanel) {int x,y,w,h; pPanel->GetBounds(x,y,w,h); return y;}
+inline int PanelLeft(vgui::Panel *pPanel) {int x,y,w,h; pPanel->GetBounds(x,y,w,h); return x;}
+inline int PanelRight(vgui::Panel *pPanel) {int x,y,w,h; pPanel->GetBounds(x,y,w,h); return x+w;}
+inline int PanelBottom(vgui::Panel *pPanel) {int x,y,w,h; pPanel->GetBounds(x,y,w,h); return y+h;}
+inline int PanelWidth(vgui::Panel *pPanel) {int x,y,w,h; pPanel->GetBounds(x,y,w,h); return w;}
+inline int PanelHeight(vgui::Panel *pPanel) {int x,y,w,h; pPanel->GetBounds(x,y,w,h); return h;}
+
+// Places child at the requested position inside pParent. iAlignment is from Label::Alignment.
+void AlignPanel(vgui::Panel *pChild, vgui::Panel *pParent, int alignment);
+
+
+#endif // VGUI_HELPERS_H
+