Files
tbd-station-14/Content.Client/GameObjects/Components/Power/SolarControlWindow.xaml
20kdc a2f5c953dc Refactoring of solar control console (#4072)
* Refactor/fix client-side of solar control computer (introduce ComputerBoundUserInterface & fix bugs)

* Refactor server side of solar control computer (introduce BaseComputerUserInterfaceComponent)

* If you can't interact, then messages to computers are blocked.

* Add 'not powered' messages, migrate activation logic partially to an EntitySystem

* Move solar control console to a XAML UI

* Remove useless comment on UserInterfaceKey

* BaseComputerUserInterfaceComponent: Remove EnsureComponent<PowerReceiver>, it's not necessary

* Fix solar panel occlusion check direction

* Solar Control Console refactors/etc. : Handle namespace renames
2021-06-17 00:49:02 +10:00

33 lines
1.5 KiB
XML

<SS14Window xmlns="https://spacestation14.io"
xmlns:scc="clr-namespace:Content.Client.GameObjects.Components.Power"
Title="{Loc 'solar-control-window-title'}"
Resizable="False">
<HBoxContainer>
<GridContainer Columns="2">
<!--
little secret: the reason I put the values
in the first column is because otherwise the UI
layouter autoresizes the window to be too small
-->
<Label Text="{Loc 'solar-control-window-output-power'}"/><Label Text=""/>
<Label Name="OutputPower"/><Label Text="{Loc 'solar-control-window-watts'}"/>
<Label Text="{Loc 'solar-control-window-sun-angle'}"/><Label Text=""/>
<Label Name="SunAngle"/><Label Text="{Loc 'solar-control-window-degrees'}"/>
<Label Text="{Loc 'solar-control-window-panel-angle'}"/><Label Text=""/>
<LineEdit Name="PanelRotation" HorizontalExpand="True"/><Label Text="{Loc 'solar-control-window-degrees'}"/>
<Label Text="{Loc 'solar-control-window-panel-angular-velocity'}"/><Label Text=""/>
<LineEdit Name="PanelVelocity" HorizontalExpand="True"/><Label Text="{Loc 'solar-control-window-degrees-per-minute'}"/>
<Label Text="{Loc 'solar-control-window-press-enter-to-confirm'}"/><Label Text=""/>
</GridContainer>
<scc:SolarControlNotARadar Name="NotARadar"/>
</HBoxContainer>
</SS14Window>