48 lines
3.4 KiB
Plaintext
48 lines
3.4 KiB
Plaintext
|
|
<ui:RadialMenu xmlns="https://spacestation14.io"
|
||
|
|
xmlns:ui="clr-namespace:Content.Client.UserInterface.Controls"
|
||
|
|
xmlns:rcd="clr-namespace:Content.Client.RCD"
|
||
|
|
BackButtonStyleClass="RadialMenuBackButton"
|
||
|
|
CloseButtonStyleClass="RadialMenuCloseButton"
|
||
|
|
VerticalExpand="True"
|
||
|
|
HorizontalExpand="True"
|
||
|
|
MinSize="450 450">
|
||
|
|
|
||
|
|
<!-- Note: The min size of the window just determine how close to the edge of the screen the center of the radial menu can be placed -->
|
||
|
|
<!-- The radial menu will try to open so that its center is located where the player's cursor is currently -->
|
||
|
|
|
||
|
|
<!-- Entry layer (shows main categories) -->
|
||
|
|
<ui:RadialContainer Name="Main" VerticalExpand="True" HorizontalExpand="True" Radius="64" ReserveSpaceForHiddenChildren="False">
|
||
|
|
<ui:RadialMenuTextureButton StyleClasses="RadialMenuButton" SetSize="64 64" ToolTip="{Loc 'rcd-component-walls-and-flooring'}" TargetLayer="WallsAndFlooring" Visible="False">
|
||
|
|
<TextureRect VerticalAlignment="Center" HorizontalAlignment="Center" TextureScale="2 2" TexturePath="/Textures/Interface/Radial/RCD/walls_and_flooring.png"/>
|
||
|
|
</ui:RadialMenuTextureButton>
|
||
|
|
<ui:RadialMenuTextureButton StyleClasses="RadialMenuButton" SetSize="64 64" ToolTip="{Loc 'rcd-component-windows-and-grilles'}" TargetLayer="WindowsAndGrilles" Visible="False">
|
||
|
|
<TextureRect VerticalAlignment="Center" HorizontalAlignment="Center" TextureScale="2 2" TexturePath="/Textures/Interface/Radial/RCD/windows_and_grilles.png"/>
|
||
|
|
</ui:RadialMenuTextureButton>
|
||
|
|
<ui:RadialMenuTextureButton StyleClasses="RadialMenuButton" SetSize="64 64" ToolTip="{Loc 'rcd-component-airlocks'}" TargetLayer="Airlocks" Visible="False">
|
||
|
|
<TextureRect VerticalAlignment="Center" HorizontalAlignment="Center" TextureScale="2 2" TexturePath="/Textures/Interface/Radial/RCD/airlocks.png"/>
|
||
|
|
</ui:RadialMenuTextureButton>
|
||
|
|
<ui:RadialMenuTextureButton StyleClasses="RadialMenuButton" SetSize="64 64" ToolTip="{Loc 'rcd-component-electrical'}" TargetLayer="Electrical" Visible="False">
|
||
|
|
<TextureRect VerticalAlignment="Center" HorizontalAlignment="Center" TextureScale="2 2" TexturePath="/Textures/Interface/Radial/RCD/multicoil.png"/>
|
||
|
|
</ui:RadialMenuTextureButton>
|
||
|
|
<ui:RadialMenuTextureButton StyleClasses="RadialMenuButton" SetSize="64 64" ToolTip="{Loc 'rcd-component-lighting'}" TargetLayer="Lighting" Visible="False">
|
||
|
|
<TextureRect VerticalAlignment="Center" HorizontalAlignment="Center" TextureScale="2 2" TexturePath="/Textures/Interface/Radial/RCD/lighting.png"/>
|
||
|
|
</ui:RadialMenuTextureButton>
|
||
|
|
</ui:RadialContainer>
|
||
|
|
|
||
|
|
<!-- Walls and flooring -->
|
||
|
|
<ui:RadialContainer Name="WallsAndFlooring" VerticalExpand="True" HorizontalExpand="True" Radius="64"/>
|
||
|
|
|
||
|
|
<!-- Windows and grilles -->
|
||
|
|
<ui:RadialContainer Name="WindowsAndGrilles" VerticalExpand="True" HorizontalExpand="True" Radius="64"/>
|
||
|
|
|
||
|
|
<!-- Airlocks -->
|
||
|
|
<ui:RadialContainer Name="Airlocks" VerticalExpand="True" HorizontalExpand="True" Radius="64"/>
|
||
|
|
|
||
|
|
<!-- Computer and machine frames -->
|
||
|
|
<ui:RadialContainer Name="Electrical" VerticalExpand="True" HorizontalExpand="True" Radius="64"/>
|
||
|
|
|
||
|
|
<!-- Lighting -->
|
||
|
|
<ui:RadialContainer Name="Lighting" VerticalExpand="True" HorizontalExpand="True" Radius="64"/>
|
||
|
|
|
||
|
|
</ui:RadialMenu>
|