Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
943 B

//========= Copyright © 1996-2005, 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