Files
Delta-v/Content.Client/Nyanotrasen/ReverseEngineering/ReverseEngineeringMachineMenu.xaml
T
708e17a3d3 reverse engineering refactor and missing recipe test (#1230)
* make jugg not atmos hardsuit reable lmao

* re machine yaml refactor

* use the enum name to localize re results

* move a lot of code to shared and refactor

* clientside rework

* add test for missing recipes

* untroll

* make exped board recipe yml consistent with upstream

* fix unearthed sneaky bugs + generic does nothing so remove

* add mass media console board, remove roundstart boards from dynamic recipes

* remove roundstart stuff, add rcd ammo to protolathe

* dont dupe because of access electronics prototypes

* fix final fails

* final untroll

* final untroll 2

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
Co-authored-by: Null <56081759+NullWanderer@users.noreply.github.com>
2024-06-01 21:31:06 +00:00

78 lines
4.0 KiB
XML

<controls:FancyWindow xmlns="https://spacestation14.io"
xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
xmlns:customControls="clr-namespace:Content.Client.Administration.UI.CustomControls"
Title="{Loc 'reverse-engineering-machine-menu-title'}"
MinSize="620 280"
SetSize="620 280">
<BoxContainer Orientation="Horizontal" HorizontalExpand="True" VerticalExpand="True">
<BoxContainer Margin="10 10 10 10" MinWidth="150" Orientation="Vertical" VerticalExpand="True" SizeFlagsStretchRatio="1">
<BoxContainer Orientation="Vertical" VerticalExpand="True">
<Button Name="ScanButton"
Text="{Loc 'reverse-engineering-machine-scan-button'}"
ToolTip="{Loc 'reverse-engineering-machine-scan-tooltip-info'}">
</Button>
<Button Name="SafetyButton"
Text="{Loc 'reverse-engineering-machine-safety-button'}"
ToolTip="{Loc 'reverse-engineering-machine-safety-tooltip-info'}"
ToggleMode="True">
</Button>
<Button Name="AutoScanButton"
Text="{Loc 'reverse-engineering-machine-autoscan-button'}"
ToolTip="{Loc 'reverse-engineering-machine-autoscan-tooltip-info'}"
ToggleMode="True">
</Button>
<Button Name="StopButton"
Text="{Loc 'reverse-engineering-machine-stop-button'}"
ToolTip="{Loc 'reverse-engineering-machine-stop-tooltip-info'}">
</Button>
<Button Name="EjectButton"
Text="{Loc 'reverse-engineering-machine-eject-button'}"
ToolTip="{Loc 'reverse-engineering-machine-eject-tooltip-info'}">
</Button>
<BoxContainer MinHeight="5"/>
</BoxContainer>
<BoxContainer Name="ProgressBox" Orientation="Vertical">
<Label Name="ProgressLabel"/>
<ProgressBar
Name="ProgressBar"
MinValue="0"
MaxValue="1"
SetHeight="20">
</ProgressBar>
<Label Name="TotalProgressLabel" Text="{Loc 'reverse-engineering-total-progress-label'}"/>
<ProgressBar
Name="TotalProgressBar"
MinValue="0"
MaxValue="100"
SetHeight="20">
</ProgressBar>
</BoxContainer>
</BoxContainer>
<customControls:VSeparator StyleClasses="LowDivider"/>
<PanelContainer Margin="10 10 10 10" HorizontalExpand="True" SizeFlagsStretchRatio="3">
<PanelContainer.PanelOverride>
<gfx:StyleBoxFlat BackgroundColor="#000000FF" />
</PanelContainer.PanelOverride>
<BoxContainer Margin="10 10 10 10" Orientation="Horizontal">
<BoxContainer Orientation="Vertical" HorizontalExpand="True" >
<BoxContainer VerticalExpand="True">
<RichTextLabel Name="Information"/>
</BoxContainer>
</BoxContainer>
<BoxContainer VerticalExpand="False" Orientation="Vertical" MaxSize="64 64">
<SpriteView
Name="ItemDisplay"
OverrideDirection="South"
VerticalExpand="False"
SetSize="64 64"
MaxSize="64 64"
Scale="2 2">
</SpriteView>
</BoxContainer>
<BoxContainer VerticalExpand="True"/>
</BoxContainer>
</PanelContainer>
</BoxContainer>
</controls:FancyWindow>