2022-10-12 01:16:23 -07:00
|
|
|
<widgets:GameTopMenuBar xmlns="https://spacestation14.io"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
|
xmlns:style="clr-namespace:Content.Client.Stylesheets"
|
|
|
|
|
xmlns:ic="clr-namespace:Robust.Shared.Input;assembly=Robust.Shared"
|
|
|
|
|
xmlns:is="clr-namespace:Content.Shared.Input;assembly=Content.Shared"
|
|
|
|
|
xmlns:xe="clr-namespace:Content.Client.UserInterface.XamlExtensions"
|
|
|
|
|
xmlns:ui="clr-namespace:Content.Client.UserInterface.Controls"
|
|
|
|
|
xmlns:widgets="clr-namespace:Content.Client.UserInterface.Systems.MenuBar.Widgets"
|
|
|
|
|
Name = "MenuButtons"
|
|
|
|
|
VerticalExpand="False"
|
|
|
|
|
Orientation="Horizontal"
|
2023-03-28 13:51:40 +11:00
|
|
|
HorizontalAlignment="Stretch"
|
2022-10-12 01:16:23 -07:00
|
|
|
VerticalAlignment="Top"
|
2024-12-08 21:36:48 +01:00
|
|
|
SeparationOverride="5"
|
2022-10-12 01:16:23 -07:00
|
|
|
>
|
|
|
|
|
<ui:MenuButton
|
|
|
|
|
Name="EscapeButton"
|
|
|
|
|
Access="Internal"
|
|
|
|
|
Icon="{xe:Tex '/Textures/Interface/hamburger.svg.192dpi.png'}"
|
|
|
|
|
BoundKey = "{x:Static ic:EngineKeyFunctions.EscapeMenu}"
|
|
|
|
|
ToolTip="{Loc 'game-hud-open-escape-menu-button-tooltip'}"
|
2024-12-08 21:36:48 +01:00
|
|
|
MinSize="70 64"
|
2022-10-17 15:13:41 -07:00
|
|
|
HorizontalExpand="True"
|
2024-12-08 21:36:48 +01:00
|
|
|
AppendStyleClass="{x:Static style:StyleBase.ButtonOpenRight}"
|
2022-10-12 01:16:23 -07:00
|
|
|
/>
|
2023-03-22 23:41:43 -04:00
|
|
|
<ui:MenuButton
|
|
|
|
|
Name="GuidebookButton"
|
|
|
|
|
Access="Internal"
|
|
|
|
|
Icon="{xe:Tex '/Textures/Interface/VerbIcons/information.svg.192dpi.png'}"
|
|
|
|
|
ToolTip="{Loc 'game-hud-open-guide-menu-button-tooltip'}"
|
|
|
|
|
BoundKey = "{x:Static is:ContentKeyFunctions.OpenGuidebook}"
|
2024-12-08 21:36:48 +01:00
|
|
|
MinSize="42 64"
|
2023-03-22 23:41:43 -04:00
|
|
|
HorizontalExpand="True"
|
|
|
|
|
AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"
|
|
|
|
|
/>
|
2022-10-12 01:16:23 -07:00
|
|
|
<ui:MenuButton
|
|
|
|
|
Name="CharacterButton"
|
|
|
|
|
Access="Internal"
|
|
|
|
|
Icon="{xe:Tex '/Textures/Interface/character.svg.192dpi.png'}"
|
|
|
|
|
ToolTip="{Loc 'game-hud-open-character-menu-button-tooltip'}"
|
|
|
|
|
BoundKey = "{x:Static is:ContentKeyFunctions.OpenCharacterMenu}"
|
2024-12-08 21:36:48 +01:00
|
|
|
MinSize="42 64"
|
2022-10-17 15:13:41 -07:00
|
|
|
HorizontalExpand="True"
|
2022-10-12 01:16:23 -07:00
|
|
|
AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"
|
|
|
|
|
/>
|
2024-04-29 07:38:23 +03:00
|
|
|
<ui:MenuButton
|
|
|
|
|
Name="EmotesButton"
|
|
|
|
|
Access="Internal"
|
|
|
|
|
Icon="{xe:Tex '/Textures/Interface/emotes.svg.192dpi.png'}"
|
|
|
|
|
ToolTip="{Loc 'game-hud-open-emotes-menu-button-tooltip'}"
|
|
|
|
|
BoundKey = "{x:Static is:ContentKeyFunctions.OpenEmotesMenu}"
|
2024-12-08 21:36:48 +01:00
|
|
|
MinSize="42 64"
|
2024-04-29 07:38:23 +03:00
|
|
|
HorizontalExpand="True"
|
|
|
|
|
AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"
|
|
|
|
|
/>
|
2022-10-12 01:16:23 -07:00
|
|
|
<ui:MenuButton
|
|
|
|
|
Name="CraftingButton"
|
|
|
|
|
Access="Internal"
|
|
|
|
|
Icon="{xe:Tex '/Textures/Interface/hammer.svg.192dpi.png'}"
|
|
|
|
|
BoundKey = "{x:Static is:ContentKeyFunctions.OpenCraftingMenu}"
|
|
|
|
|
ToolTip="{Loc 'game-hud-open-crafting-menu-button-tooltip'}"
|
2024-12-08 21:36:48 +01:00
|
|
|
MinSize="42 64"
|
2022-10-17 15:13:41 -07:00
|
|
|
HorizontalExpand="True"
|
2022-10-12 01:16:23 -07:00
|
|
|
AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"
|
|
|
|
|
/>
|
|
|
|
|
<ui:MenuButton
|
|
|
|
|
Name="ActionButton"
|
|
|
|
|
Access="Internal"
|
|
|
|
|
Icon="{xe:Tex '/Textures/Interface/fist.svg.192dpi.png'}"
|
|
|
|
|
BoundKey = "{x:Static is:ContentKeyFunctions.OpenActionsMenu}"
|
|
|
|
|
ToolTip="{Loc 'game-hud-open-actions-menu-button-tooltip'}"
|
2024-12-08 21:36:48 +01:00
|
|
|
MinSize="42 64"
|
2022-10-17 15:13:41 -07:00
|
|
|
HorizontalExpand="True"
|
2022-10-12 01:16:23 -07:00
|
|
|
AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"
|
|
|
|
|
/>
|
|
|
|
|
<ui:MenuButton
|
|
|
|
|
Name="AdminButton"
|
|
|
|
|
Access="Internal"
|
|
|
|
|
Icon="{xe:Tex '/Textures/Interface/gavel.svg.192dpi.png'}"
|
|
|
|
|
BoundKey = "{x:Static is:ContentKeyFunctions.OpenAdminMenu}"
|
|
|
|
|
ToolTip="{Loc 'game-hud-open-admin-menu-button-tooltip'}"
|
2024-12-08 21:36:48 +01:00
|
|
|
MinSize="42 64"
|
2022-10-17 15:13:41 -07:00
|
|
|
HorizontalExpand="True"
|
2022-10-12 01:16:23 -07:00
|
|
|
AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"
|
|
|
|
|
/>
|
|
|
|
|
<ui:MenuButton
|
|
|
|
|
Name="SandboxButton"
|
|
|
|
|
Access="Internal"
|
|
|
|
|
Icon="{xe:Tex '/Textures/Interface/sandbox.svg.192dpi.png'}"
|
|
|
|
|
BoundKey = "{x:Static is:ContentKeyFunctions.OpenSandboxWindow}"
|
|
|
|
|
ToolTip="{Loc 'game-hud-open-sandbox-menu-button-tooltip'}"
|
2024-12-08 21:36:48 +01:00
|
|
|
MinSize="42 64"
|
2022-10-17 15:13:41 -07:00
|
|
|
HorizontalExpand="True"
|
2022-10-12 01:16:23 -07:00
|
|
|
AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"
|
|
|
|
|
/>
|
Added button and manager for in game bug reports (Part 1) (#35350)
* Added the button and manager
* Minor cleanup
* Reigstered to the wrong thing!
* Unload UI
* Address the review
* First commit :)
* Some cleanup
* Added some comments and now the placehoder text goes away once you start typing
* Some cleanup and better test command
* Basic rate limiter class (Not finished)
* Cleanup
* Removed forgotten comment xD
* Whitespace removal
* Minor cleanup, cvar hours -> minutes
* More minor tweaks
* Don't cache timer and add examples to fields
* Added CCvar for time between bug reports
* Minor crash when restarting rounds fixed
* It compiled on my computer!
* Fix comment indents
* Remove unecessary async, removed magic strings, simplfied sawmill to not use post inject
* Make struct private
* Simplfiy TryGetLongHeader
* Changed list to enumerable
* URI cleanup
* Got rid of the queue, used a much better way!
* Made the comments a little better and fix some issues with them
* Added header consts
* Maximum reports per round is now an error message
* Time between reports is now in seconds
* Change ordering
* Change hotkey to O
* only update window when its open
* Split up validation
* address review
* Address a few issues
* inheritance fix
* API now doesn't keep track of requests, just uses the rate limited response from github
* Rough idea of how channels would work
* refactor: reorganized code, placed rate limiter into http-client-handler AND manager (usually only manager-one should work)
* cleanup
* Add user agent so api doesn't get mad
* Better error logs
* Cleanup
* It now throws!
* refactor: renaming, moved some methods, xml-doc cleanups
* refactor: BugReportWindow formatted to convention, enforced 1 updates only 1 per sec
* Add very basic licence info
* Fixed the issues!
* Set ccvar default to false
* make the button better
* fix test fail silly me
* Adress the review!
* refactor: cleanup of entry point code, binding server-side code with client-facing manager
* Resolve the other issues and cleanup and stuff smile :)
* not entity
* fixes
* Cleanup
* Cleanup
* forgor region
* fixes
* Split up function and more stuff
* Better unsubs yaygit add -A
* I pray...
* Revert "I pray..."
This reverts commit 9629fb4f1289c9009a03e4e4facd9ae975e6303e.
* I think I have to add it in the pr
* Revert "I think I have to add it in the pr"
This reverts commit e185b42f570fe5f0f51e0e44761d7938e22e67f7.
* Tweaks
* Minor tweak to permissions
---------
Co-authored-by: pa.pecherskij <pa.pecherskij@interfax.ru>
2025-08-15 09:10:38 -07:00
|
|
|
<ui:MenuButton
|
|
|
|
|
Name="ReportBugButton"
|
|
|
|
|
Access="Internal"
|
|
|
|
|
Icon="{xe:Tex '/Textures/Interface/bug.svg.192dpi.png'}"
|
|
|
|
|
ToolTip="{Loc 'game-hud-open-bug-report-window-button-tooltip'}"
|
|
|
|
|
MinSize="42 64"
|
|
|
|
|
HorizontalExpand="True"
|
|
|
|
|
AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"
|
|
|
|
|
/>
|
2022-10-12 01:16:23 -07:00
|
|
|
<ui:MenuButton
|
|
|
|
|
Name="AHelpButton"
|
|
|
|
|
Access="Internal"
|
|
|
|
|
Icon="{xe:Tex '/Textures/Interface/info.svg.192dpi.png'}"
|
|
|
|
|
BoundKey = "{x:Static is:ContentKeyFunctions.OpenAHelp}"
|
2022-11-30 14:21:23 +05:00
|
|
|
ToolTip="{Loc 'ui-options-function-open-a-help'}"
|
2024-12-08 21:36:48 +01:00
|
|
|
MinSize="42 64"
|
2022-10-17 15:13:41 -07:00
|
|
|
HorizontalExpand="True"
|
2024-12-08 21:36:48 +01:00
|
|
|
AppendStyleClass="{x:Static style:StyleBase.ButtonOpenLeft}"
|
2022-10-12 01:16:23 -07:00
|
|
|
/>
|
|
|
|
|
</widgets:GameTopMenuBar>
|