Apply consistent widget method names. Semantic change: Widgets that want to tick when !Visible must override TickOuter() instead of Tick().

This commit is contained in:
Paul Chote
2011-07-04 03:21:39 +12:00
parent 193999a040
commit 1114293035
41 changed files with 96 additions and 109 deletions

View File

@@ -18,7 +18,7 @@ namespace OpenRA.Widgets
{
public PerfGraphWidget() : base() { }
public override void DrawInner()
public override void Draw()
{
var rect = RenderBounds;
float2 origin = Game.viewport.Location + new float2(rect.Right, rect.Bottom);