mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
1
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user