mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-01 08:37:26 +00:00
* kill xeno * hide surgeries that cant be done yet * a * guh Co-authored-by: Tobias Berger <toby@tobot.dev> Signed-off-by: deltanedas <39013340+deltanedas@users.noreply.github.com> * empty --------- Signed-off-by: deltanedas <39013340+deltanedas@users.noreply.github.com> Co-authored-by: deltanedas <@deltanedas:kde.org> Co-authored-by: Tobias Berger <toby@tobot.dev>
27 lines
642 B
C#
27 lines
642 B
C#
using Robust.Client.AutoGenerated;
|
|
using Robust.Client.Graphics;
|
|
using Robust.Client.UserInterface;
|
|
using Robust.Client.UserInterface.XAML;
|
|
using Robust.Shared.Utility;
|
|
|
|
namespace Content.Client._Shitmed.Choice.UI;
|
|
|
|
[GenerateTypedNameReferences]
|
|
[Virtual]
|
|
public partial class ChoiceControl : Control
|
|
{
|
|
public ChoiceControl() => RobustXamlLoader.Load(this);
|
|
|
|
public void Set(string name, Texture? texture)
|
|
{
|
|
NameLabel.SetMessage(name);
|
|
Texture.Texture = texture;
|
|
}
|
|
|
|
public void Set(FormattedMessage msg, Texture? texture)
|
|
{
|
|
NameLabel.SetMessage(msg);
|
|
Texture.Texture = texture;
|
|
}
|
|
}
|