mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-16 21:17:39 +03:00
<!-- This is a semi-strict format, you can add/remove sections as needed but the order/format should be kept the same Remove these comments before submitting --> # Description <!-- Explain this PR in as much detail as applicable Some example prompts to consider: How might this affect the game? The codebase? What might be some alternatives to this? How/Who does this benefit/hurt [the game/codebase]? --> Adds frequencies to handheld radios. Ports [this PR](https://github.com/new-frontiers-14/frontier-station-14/pull/1833) with changes.  --- # Changelog <!-- You can add an author after the `🆑` to change the name that appears in the changelog (ex: `🆑 Death`) Leaving it blank will default to your GitHub display name This includes all available types for the changelog --> 🆑 - add: Added handheld radio frequencies, accessible by pressing your "Use Item" key while holding one. --------- Co-authored-by: Whatstone <166147148+whatston3@users.noreply.github.com> (cherry picked from commit 19a350fc9ae0d958406b3d6018f71ab8af5447c4)
30 lines
1.8 KiB
XML
30 lines
1.8 KiB
XML
<controls:FancyWindow xmlns="https://spacestation14.io"
|
|
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
|
|
Title="{Loc 'handheld-radio-menu-title'}"
|
|
MinSize="200 150"
|
|
SetSize="200 150">
|
|
<BoxContainer Orientation="Vertical"
|
|
HorizontalExpand="True"
|
|
VerticalExpand="True"
|
|
Margin="5 0 5 0">
|
|
<Control MinHeight="10"/>
|
|
<BoxContainer Orientation="Vertical" SeparationOverride="4" MinWidth="150">
|
|
<Label Name="CurrentTextFrequency" Text="{Loc 'handheld-radio-current-text-frequency'}" />
|
|
<LineEdit Name="FrequencyLineEdit" Text="1330"/>
|
|
</BoxContainer>
|
|
<BoxContainer Orientation="Horizontal" HorizontalExpand="True" HorizontalAlignment="Right" Margin="5 0 5 5">
|
|
<Button Name="MicButton" ToggleMode="True" Text="{Loc 'handheld-radio-button-text-mic'}" StyleClasses="OpenRight" MinWidth="70"/>
|
|
<Button Name="SpeakerButton" ToggleMode="True" Text="{Loc 'handheld-radio-button-text-speaker'}" StyleClasses="OpenLeft" MinWidth="70"/>
|
|
</BoxContainer>
|
|
<BoxContainer Orientation="Vertical">
|
|
<PanelContainer StyleClasses="LowDivider" />
|
|
<BoxContainer Orientation="Horizontal" Margin="10 2 5 0" VerticalAlignment="Bottom">
|
|
<Label Text="{Loc 'handheld-radio-flavor-text-left'}" StyleClasses="WindowFooterText"
|
|
HorizontalAlignment="Left" HorizontalExpand="True" Margin="0 0 5 0" />
|
|
<TextureRect StyleClasses="NTLogoDark" Stretch="KeepAspectCentered"
|
|
VerticalAlignment="Center" HorizontalAlignment="Right" SetSize="19 19"/>
|
|
</BoxContainer>
|
|
</BoxContainer>
|
|
</BoxContainer>
|
|
</controls:FancyWindow>
|