mirror of https://github.com/OpenTTD/OpenTTD
(svn r17696) -Fix (r17693): compile failure when compiling without freetype
parent
b2f50e79b2
commit
54806e7437
|
@ -13,6 +13,7 @@
|
||||||
#define FONTCACHE_H
|
#define FONTCACHE_H
|
||||||
|
|
||||||
#include "gfx_type.h"
|
#include "gfx_type.h"
|
||||||
|
#include "spritecache.h"
|
||||||
|
|
||||||
/** Get the SpriteID mapped to the given font size and key */
|
/** Get the SpriteID mapped to the given font size and key */
|
||||||
SpriteID GetUnicodeGlyph(FontSize size, uint32 key);
|
SpriteID GetUnicodeGlyph(FontSize size, uint32 key);
|
||||||
|
@ -43,7 +44,7 @@ extern FreeTypeSettings _freetype;
|
||||||
|
|
||||||
void InitFreeType();
|
void InitFreeType();
|
||||||
void UninitFreeType();
|
void UninitFreeType();
|
||||||
const struct Sprite *GetGlyph(FontSize size, uint32 key);
|
const Sprite *GetGlyph(FontSize size, uint32 key);
|
||||||
uint GetGlyphWidth(FontSize size, uint32 key);
|
uint GetGlyphWidth(FontSize size, uint32 key);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue