Initial work for AbstractUI options

This commit is contained in:
Yoshi Askharoun
2021-08-05 20:45:26 -05:00
parent ba28eb7ef7
commit 3e3228245d
63 changed files with 2392 additions and 68 deletions
+11 -8
View File
@@ -21,18 +21,21 @@ namespace ZuneModCore.Mods
public override string Author => "Joshua \"Yoshi\" Askharoun";
public override AbstractUIElementGroup? OptionsUI => new(nameof(FeaturesOverrideMod))
public override AbstractUIElementGroup? GetDefaultOptionsUI()
{
Title = string.Empty,
Items =
return new(nameof(FeaturesOverrideMod))
{
new AbstractTextBox("hostBox", "zunes.tk", "zune.net")
Title = string.Empty,
Items =
{
Title = "Host",
TooltipText = "The host where the replacement servers are located. Must be the same length as \"zune.net\"."
new AbstractTextBox("hostBox", "zunes.tk", "zune.net")
{
Title = "Host",
TooltipText = "The host where the replacement servers are located. Must be the same length as \"zune.net\"."
}
}
}
};
};
}
public override IReadOnlyList<Type>? DependentMods => null;