1
0

MappingScreen.xaml 5.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <mapping:MappingScreen
  2. xmlns="https://spacestation14.io"
  3. xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
  4. xmlns:widgets="clr-namespace:Content.Client.UserInterface.Systems.Chat.Widgets"
  5. xmlns:hotbar="clr-namespace:Content.Client.UserInterface.Systems.Hotbar.Widgets"
  6. xmlns:graphics="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
  7. xmlns:mapping="clr-namespace:Content.Client.Mapping"
  8. VerticalExpand="False"
  9. VerticalAlignment="Bottom"
  10. HorizontalAlignment="Center">
  11. <SplitContainer Name="ScreenContainer" HorizontalExpand="True"
  12. VerticalExpand="True" SplitWidth="0"
  13. StretchDirection="TopLeft">
  14. <BoxContainer Orientation="Vertical" VerticalExpand="True" Name="SpawnContainer" MinWidth="200" SetWidth="600">
  15. <mapping:MappingPrototypeList Name="Prototypes" Access="Public" VerticalExpand="True" />
  16. <BoxContainer Name="DecalContainer" Access="Public" Orientation="Horizontal"
  17. Visible="False">
  18. <BoxContainer Orientation="Vertical" HorizontalExpand="True">
  19. <ColorSelectorSliders Name="DecalColorPicker" IsAlphaVisible="True" />
  20. <Button Name="DecalPickerOpen" Text="{Loc decal-placer-window-palette}"
  21. StyleClasses="ButtonSquare" />
  22. </BoxContainer>
  23. <BoxContainer Orientation="Vertical" HorizontalExpand="True">
  24. <CheckBox Name="DecalEnableAuto" Margin="0 0 0 10"
  25. Text="{Loc decal-placer-window-enable-auto}" />
  26. <CheckBox Name="DecalEnableSnap"
  27. Text="{Loc decal-placer-window-enable-snap}" />
  28. <CheckBox Name="DecalEnableCleanable"
  29. Text="{Loc decal-placer-window-enable-cleanable}" />
  30. <BoxContainer Name="DecalSpinBoxContainer" Orientation="Horizontal">
  31. <Label Text="{Loc decal-placer-window-rotation}" Margin="0 0 0 1" />
  32. </BoxContainer>
  33. <BoxContainer Orientation="Horizontal">
  34. <Label Text="{Loc decal-placer-window-zindex}" Margin="0 0 0 1" />
  35. <SpinBox Name="DecalZIndexSpinBox" HorizontalExpand="True" />
  36. </BoxContainer>
  37. </BoxContainer>
  38. </BoxContainer>
  39. <BoxContainer Name="EntityContainer" Access="Public" Orientation="Horizontal"
  40. Visible="False">
  41. <Button Name="EntityReplaceButton" Access="Public" ToggleMode="True"
  42. SetHeight="48"
  43. StyleClasses="ButtonSquare" Text="{Loc 'mapping-replace'}" HorizontalExpand="True" />
  44. <OptionButton Name="EntityPlacementMode" Access="Public"
  45. SetHeight="48"
  46. StyleClasses="ButtonSquare" TooltipDelay="0"
  47. ToolTip="{Loc entity-spawn-window-override-menu-tooltip}"
  48. HorizontalExpand="True" />
  49. </BoxContainer>
  50. <BoxContainer Orientation="Horizontal">
  51. <Button Name="EraseEntityButton" Access="Public" HorizontalExpand="True"
  52. SetHeight="48"
  53. ToggleMode="True" Text="{Loc 'mapping-erase-entity'}" StyleClasses="ButtonSquare" />
  54. <Button Name="EraseDecalButton" Access="Public" HorizontalExpand="True"
  55. SetHeight="48"
  56. ToggleMode="True" Text="{Loc 'mapping-erase-decal'}" StyleClasses="ButtonSquare" />
  57. </BoxContainer>
  58. <widgets:ChatBox Visible="False" />
  59. </BoxContainer>
  60. <LayoutContainer Name="ViewportContainer" HorizontalExpand="True" VerticalExpand="True">
  61. <controls:MainViewport Name="MainViewport"/>
  62. <hotbar:HotbarGui Name="Hotbar" />
  63. <PanelContainer Name="Actions" VerticalExpand="True" HorizontalExpand="True"
  64. MaxHeight="48">
  65. <PanelContainer.PanelOverride>
  66. <graphics:StyleBoxFlat BackgroundColor="#222222AA" />
  67. </PanelContainer.PanelOverride>
  68. <BoxContainer Orientation="Horizontal" Margin="15 10">
  69. <mapping:MappingActionsButton
  70. Name="Add" Access="Public" Disabled="True" ToolTip="" Visible="False" />
  71. <mapping:MappingActionsButton Name="Fill" Access="Public"
  72. ToolTip="" Visible="False" />
  73. <mapping:MappingActionsButton Name="Grab" Access="Public"
  74. ToolTip="" Visible="False" />
  75. <mapping:MappingActionsButton Name="Move" Access="Public"
  76. ToolTip="" Visible="False" />
  77. <mapping:MappingActionsButton Name="Pick" Access="Public"
  78. ToolTip="Pick (Hold 5)" />
  79. <mapping:MappingActionsButton Name="Delete" Access="Public"
  80. ToolTip="Delete (Hold 6)" />
  81. <mapping:MappingActionsButton Name="Flip" Access="Public" ToggleMode="False"/>
  82. </BoxContainer>
  83. </PanelContainer>
  84. </LayoutContainer>
  85. </SplitContainer>
  86. </mapping:MappingScreen>