mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
* Switch buttons for battery breakers * Switch button for PowerCharge UI * Switch button for particle accelerator power * Remove strings used by removed control * Remove now-unused button group
72 lines
2.3 KiB
XML
72 lines
2.3 KiB
XML
<controls:FancyWindow
|
|
xmlns="https://spacestation14.io"
|
|
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
|
|
MinSize="320 180"
|
|
Resizable="False">
|
|
<BoxContainer
|
|
Margin="12 8"
|
|
Orientation="Horizontal"
|
|
SeparationOverride="12">
|
|
<BoxContainer
|
|
Orientation="Vertical"
|
|
HorizontalExpand="True">
|
|
<GridContainer
|
|
Columns="2"
|
|
VerticalAlignment="Center">
|
|
|
|
<!-- Power -->
|
|
<Label
|
|
Text="{Loc 'power-charge-window-power'}"
|
|
HorizontalExpand="True"
|
|
StyleClasses="highlight" />
|
|
|
|
<controls:SwitchButton
|
|
Name="PowerSwitch"
|
|
MinWidth="120"
|
|
SetWidth="160" />
|
|
|
|
<Control /> <!-- Empty control to act as a spacer in the grid. -->
|
|
|
|
<Label Name="PowerLabel"
|
|
Text="0 / 0 W" />
|
|
|
|
<!-- Status -->
|
|
<Label
|
|
Text="{Loc 'power-charge-window-status'}"
|
|
StyleClasses="highlight" />
|
|
<Label Name="StatusLabel"
|
|
Text="{Loc 'power-charge-window-status-fully-charged'}" />
|
|
|
|
<!-- ETA -->
|
|
<Label
|
|
Text="{Loc 'power-charge-window-eta'}"
|
|
StyleClasses="highlight" />
|
|
<Label Name="EtaLabel"
|
|
Text="N/A" />
|
|
|
|
<!-- Charge -->
|
|
<Label
|
|
Text="{Loc 'power-charge-window-charge'}"
|
|
StyleClasses="highlight" />
|
|
|
|
<ProgressBar Name="ChargeBar"
|
|
MaxValue="255">
|
|
|
|
<Label Name="ChargeText"
|
|
HorizontalAlignment="Center"
|
|
Margin="4 0"
|
|
Text="0 %" />
|
|
</ProgressBar>
|
|
</GridContainer>
|
|
</BoxContainer>
|
|
<PanelContainer
|
|
StyleClasses="BackgroundPanelDark"
|
|
VerticalAlignment="Top">
|
|
|
|
<SpriteView Name="EntityView"
|
|
SetSize="96 96"
|
|
Margin="0 0 0 26"
|
|
OverrideDirection="South" />
|
|
</PanelContainer>
|
|
</BoxContainer>
|
|
</controls:FancyWindow>
|