This commit is contained in:
Chris Forbes
2010-04-24 17:43:44 +12:00
committed by alzeih
parent 471a5c29c8
commit 70ebec36eb
3 changed files with 6 additions and 3 deletions

View File

@@ -89,7 +89,8 @@ namespace OpenRA.Widgets
var pos = DrawPosition();
var stateOffset = (Depressed) ? new int2(VisualHeight, VisualHeight) : new int2(0, 0);
WidgetUtils.DrawPanel(Depressed ? "dialog3" : "dialog2", new Rectangle(pos.X, pos.Y, Bounds.Width, Bounds.Height ) );
WidgetUtils.DrawPanel(Depressed ? "dialog3" : "dialog2",
new Rectangle(pos.X, pos.Y, Bounds.Width, Bounds.Height ) );
var text = GetText();
Game.chrome.renderer.BoldFont.DrawText(text,