reagentgrinder ecs & xamlui (#4347)
* started converting grinder to ecs * finished reagentcontainer ecs refactored bui converted ui to xaml * adds handling * fixes handling * oopsie Co-authored-by: Paul <ritter.paul1+git@googlemail.com>
This commit is contained in:
15
Content.Client/Kitchen/UI/LabelledContentBox.xaml.cs
Normal file
15
Content.Client/Kitchen/UI/LabelledContentBox.xaml.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using Robust.Client.AutoGenerated;
|
||||
using Robust.Client.UserInterface.Controls;
|
||||
|
||||
namespace Content.Client.Kitchen.UI
|
||||
{
|
||||
[GenerateTypedNameReferences]
|
||||
public partial class LabelledContentBox : BoxContainer
|
||||
{
|
||||
public string? LabelText { get => Label.Text; set => Label.Text = value; }
|
||||
public string? ButtonText { get => Button.Text; set => Button.Text = value; }
|
||||
|
||||
public ItemList BoxContents => ItemList;
|
||||
public Button EjectButton => Button;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user