Co-authored-by: fishfish458 <fishfish458> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
23 lines
611 B
C#
23 lines
611 B
C#
using Robust.Client.AutoGenerated;
|
|
using Robust.Client.UserInterface.CustomControls;
|
|
using Robust.Client.UserInterface.XAML;
|
|
|
|
using static Content.Shared.MedicalScanner.SharedMedicalScannerComponent;
|
|
|
|
namespace Content.Client.MedicalScanner.UI
|
|
{
|
|
[GenerateTypedNameReferences]
|
|
public sealed partial class MedicalScannerWindow : DefaultWindow
|
|
{
|
|
public MedicalScannerWindow()
|
|
{
|
|
RobustXamlLoader.Load(this);
|
|
}
|
|
|
|
public void Populate(MedicalScannerBoundUserInterfaceState state)
|
|
{
|
|
ScanButton.Disabled = !state.IsScannable;
|
|
}
|
|
}
|
|
}
|