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

@@ -28,11 +28,11 @@ namespace OpenRA.Widgets
public string Text = "";
public Func<bool> Checked = () => {return false;};
public override void Draw()
public override void Draw(World world)
{
if (!Visible)
{
base.Draw();
base.Draw(world);
return;
}
@@ -58,7 +58,7 @@ namespace OpenRA.Widgets
Game.chrome.rgbaRenderer.Flush();
base.Draw();
base.Draw(world);
}
}
}