add a tiny font; add labels in PerfGraphWidget

This commit is contained in:
Chris Forbes
2010-12-28 17:24:20 +13:00
parent 6425fc8a4b
commit ae1710896a
2 changed files with 19 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ namespace OpenRA.Graphics
public ITexture PaletteTexture;
public readonly SpriteFont RegularFont, BoldFont, TitleFont;
public readonly SpriteFont RegularFont, BoldFont, TitleFont, TinyFont;
internal const int TempBufferSize = 8192;
const int TempBufferCount = 8;
@@ -59,6 +59,7 @@ namespace OpenRA.Graphics
RegularFont = new SpriteFont("FreeSans.ttf", 14);
BoldFont = new SpriteFont("FreeSansBold.ttf", 14);
TitleFont = new SpriteFont("titles.ttf", 48);
TinyFont = new SpriteFont("FreeSans.ttf", 10);
for( int i = 0 ; i < TempBufferCount ; i++ )
{