Files
OldThink/Content.Client/_White/Cult/UI/CultBloodSpellsEui/CultBloodSpellsMenu.cs
Aviu00 e14b6cb948 Cult spells update (#607)
* - add: CultSystem.BloodSpells.

* - add: Cleanup.
2024-08-11 13:55:01 +03:00

61 lines
1.9 KiB
C#

using System.Numerics;
using Robust.Client.UserInterface;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.CustomControls;
using static Robust.Client.UserInterface.Controls.BoxContainer;
namespace Content.Client._White.Cult.UI.CultBloodSpellsEui;
public sealed class CultBloodSpellsMenu : DefaultWindow
{
public readonly Button RemoveButton;
public readonly Button CreateButton;
public CultBloodSpellsMenu()
{
Title = Loc.GetString("blood-spells-title");
Contents.AddChild(new BoxContainer
{
Orientation = LayoutOrientation.Vertical,
Children =
{
new BoxContainer
{
Orientation = LayoutOrientation.Vertical,
Children =
{
(new Label()
{
Text = Loc.GetString("blood-spells-text")
}),
new BoxContainer
{
Orientation = LayoutOrientation.Horizontal,
Align = AlignMode.Center,
Children =
{
(CreateButton = new Button
{
Text = Loc.GetString("blood-spells-create-button"),
}),
(new Control()
{
MinSize = new Vector2(20, 0)
}),
(RemoveButton = new Button
{
Text = Loc.GetString("blood-spells-remove-button"),
})
}
},
}
},
}
});
}
}