5 using Microsoft.Xna.Framework;
19 Label(mainLayout, TextManager.Get(
"enabledcore"), GUIStyle.SubHeadingFont);
21 NewItemRectT(mainLayout), style:
"GUITextBoxNoIcon", text: ContentPackageManager.EnabledPackages.Core!.Name, textAlignment: Alignment.CenterLeft)
28 Label(mainLayout, TextManager.Get(
"enabledregular"), GUIStyle.SubHeadingFont);
32 OnSelected = (component, o) =>
false,
35 foreach (var p
in ContentPackageManager.EnabledPackages.Regular)
38 new RectTransform((1.0f, 0.07f), regularList.Content.RectTransform), text: p.Name)
43 if (p.FatalLoadErrors.Any())
46 regularBox.CanBeFocused =
true;
50 var searchRectT =
NewItemRectT(mainLayout, heightScale: 1.0f);
51 searchRectT.RelativeSize = (1.0f, searchRectT.RelativeSize.Y);
54 Label(mainLayout, TextManager.Get(
"CannotChangeMods"), GUIStyle.Font);
59 string str = filterBox.Text;
60 regularList.Content.Children
RectTransform RectTransform