CatStation/Content.Client/Kitchen/UI/LabelledContentBox.xaml.cs
portfiend 5a9fa1ef67
Document Client, Server, and Shared files in folders starting with "K". Except microwaves. (#91)
* document the entire owl

* Apply suggestions from code review

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2026-06-18 18:41:56 +00:00

22 lines
749 B
C#

using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.Controls;
namespace Content.Client.Kitchen.UI;
/// <summary>
/// A box representing the input or output contents of a reagent grinder,
/// with a button to eject the contents on the input / output side.
/// </summary>
[GenerateTypedNameReferences]
public sealed partial class LabelledContentBox : BoxContainer
{
/// <summary>
/// The name of the container, e.g. "Chamber" or "Beaker".
/// </summary>
public string? LabelText { get => Label.Text; set => Label.Text = value; }
/// <summary>
/// The text for the eject button.
/// </summary>
public string? ButtonText { get => EjectButton.Text; set => EjectButton.Text = value; }
}