GameTopMenuBar.xaml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. >
  16. <ui:MenuButton
  17. Name="EscapeButton"
  18. Access="Internal"
  19. Icon="{xe:Tex '/Textures/Interface/hamburger.svg.192dpi.png'}"
  20. BoundKey = "{x:Static ic:EngineKeyFunctions.EscapeMenu}"
  21. ToolTip="{Loc 'game-hud-open-escape-menu-button-tooltip'}"
  22. MinSize="70 64"
  23. HorizontalExpand="True"
  24. AppendStyleClass="{x:Static style:StyleBase.ButtonOpenRight}"
  25. />
  26. <ui:MenuButton
  27. Name="GuidebookButton"
  28. Access="Internal"
  29. Icon="{xe:Tex '/Textures/Interface/VerbIcons/information.svg.192dpi.png'}"
  30. ToolTip="{Loc 'game-hud-open-guide-menu-button-tooltip'}"
  31. BoundKey = "{x:Static is:ContentKeyFunctions.OpenGuidebook}"
  32. MinSize="42 64"
  33. HorizontalExpand="True"
  34. AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"
  35. />
  36. <ui:MenuButton
  37. Name="CharacterButton"
  38. Access="Internal"
  39. Icon="{xe:Tex '/Textures/Interface/character.svg.192dpi.png'}"
  40. ToolTip="{Loc 'game-hud-open-character-menu-button-tooltip'}"
  41. BoundKey = "{x:Static is:ContentKeyFunctions.OpenCharacterMenu}"
  42. MinSize="42 64"
  43. HorizontalExpand="True"
  44. AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"
  45. />
  46. <ui:MenuButton
  47. Name="EmotesButton"
  48. Access="Internal"
  49. Icon="{xe:Tex '/Textures/Interface/emotes.svg.192dpi.png'}"
  50. ToolTip="{Loc 'game-hud-open-emotes-menu-button-tooltip'}"
  51. BoundKey = "{x:Static is:ContentKeyFunctions.OpenEmotesMenu}"
  52. MinSize="42 64"
  53. HorizontalExpand="True"
  54. AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"
  55. />
  56. <ui:MenuButton
  57. Name="CraftingButton"
  58. Access="Internal"
  59. Icon="{xe:Tex '/Textures/Interface/hammer.svg.192dpi.png'}"
  60. BoundKey = "{x:Static is:ContentKeyFunctions.OpenCraftingMenu}"
  61. ToolTip="{Loc 'game-hud-open-crafting-menu-button-tooltip'}"
  62. MinSize="42 64"
  63. HorizontalExpand="True"
  64. AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"
  65. />
  66. <ui:MenuButton
  67. Name="ActionButton"
  68. Access="Internal"
  69. Icon="{xe:Tex '/Textures/Interface/fist.svg.192dpi.png'}"
  70. BoundKey = "{x:Static is:ContentKeyFunctions.OpenActionsMenu}"
  71. ToolTip="{Loc 'game-hud-open-actions-menu-button-tooltip'}"
  72. MinSize="42 64"
  73. HorizontalExpand="True"
  74. AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"
  75. />
  76. <ui:MenuButton
  77. Name="FactionButton"
  78. Access="Internal"
  79. Icon="{xe:Tex '/Textures/Interface/fist.svg.192dpi.png'}"
  80. BoundKey = "{x:Static is:ContentKeyFunctions.OpenFactionsMenu}"
  81. ToolTip="{Loc 'game-hud-open-factions-menu-button-tooltip'}"
  82. MinSize="42 64"
  83. HorizontalExpand="True"
  84. AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"
  85. />
  86. <ui:MenuButton
  87. Name="AdminButton"
  88. Access="Internal"
  89. Icon="{xe:Tex '/Textures/Interface/gavel.svg.192dpi.png'}"
  90. BoundKey = "{x:Static is:ContentKeyFunctions.OpenAdminMenu}"
  91. ToolTip="{Loc 'game-hud-open-admin-menu-button-tooltip'}"
  92. MinSize="42 64"
  93. HorizontalExpand="True"
  94. AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"
  95. />
  96. <ui:MenuButton
  97. Name="SandboxButton"
  98. Access="Internal"
  99. Icon="{xe:Tex '/Textures/Interface/sandbox.svg.192dpi.png'}"
  100. BoundKey = "{x:Static is:ContentKeyFunctions.OpenSandboxWindow}"
  101. ToolTip="{Loc 'game-hud-open-sandbox-menu-button-tooltip'}"
  102. MinSize="42 64"
  103. HorizontalExpand="True"
  104. AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"
  105. />
  106. <ui:MenuButton
  107. Name="AHelpButton"
  108. Access="Internal"
  109. Icon="{xe:Tex '/Textures/Interface/info.svg.192dpi.png'}"
  110. BoundKey = "{x:Static is:ContentKeyFunctions.OpenAHelp}"
  111. ToolTip="{Loc 'ui-options-function-open-a-help'}"
  112. MinSize="42 64"
  113. HorizontalExpand="True"
  114. AppendStyleClass="{x:Static style:StyleBase.ButtonOpenLeft}"
  115. />
  116. </widgets:GameTopMenuBar>