Use DisplayColor in lobby

This commit is contained in:
Paul Chote
2010-02-06 14:07:48 +13:00
parent c78ce442c6
commit b3a0ff0e81
2 changed files with 14 additions and 9 deletions

View File

@@ -57,5 +57,13 @@ namespace OpenRa.Graphics
if( ++lines >= linesPerBatch )
Flush();
}
public void FillRect( RectangleF r, Color color )
{
for (float y = r.Top; y < r.Bottom; y++)
{
DrawLine(new float2(r.Left, y), new float2(r.Right, y), color, color);
}
}
}
}