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

@@ -22,16 +22,16 @@ namespace OpenRA.Widgets
{
class BackgroundWidget : Widget
{
public override void Draw()
public override void Draw(World world)
{
if (!Visible)
{
base.Draw();
base.Draw(world);
return;
}
WidgetUtils.DrawPanel("dialog", Bounds, null);
base.Draw();
base.Draw(world);
}
}
}