mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 02:41:18 +03:00
* commit * also flipped * oops * fuck it added to the UI * fix micro annoyance * Unify components also doesn't work yet * reuse the existing UI also clean up the UI also applying state headache * cheat code * flippy * More interface changes * yaml ;p * private tagger * betterer tagger * private unit window * limit tagger window * access blocked * typo * validate --------- Co-authored-by: iaada <iaada@users.noreply.github.com>
44 lines
2.1 KiB
XML
44 lines
2.1 KiB
XML
<controls:FancyWindow xmlns="https://spacestation14.io"
|
|
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
|
|
xmlns:disposal="clr-namespace:Content.Client.Disposal"
|
|
SetSize="300 160"
|
|
Resizable="False">
|
|
<BoxContainer Orientation="Vertical" Margin="10">
|
|
<BoxContainer Orientation="Horizontal" SeparationOverride="4">
|
|
<Label Text="{Loc 'ui-disposal-unit-label-state'}" />
|
|
<Label Name="UnitState"
|
|
Text="{Loc 'ui-disposal-unit-label-status'}" />
|
|
<Label Name="UnitStateUnpowered"
|
|
Visible="False"
|
|
Text="{Loc 'disposal-unit-state-Unpowered'}" />
|
|
<Control HorizontalExpand="True"/>
|
|
<controls:SwitchButton Name="Power"
|
|
OnStateText="" OffStateText=""/>
|
|
</BoxContainer>
|
|
<Control MinSize="0 5" />
|
|
<BoxContainer Orientation="Horizontal"
|
|
SeparationOverride="4">
|
|
<Label Text="{Loc 'ui-disposal-unit-label-pressure'}" />
|
|
<disposal:PressureBar Name="PressureBar"
|
|
MinSize="190 20"
|
|
HorizontalAlignment="Right"
|
|
MinValue="0"
|
|
MaxValue="1"
|
|
Page="0"
|
|
Value="0.5" />
|
|
</BoxContainer>
|
|
<Control MinSize="0 10" />
|
|
<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
|
|
<Button Name="Engage"
|
|
Text="{Loc 'ui-disposal-unit-button-flush'}"
|
|
StyleClasses="OpenRight"
|
|
ToggleMode="True" />
|
|
<Button Name="Eject"
|
|
Text="{Loc 'ui-disposal-unit-button-eject'}"
|
|
StyleClasses="OpenBoth" />
|
|
<Button Name="Routing"
|
|
Text="{Loc 'ui-disposal-unit-button-routing'}"
|
|
StyleClasses="OpenLeft" />
|
|
</BoxContainer>
|
|
</BoxContainer>
|
|
</controls:FancyWindow>
|