aboutsummaryrefslogtreecommitdiff
path: root/sp/src/game/client/imessagechars.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 /sp/src/game/client/imessagechars.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 'sp/src/game/client/imessagechars.h')
-rw-r--r--sp/src/game/client/imessagechars.h112
1 files changed, 56 insertions, 56 deletions
diff --git a/sp/src/game/client/imessagechars.h b/sp/src/game/client/imessagechars.h
index bd523efd..af390909 100644
--- a/sp/src/game/client/imessagechars.h
+++ b/sp/src/game/client/imessagechars.h
@@ -1,57 +1,57 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $Workfile: $
-// $Date: $
-//
-//-----------------------------------------------------------------------------
-// $Log: $
-//
-// $NoKeywords: $
-//=============================================================================//
-#if !defined( IMESSAGECHARS_H )
-#define IMESSAGECHARS_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include <vgui/VGUI.h>
-
-namespace vgui
-{
-class Panel;
-typedef unsigned long HFont;
-}
-
-abstract_class IMessageChars
-{
-public:
- enum
- {
- MESSAGESTRINGID_NONE = -1,
- MESSAGESTRINGID_BASE = 0
- };
-
- virtual void Create( vgui::VPANEL parent ) = 0;
- virtual void Destroy( void ) = 0;
-
- // messageID can be MESSAGESTRINGID_NONE or MESSAGESTRINGID_BASE plus some offset. You can refer to the message by
- // its ID later.
- virtual int DrawString( vgui::HFont pCustomFont, int x, int y, int r, int g, int b, int a, const char *fmt, int messageID, ... ) = 0;
- virtual int DrawString( vgui::HFont pCustomFont, int x, int y, const char *fmt, int messageID, ... ) = 0;
-
- virtual int DrawStringForTime( float flTime, vgui::HFont pCustomFont, int x, int y, int r, int g, int b, int a, const char *fmt, int messageID, ... ) = 0;
- virtual int DrawStringForTime( float flTime, vgui::HFont pCustomFont, int x, int y, const char *fmt, int messageID, ... ) = 0;
-
- // Remove all messages with the specified ID (passed into DrawStringForTime).
- virtual void RemoveStringsByID( int messageID ) = 0;
-
- virtual void GetStringLength( vgui::HFont pCustomFont, int *width, int *height, PRINTF_FORMAT_STRING const char *fmt, ... ) = 0;
-
- virtual void Clear( void ) = 0;
-};
-
-extern IMessageChars *messagechars;
-
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $Workfile: $
+// $Date: $
+//
+//-----------------------------------------------------------------------------
+// $Log: $
+//
+// $NoKeywords: $
+//=============================================================================//
+#if !defined( IMESSAGECHARS_H )
+#define IMESSAGECHARS_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include <vgui/VGUI.h>
+
+namespace vgui
+{
+class Panel;
+typedef unsigned long HFont;
+}
+
+abstract_class IMessageChars
+{
+public:
+ enum
+ {
+ MESSAGESTRINGID_NONE = -1,
+ MESSAGESTRINGID_BASE = 0
+ };
+
+ virtual void Create( vgui::VPANEL parent ) = 0;
+ virtual void Destroy( void ) = 0;
+
+ // messageID can be MESSAGESTRINGID_NONE or MESSAGESTRINGID_BASE plus some offset. You can refer to the message by
+ // its ID later.
+ virtual int DrawString( vgui::HFont pCustomFont, int x, int y, int r, int g, int b, int a, const char *fmt, int messageID, ... ) = 0;
+ virtual int DrawString( vgui::HFont pCustomFont, int x, int y, const char *fmt, int messageID, ... ) = 0;
+
+ virtual int DrawStringForTime( float flTime, vgui::HFont pCustomFont, int x, int y, int r, int g, int b, int a, const char *fmt, int messageID, ... ) = 0;
+ virtual int DrawStringForTime( float flTime, vgui::HFont pCustomFont, int x, int y, const char *fmt, int messageID, ... ) = 0;
+
+ // Remove all messages with the specified ID (passed into DrawStringForTime).
+ virtual void RemoveStringsByID( int messageID ) = 0;
+
+ virtual void GetStringLength( vgui::HFont pCustomFont, int *width, int *height, PRINTF_FORMAT_STRING const char *fmt, ... ) = 0;
+
+ virtual void Clear( void ) = 0;
+};
+
+extern IMessageChars *messagechars;
+
#endif // IMESSAGECHARS_H \ No newline at end of file