more infantry tweaks; sidebar mouseover shows desc & prices now

This commit is contained in:
Chris Forbes
2009-11-01 15:06:21 +13:00
parent db810105da
commit 4ada055f06
6 changed files with 48 additions and 12 deletions

View File

@@ -96,5 +96,10 @@ namespace OpenRa.Game.Graphics
fhDebug.Draw(sh, text, pos.X, pos.Y, c.ToArgb());
sh.End();
}
public int2 MeasureText(string text)
{
return new int2(fhDebug.MeasureText(sh, text));
}
}
}