Remove unused method in WidgetUtils

This commit is contained in:
Ivaylo Draganov
2021-06-10 17:34:06 +03:00
committed by Smittytron
parent fe146cb77a
commit 9fa5dcc055

View File

@@ -20,11 +20,6 @@ namespace OpenRA.Mods.Common.Widgets
{
public static class WidgetUtils
{
public static Sprite GetChromeImage(World world, string name)
{
return ChromeProvider.GetImage("chrome-" + world.LocalPlayer.Faction.InternalName, name);
}
public static string GetStatefulImageName(string baseName, bool disabled = false, bool pressed = false, bool hover = false, bool focused = false)
{
var suffix = disabled ? "-disabled" :