Files
wwdpublic/Content.Client/_Shitmed/UserInterface/Systems/Targeting/Widgets/TargetingControl.xaml
gluesniffler 2a33691a1c Ports Shitmed Updates From Goob (#1387)
Lots of stuff. Also moved everything I could to the _Shitmed namespace
as I do in Goob. Will make future ports way faster

# Changelog
🆑 Mocho
- add: Added some fun organs and other thingies, check out the Goob PRs
if you want more details.
- fix: Fixed tons of issues with shitmed. Too many for the changelog in
fact.

(cherry picked from commit 3c9db94102cb25b28a83d51ac8d659fa31fe7d12)
2025-01-13 23:01:51 +03:00

217 lines
11 KiB
XML

<widgets:TargetingControl
xmlns="https://spacestation14.io"
xmlns:widgets="clr-namespace:Content.Client._Shitmed.UserInterface.Systems.Targeting.Widgets"
Name="TargetingButton"
VerticalExpand="True"
VerticalAlignment="Bottom"
HorizontalAlignment="Right">
<Control HorizontalAlignment="Right">
<TextureRect
Name="TargetDoll"
Stretch="KeepAspectCentered"
SetSize="96 96">
<PanelContainer
SetSize="57 96"
Margin="18 0 0 0"
VerticalAlignment="Bottom"
HorizontalAlignment="Left">
<PanelContainer
SetSize="18 39"
Margin="0 7 0 0"
HorizontalAlignment="Left">
<TextureButton
Name="RightArmButton"
MinSize="18 30"
StyleClasses="TargetDollButtonRightArm"
VerticalAlignment="Top">
<TextureRect
TexturePath="/Textures/_Shitmed/Interface/Targeting/Doll/rightarm.png"
Stretch="KeepAspectCentered"
SetSize="12 24"
VerticalAlignment="Center"
HorizontalAlignment="Center"/>
</TextureButton>
<TextureButton
Name="RightHandButton"
MinSize="18 18"
VerticalAlignment="Bottom"
StyleClasses="TargetDollButtonRightHand">
<TextureRect
TexturePath="/Textures/_Shitmed/Interface/Targeting/Doll/righthand.png"
Stretch="KeepAspectCentered"
SetSize="12 12"
VerticalAlignment="Center"
HorizontalAlignment="Center"/>
</TextureButton>
</PanelContainer>
<PanelContainer
SetSize="51 90"
Margin="0 64 0 0"
VerticalAlignment="Bottom"
HorizontalAlignment="Center">
<TextureButton
Name="HeadButton"
MinSize="33 27"
VerticalAlignment="Top"
HorizontalAlignment="Center"
StyleClasses="TargetDollButtonHead">
<TextureRect
TexturePath="/Textures/_Shitmed/Interface/Targeting/Doll/head.png"
Stretch="KeepAspectCentered"
SetSize="27 21"
VerticalAlignment="Center"
HorizontalAlignment="Center"/>
<!--<PanelContainer
SetSize="15 15"
Margin="0 9 0 0"
HorizontalAlignment="Center">
<TextureButton
Name="EyesButton"
MinSize="15 9"
VerticalAlignment="Top"
StyleClasses="TargetDollButtonEyes">
<TextureRect
TexturePath="/Textures/_Shitmed/Interface/Targeting/Doll/eyes.png"
Stretch="KeepAspectCentered"
SetSize="15 9"/>
</TextureButton>
<TextureButton
Name="MouthButton"
SetSize="9 6"
VerticalAlignment="Bottom"
StyleClasses="TargetDollButtonMouth">
<TextureRect
TexturePath="/Textures/_Shitmed/Interface/Targeting/Doll/mouth.png"
Stretch="KeepAspectCentered"
SetSize="9 6"/>
</TextureButton>
</PanelContainer>-->
</TextureButton>
<TextureButton
Name="ChestButton"
SetSize="33 36"
Margin="0 21 0 0"
VerticalAlignment="Top"
HorizontalAlignment="Center"
StyleClasses="TargetDollButtonChest">
<TextureRect
TexturePath="/Textures/_Shitmed/Interface/Targeting/Doll/torso.png"
Stretch="KeepAspectCentered"
SetSize="27 30"
VerticalAlignment="Center"
HorizontalAlignment="Center"/>
</TextureButton>
<PanelContainer
MinSize="45 42"
VerticalAlignment="Bottom"
HorizontalAlignment="Center">
<TextureButton
Name="GroinButton"
MinSize="33 18"
VerticalAlignment="Top"
HorizontalAlignment="Center"
StyleClasses="TargetDollButtonGroin">
<TextureRect
TexturePath="/Textures/_Shitmed/Interface/Targeting/Doll/groin.png"
Stretch="KeepAspectCentered"
SetSize="27 12"
VerticalAlignment="Center"
HorizontalAlignment="Center"/>
</TextureButton>
<PanelContainer
MinSize="24 36"
VerticalAlignment="Bottom"
HorizontalAlignment="Right">
<TextureButton
Name="LeftLegButton"
MinSize="18 33"
VerticalAlignment="Top"
HorizontalAlignment="Left"
StyleClasses="TargetDollButtonLeftLeg">
<TextureRect
TexturePath="/Textures/_Shitmed/Interface/Targeting/Doll/leftleg.png"
Stretch="KeepAspectCentered"
SetSize="12 27"
VerticalAlignment="Center"
HorizontalAlignment="Center"/>
</TextureButton>
<TextureButton
Name="LeftFootButton"
MinSize="24 12"
VerticalAlignment="Bottom"
StyleClasses="TargetDollButtonLeftFoot">
<TextureRect
TexturePath="/Textures/_Shitmed/Interface/Targeting/Doll/leftfoot.png"
Stretch="KeepAspectCentered"
SetSize="18 9"
VerticalAlignment="Center"
HorizontalAlignment="Center"/>
</TextureButton>
</PanelContainer>
<PanelContainer
MinSize="24 36"
VerticalAlignment="Bottom"
HorizontalAlignment="Left">
<TextureButton
Name="RightLegButton"
MinSize="18 33"
VerticalAlignment="Top"
HorizontalAlignment="Right"
StyleClasses="TargetDollButtonRightLeg">
<TextureRect
TexturePath="/Textures/_Shitmed/Interface/Targeting/Doll/rightleg.png"
Stretch="KeepAspectCentered"
SetSize="12 27"
VerticalAlignment="Center"
HorizontalAlignment="Center"/>
</TextureButton>
<TextureButton
Name="RightFootButton"
MinSize="24 12"
VerticalAlignment="Bottom"
HorizontalAlignment="Center"
StyleClasses="TargetDollButtonRightFoot">
<TextureRect
TexturePath="/Textures/_Shitmed/Interface/Targeting/Doll/rightfoot.png"
Stretch="KeepAspectCentered"
SetSize="18 9"
VerticalAlignment="Center"
HorizontalAlignment="Center"/>
</TextureButton>
</PanelContainer>
</PanelContainer>
</PanelContainer>
<PanelContainer
SetSize="18 39"
Margin="0 7 0 0"
HorizontalAlignment="Right">
<TextureButton
Name="LeftArmButton"
MinSize="18 30"
StyleClasses="TargetDollButtonLeftArm"
VerticalAlignment="Top">
<TextureRect
TexturePath="/Textures/_Shitmed/Interface/Targeting/Doll/leftarm.png"
Stretch="KeepAspectCentered"
SetSize="12 24"
VerticalAlignment="Center"
HorizontalAlignment="Center"/>
</TextureButton>
<TextureButton
Name="LeftHandButton"
MinSize="18 18"
VerticalAlignment="Bottom"
StyleClasses="TargetDollButtonLeftHand">
<TextureRect
TexturePath="/Textures/_Shitmed/Interface/Targeting/Doll/lefthand.png"
Stretch="KeepAspectCentered"
SetSize="12 12"
VerticalAlignment="Center"
HorizontalAlignment="Center"/>
</TextureButton>
</PanelContainer>
</PanelContainer>
</TextureRect>
</Control>
</widgets:TargetingControl>