Widgetize special power bin (needs polish)

This commit is contained in:
Paul Chote
2010-04-10 16:28:29 +12:00
committed by Chris Forbes
parent c568be255a
commit 9afe3fdaa8
11 changed files with 277 additions and 124 deletions

View File

@@ -61,11 +61,11 @@ namespace OpenRA.Widgets
return false;
}
public override void Draw()
public override void Draw(World world)
{
if (!Visible)
{
base.Draw();
base.Draw(world);
return;
}
@@ -76,7 +76,7 @@ namespace OpenRA.Widgets
- new int2(Game.chrome.renderer.BoldFont.Measure(Text).X / 2,
Game.chrome.renderer.BoldFont.Measure(Text).Y / 2) + stateOffset, Color.White));
base.Draw();
base.Draw(world);
}
}
}