mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
- Data type changes - Templates removed git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@871 3b4a5df2-a311-0410-b5c6-a8a6f20db521
24 lines
839 B
C
24 lines
839 B
C
#ifndef __WINFONT_
|
|
#define __WINFONT_
|
|
|
|
void InitWinFonts( );
|
|
void ShutdownWinFonts( );
|
|
|
|
INT32 CreateWinFont( INT32 iHeight, INT32 iWidth, INT32 iEscapement,
|
|
INT32 iWeight, BOOLEAN fItalic, BOOLEAN fUnderline, BOOLEAN fStrikeOut, STR16 szFontName, INT32 iCharSet );
|
|
void DeleteWinFont( INT32 iFont );
|
|
|
|
void SetWinFontBackColor( INT32 iFont, COLORVAL *pColor );
|
|
void SetWinFontForeColor( INT32 iFont, COLORVAL *pColor );
|
|
|
|
void PrintWinFont( UINT32 uiDestBuf, INT32 iFont, INT32 x, INT32 y, STR16 pFontString, ...);
|
|
|
|
INT16 WinFontStringPixLength( STR16 string, INT32 iFont );
|
|
INT16 GetWinFontHeight( STR16 string, INT32 iFont );
|
|
UINT32 WinFont_mprintf( INT32 iFont, INT32 x, INT32 y, STR16 pFontString, ...);
|
|
|
|
BOOLEAN DoesWinFontExistOnSystem( STR16 pTypeFaceName, INT32 iCharSet );
|
|
|
|
|
|
|
|
#endif |