New dialog type for tooltips etc

This commit is contained in:
Paul Chote
2010-04-10 18:21:58 +12:00
committed by Chris Forbes
parent 9f5c08728d
commit ea46f413d1
6 changed files with 119 additions and 4 deletions

View File

@@ -158,7 +158,7 @@ namespace OpenRA.Widgets
void DrawSupportPowerTooltip(World world, SupportPower sp, int2 pos)
{
var tooltipBounds = new Rectangle(pos.X,pos.Y,400,100);
WidgetUtils.DrawPanel("dialog", tooltipBounds, null);
WidgetUtils.DrawPanel("dialog4", tooltipBounds, null);
pos += new int2(5, 5);
Game.chrome.renderer.BoldFont.DrawText(Game.chrome.rgbaRenderer, sp.Info.Description, pos, Color.White);