1
0

GameTopMenuBar.xaml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <widgets:GameTopMenuBar xmlns="https://spacestation14.io"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3. xmlns:style="clr-namespace:Content.Client.Stylesheets"
  4. xmlns:ic="clr-namespace:Robust.Shared.Input;assembly=Robust.Shared"
  5. xmlns:is="clr-namespace:Content.Shared.Input;assembly=Content.Shared"
  6. xmlns:xe="clr-namespace:Content.Client.UserInterface.XamlExtensions"
  7. xmlns:ui="clr-namespace:Content.Client.UserInterface.Controls"
  8. xmlns:widgets="clr-namespace:Content.Client.UserInterface.Systems.MenuBar.Widgets"
  9. Name="MenuButtons"
  10. VerticalExpand="False"
  11. Orientation="Horizontal"
  12. HorizontalAlignment="Stretch"
  13. VerticalAlignment="Top"
  14. SeparationOverride="5">
  15. <ui:MenuButton
  16. Name="EscapeButton"
  17. Access="Internal"
  18. Icon="{xe:Tex '/Textures/Interface/hamburger.svg.192dpi.png'}"
  19. BoundKey="{x:Static ic:EngineKeyFunctions.EscapeMenu}"
  20. ToolTip="{Loc 'game-hud-open-escape-menu-button-tooltip'}"
  21. MinSize="70 64"
  22. HorizontalExpand="True"
  23. AppendStyleClass="{x:Static style:StyleBase.ButtonOpenRight}"/>
  24. <ui:MenuButton
  25. Name="GuidebookButton"
  26. Access="Internal"
  27. Icon="{xe:Tex '/Textures/Interface/VerbIcons/information.svg.192dpi.png'}"
  28. ToolTip="{Loc 'game-hud-open-guide-menu-button-tooltip'}"
  29. BoundKey="{x:Static is:ContentKeyFunctions.OpenGuidebook}"
  30. MinSize="42 64"
  31. HorizontalExpand="True"
  32. AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"/>
  33. <ui:MenuButton
  34. Name="CharacterButton"
  35. Access="Internal"
  36. Icon="{xe:Tex '/Textures/Interface/character.svg.192dpi.png'}"
  37. ToolTip="{Loc 'game-hud-open-character-menu-button-tooltip'}"
  38. BoundKey="{x:Static is:ContentKeyFunctions.OpenCharacterMenu}"
  39. MinSize="42 64"
  40. HorizontalExpand="True"
  41. AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"/>
  42. <ui:MenuButton
  43. Name="EmotesButton"
  44. Access="Internal"
  45. Icon="{xe:Tex '/Textures/Interface/emotes.svg.192dpi.png'}"
  46. ToolTip="{Loc 'game-hud-open-emotes-menu-button-tooltip'}"
  47. BoundKey="{x:Static is:ContentKeyFunctions.OpenEmotesMenu}"
  48. MinSize="42 64"
  49. HorizontalExpand="True"
  50. AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"/>
  51. <ui:MenuButton
  52. Name="CraftingButton"
  53. Access="Internal"
  54. Icon="{xe:Tex '/Textures/Interface/hammer.svg.192dpi.png'}"
  55. BoundKey="{x:Static is:ContentKeyFunctions.OpenCraftingMenu}"
  56. ToolTip="{Loc 'game-hud-open-crafting-menu-button-tooltip'}"
  57. MinSize="42 64"
  58. HorizontalExpand="True"
  59. AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"/>
  60. <ui:MenuButton
  61. Name="ActionButton"
  62. Access="Internal"
  63. Icon="{xe:Tex '/Textures/Interface/fist.svg.192dpi.png'}"
  64. BoundKey="{x:Static is:ContentKeyFunctions.OpenActionsMenu}"
  65. ToolTip="{Loc 'game-hud-open-actions-menu-button-tooltip'}"
  66. MinSize="42 64"
  67. HorizontalExpand="True"
  68. AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"/>
  69. <ui:MenuButton
  70. Name="FactionButton"
  71. Access="Internal"
  72. Icon="{xe:Tex '/Textures/Interface/flag.png'}"
  73. BoundKey="{x:Static is:ContentKeyFunctions.OpenFactionsMenu}"
  74. ToolTip="{Loc 'game-hud-open-factions-menu-button-tooltip'}"
  75. MinSize="42 64"
  76. HorizontalExpand="True"
  77. AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"/>
  78. <ui:MenuButton
  79. Name="AdminButton"
  80. Access="Internal"
  81. Icon="{xe:Tex '/Textures/Interface/gavel.svg.192dpi.png'}"
  82. BoundKey="{x:Static is:ContentKeyFunctions.OpenAdminMenu}"
  83. ToolTip="{Loc 'game-hud-open-admin-menu-button-tooltip'}"
  84. MinSize="42 64"
  85. HorizontalExpand="True"
  86. AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"/>
  87. <ui:MenuButton
  88. Name="SandboxButton"
  89. Access="Internal"
  90. Icon="{xe:Tex '/Textures/Interface/sandbox.svg.192dpi.png'}"
  91. BoundKey="{x:Static is:ContentKeyFunctions.OpenSandboxWindow}"
  92. ToolTip="{Loc 'game-hud-open-sandbox-menu-button-tooltip'}"
  93. MinSize="42 64"
  94. HorizontalExpand="True"
  95. AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"/>
  96. <ui:MenuButton
  97. Name="AHelpButton"
  98. Access="Internal"
  99. Icon="{xe:Tex '/Textures/Interface/info.svg.192dpi.png'}"
  100. BoundKey="{x:Static is:ContentKeyFunctions.OpenAHelp}"
  101. ToolTip="{Loc 'ui-options-function-open-a-help'}"
  102. MinSize="42 64"
  103. HorizontalExpand="True"
  104. AppendStyleClass="{x:Static style:StyleBase.ButtonOpenLeft}"/>
  105. </widgets:GameTopMenuBar>