mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
* remove unused using * move VSeparator * remove unused using * move HSeparator * remove BOM * add Separator * migrate * fix separator migration * remove old separators * clean separator migration * clean separator formatting * cleanup * update SeparatorSheetlet
56 lines
3 KiB
XML
56 lines
3 KiB
XML
<controls:FancyWindow xmlns="https://spacestation14.io"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
|
|
Name="APCMenu"
|
|
Title="{Loc 'apc-menu-title'}"
|
|
Resizable="False">
|
|
|
|
<BoxContainer Orientation="Vertical">
|
|
<BoxContainer Margin="0 5 10 10" Orientation="Vertical">
|
|
<BoxContainer Margin="0" Orientation="Horizontal">
|
|
<!-- Sprite View -->
|
|
<PanelContainer Margin="0" StyleClasses="BackgroundPanelDark" VerticalAlignment="Center">
|
|
<SpriteView Name="EntityView" Scale="2 2" SetSize="64 64" OverrideDirection="South" />
|
|
</PanelContainer>
|
|
<!-- Data -->
|
|
<BoxContainer Orientation="Vertical" HorizontalExpand="True">
|
|
<GridContainer Margin="10 0 0 0" Columns="2">
|
|
<!-- Power On/Off -->
|
|
<Label Text="{Loc 'apc-menu-breaker-label'}" HorizontalExpand="True"
|
|
StyleClasses="highlight" MinWidth="120"/>
|
|
<controls:SwitchButton Name="BreakerButton" MinWidth="150"/>
|
|
<!--Charging Status-->
|
|
<Label Text="{Loc 'apc-menu-external-label'}" StyleClasses="highlight" MinWidth="120" />
|
|
<Label Name="ExternalPowerStateLabel" Text="{Loc 'apc-menu-power-state-good'}" />
|
|
<!--Battery Power-->
|
|
<Label Text="{Loc 'apc-menu-power-label'}" StyleClasses="highlight" MinWidth="120" />
|
|
<Label Name="PowerLabel"/>
|
|
</GridContainer>
|
|
</BoxContainer>
|
|
</BoxContainer>
|
|
<!-- Charge Progress Bar-->
|
|
<ProgressBar Name="ChargeBar"
|
|
HorizontalExpand="True"
|
|
MinValue="0"
|
|
MaxValue="1"
|
|
MinHeight = "25"
|
|
Page="0"
|
|
Margin="10 10 0 0"
|
|
Value="0.5">
|
|
<Label Name="ChargePercentage" Margin="4 0" Text="0 %" />
|
|
</ProgressBar>
|
|
</BoxContainer>
|
|
|
|
<!-- Footer -->
|
|
<BoxContainer Orientation="Vertical">
|
|
<controls:Separator StyleClasses="LowDivider"/>
|
|
<BoxContainer Orientation="Horizontal" Margin="10 2 5 0" VerticalAlignment="Bottom">
|
|
<Label Text="{Loc 'apc-menu-flavor-left'}" StyleClasses="WindowFooterText" />
|
|
<Label Text="{Loc 'apc-menu-flavor-right'}" StyleClasses="WindowFooterText"
|
|
HorizontalAlignment="Right" HorizontalExpand="True" Margin="0 0 5 0" />
|
|
<TextureRect StyleClasses="NTLogoDark" Stretch="KeepAspectCentered"
|
|
VerticalAlignment="Center" HorizontalAlignment="Right" SetSize="19 19"/>
|
|
</BoxContainer>
|
|
</BoxContainer>
|
|
</BoxContainer>
|
|
</controls:FancyWindow>
|