use rgba buttons for sell/repair/etc

This commit is contained in:
Chris Forbes
2010-03-27 11:35:48 +13:00
parent 86e86fbd07
commit 088de9dcb7
3 changed files with 23 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ namespace OpenRA.Traits
class PowerDownButton : IChromeButton
{
public string Image { get { return "repair"; } } // todo: art
public string Image { get { return "power"; } }
public bool Enabled { get { return true; } }
public bool Pressed { get { return Game.controller.orderGenerator is PowerDownOrderGenerator; } }
public void OnClick() { Game.controller.ToggleInputMode<PowerDownOrderGenerator>(); }