bring the Diplomacy menu back to life, but
- rename LockTeams to FragileAlliances to avoid confusion - only allow it in Free-For-All, not Team games or Missions - grey out non-functional buttons and disabled checkboxes
This commit is contained in:
@@ -56,7 +56,8 @@ namespace OpenRA.Widgets
|
||||
|
||||
var textSize = font.Measure(Text);
|
||||
font.DrawText(Text,
|
||||
new float2(rect.Left + rect.Height * 1.5f, RenderOrigin.Y - BaseLine + (Bounds.Height - textSize.Y)/2), Color.White);
|
||||
new float2(rect.Left + rect.Height * 1.5f, RenderOrigin.Y - BaseLine + (Bounds.Height - textSize.Y)/2),
|
||||
disabled ? Color.Gray : Color.White);
|
||||
|
||||
if (IsChecked() || (Depressed && HasPressedState && !disabled))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user