Fix forensic scanner UI. (#12398)
* Add missing Dispose method to ForensicScannerBoundUserInterface. * Remove old code from ForensicScanner. * Prevent forensic scanner from being used on the floor and allow its window to stay open when active hand is swapped. * Use more standardized UI code for ForensicScanner. * Add a delay to ForensicScanner printing. * Show name of what was scanned on ForensicScanner UI. * Add a print sound for ForensicScanner. * Add more error reporting for ForensicScanner. * Centralize common logic in ForensicScannerSystem. * Allow ForensicScanner blank printouts. * Tweak ForensicScanner audio parameters.
This commit is contained in:
@@ -1,12 +1,25 @@
|
||||
<DefaultWindow xmlns="https://spacestation14.io"
|
||||
Title="{Loc 'forensic-scanner-interface-title'}"
|
||||
MinSize="250 100"
|
||||
SetSize="250 100">
|
||||
MinSize="350 200"
|
||||
SetSize="350 500">
|
||||
<BoxContainer Orientation="Vertical">
|
||||
<Button Name="Print"
|
||||
<BoxContainer Orientation="Horizontal">
|
||||
<Button Name="Print"
|
||||
TextAlign="Center"
|
||||
HorizontalExpand="True"
|
||||
Access="Public"
|
||||
Disabled="True"
|
||||
Text="{Loc 'forensic-scanner-interface-print'}" />
|
||||
<Button Name="Clear"
|
||||
TextAlign="Center"
|
||||
HorizontalExpand="True"
|
||||
Access="Public"
|
||||
Disabled="True"
|
||||
Text="{Loc 'forensic-scanner-interface-clear'}" />
|
||||
</BoxContainer>
|
||||
<Label
|
||||
Name="Name"
|
||||
Align="Center" />
|
||||
<Label
|
||||
Name="Diagnostics"
|
||||
Text="{Loc forensic-scanner-interface-no-data}"/>
|
||||
|
||||
Reference in New Issue
Block a user