diff options
| author | Joe Ludwig <[email protected]> | 2013-06-26 15:22:04 -0700 |
|---|---|---|
| committer | Joe Ludwig <[email protected]> | 2013-06-26 15:22:04 -0700 |
| commit | 39ed87570bdb2f86969d4be821c94b722dc71179 (patch) | |
| tree | abc53757f75f40c80278e87650ea92808274aa59 /mp/src/game/client/vguicenterprint.h | |
| download | source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.tar.xz source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.zip | |
First version of the SOurce SDK 2013
Diffstat (limited to 'mp/src/game/client/vguicenterprint.h')
| -rw-r--r-- | mp/src/game/client/vguicenterprint.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/mp/src/game/client/vguicenterprint.h b/mp/src/game/client/vguicenterprint.h new file mode 100644 index 00000000..fa86ba3b --- /dev/null +++ b/mp/src/game/client/vguicenterprint.h @@ -0,0 +1,48 @@ +//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $Workfile: $
+// $Date: $
+// $NoKeywords: $
+//=============================================================================//
+#if !defined( VGUICENTERPRINT_H )
+#define VGUICENTERPRINT_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "ivguicenterprint.h"
+#include <vgui/VGUI.h>
+
+//-----------------------------------------------------------------------------
+// Purpose:
+//-----------------------------------------------------------------------------
+namespace vgui
+{
+class Panel;
+}
+
+class CCenterStringLabel;
+class CCenterPrint : public ICenterPrint
+{
+private:
+ CCenterStringLabel *vguiCenterString;
+
+public:
+ CCenterPrint( void );
+
+ virtual void Create( vgui::VPANEL parent );
+ virtual void Destroy( void );
+
+ virtual void SetTextColor( int r, int g, int b, int a );
+ virtual void Print( char *text );
+ virtual void Print( wchar_t *text );
+ virtual void ColorPrint( int r, int g, int b, int a, char *text );
+ virtual void ColorPrint( int r, int g, int b, int a, wchar_t *text );
+ virtual void Clear( void );
+};
+
+extern CCenterPrint *internalCenterPrint;
+
+#endif // VGUICENTERPRINT_H
\ No newline at end of file |