1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-23 01:59:43 +08:00
hl2sdk/game/client/itextmessage.h
2013-06-26 15:22:04 -07:00

37 lines
966 B
C

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $Workfile: $
// $Date: $
//
//-----------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//=============================================================================//
#if !defined( ITEXTMESSAGE_H )
#define ITEXTMESSAGE_H
#ifdef _WIN32
#pragma once
#endif
#include "vgui/VGUI.h"
#include "fontabc.h"
abstract_class ITextMessage
{
public:
virtual void SetPosition( int x, int y ) = 0;
virtual void AddChar( int r, int g, int b, int a, wchar_t ch ) = 0;
virtual void GetLength( int *wide, int *tall, const char *string ) = 0;
virtual int GetFontInfo( FONTABC *pABCs, vgui::HFont hFont ) = 0;
virtual void SetFont( vgui::HFont hCustomFont ) = 0;
virtual void SetDefaultFont( void ) = 0;
};
extern ITextMessage *textmessage;
#endif // ITEXTMESSAGE_H