mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-19 06:28:40 +03:00
# Description I changed something so long ago but didn't make sure others were changed to follow. --- <details><summary><h1>Media</h1></summary> <p>      </p> </details> --- # Changelog 🆑 - fix: Fixed many buttons being yellow instead of red --------- Signed-off-by: DEATHB4DEFEAT <77995199+DEATHB4DEFEAT@users.noreply.github.com> Co-authored-by: Timfa <timfalken@hotmail.com> (cherry picked from commit ca703ab8d367bbdfc4ab115af4a01964ff597e5f)
106 lines
7.0 KiB
XML
106 lines
7.0 KiB
XML
<Control xmlns="https://spacestation14.io"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:s="clr-namespace:Content.Client.Stylesheets"
|
|
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls">
|
|
<BoxContainer Orientation="Vertical">
|
|
<BoxContainer Orientation="Vertical" Margin="8 8 8 8" VerticalExpand="True">
|
|
<Label Text="{Loc 'ui-options-volume-label'}" FontColorOverride="{x:Static s:StyleNano.NanoGold}" StyleClasses="LabelKeyText"/>
|
|
<BoxContainer Orientation="Vertical" Margin="0 3 0 0">
|
|
<BoxContainer Orientation="Horizontal" Margin="5 0 0 0">
|
|
<Label Text="{Loc 'ui-options-master-volume'}" HorizontalExpand="True" />
|
|
<Control MinSize="8 0" />
|
|
<Slider Name="MasterVolumeSlider" MinValue="0" MaxValue="100" HorizontalExpand="True" MinSize="80 0" Rounded="True" />
|
|
<Control MinSize="8 0" />
|
|
<Label Name="MasterVolumeLabel" MinSize="48 0" Align="Right" />
|
|
<Control MinSize="4 0"/>
|
|
</BoxContainer>
|
|
<Control MinSize="0 8" />
|
|
<BoxContainer Orientation="Horizontal" Margin="5 0 0 0">
|
|
<Label Text="{Loc 'ui-options-midi-volume'}" HorizontalExpand="True" />
|
|
<Control MinSize="8 0" />
|
|
<Slider Name="MidiVolumeSlider" MinValue="0" MaxValue="100" HorizontalExpand="True" MinSize="80 0" Rounded="True" />
|
|
<Control MinSize="8 0" />
|
|
<Label Name="MidiVolumeLabel" MinSize="48 0" Align="Right" />
|
|
<Control MinSize="4 0"/>
|
|
</BoxContainer>
|
|
<BoxContainer Orientation="Horizontal" Margin="5 0 0 0">
|
|
<Label Text="{Loc 'ui-options-ambient-music-volume'}" HorizontalExpand="True" />
|
|
<Control MinSize="8 0" />
|
|
<Slider Name="AmbientMusicVolumeSlider" MinValue="0" MaxValue="100" HorizontalExpand="True" MinSize="80 0" Rounded="True" />
|
|
<Control MinSize="8 0" />
|
|
<Label Name="AmbientMusicVolumeLabel" MinSize="48 0" Align="Right" />
|
|
<Control MinSize="4 0"/>
|
|
</BoxContainer>
|
|
<!--WD EDIT START-->
|
|
<BoxContainer Orientation="Horizontal" Margin="5 0 0 0">
|
|
<Label Text="{Loc 'ui-options-tts-volume'}" HorizontalExpand="True" />
|
|
<Control MinSize="8 0" />
|
|
<Slider Name="TtsVolumeSlider"
|
|
MinValue="0"
|
|
MaxValue="200"
|
|
HorizontalExpand="True"
|
|
MinSize="80 0"
|
|
Rounded="True" />
|
|
<Control MinSize="8 0" />
|
|
<Label Name="TtsVolumeLabel" MinSize="48 0" Align="Right" />
|
|
<Control MinSize="4 0" />
|
|
</BoxContainer>
|
|
<!--WD EDIT END-->
|
|
<BoxContainer Orientation="Horizontal" Margin="5 0 0 0">
|
|
<Label Text="{Loc 'ui-options-ambience-volume'}" HorizontalExpand="True" />
|
|
<Control MinSize="8 0" />
|
|
<Slider Name="AmbienceVolumeSlider" MinValue="0" MaxValue="100" HorizontalExpand="True" MinSize="80 0" Rounded="True" />
|
|
<Control MinSize="8 0" />
|
|
<Label Name="AmbienceVolumeLabel" MinSize="48 0" Align="Right" />
|
|
<Control MinSize="4 0"/>
|
|
</BoxContainer>
|
|
<BoxContainer Orientation="Horizontal" Margin="5 0 0 0">
|
|
<Label Text="{Loc 'ui-options-lobby-volume'}" HorizontalExpand="True" />
|
|
<Control MinSize="8 0" />
|
|
<Slider Name="LobbyVolumeSlider" MinValue="0" MaxValue="100" HorizontalExpand="True" MinSize="80 0" Rounded="True" />
|
|
<Control MinSize="8 0" />
|
|
<Label Name="LobbyVolumeLabel" MinSize="48 0" Align="Right" />
|
|
<Control MinSize="4 0"/>
|
|
</BoxContainer>
|
|
<BoxContainer Orientation="Horizontal" Margin="5 0 0 0">
|
|
<Label Text="{Loc 'ui-options-interface-volume'}" HorizontalExpand="True" />
|
|
<Control MinSize="8 0" />
|
|
<Slider Name="InterfaceVolumeSlider" MinValue="0" MaxValue="100" HorizontalExpand="True" MinSize="80 0" Rounded="True" />
|
|
<Control MinSize="8 0" />
|
|
<Label Name="InterfaceVolumeLabel" MinSize="48 0" Align="Right" />
|
|
<Control MinSize="4 0"/>
|
|
</BoxContainer>
|
|
<BoxContainer Orientation="Horizontal" Margin="5 0 0 0">
|
|
<Label Text="{Loc 'ui-options-ambience-max-sounds'}" HorizontalExpand="True" />
|
|
<Control MinSize="8 0" />
|
|
<Slider Name="AmbienceSoundsSlider" MinValue="0" MaxValue="1" HorizontalExpand="True" MinSize="80 0" Rounded="True" />
|
|
<Control MinSize="8 0" />
|
|
<Label Name="AmbienceSoundsLabel" MinSize="48 0" Align="Right" />
|
|
<Control MinSize="4 0"/>
|
|
</BoxContainer>
|
|
<BoxContainer Orientation="Horizontal" Margin="5 0 0 0">
|
|
<Label Text="{Loc 'ui-options-announcer-volume'}" HorizontalExpand="True" />
|
|
<Control MinSize="8 0" />
|
|
<Slider Name="AnnouncerVolumeSlider" MinValue="0" MaxValue="100" HorizontalExpand="True" MinSize="80 0" Rounded="True" />
|
|
<Control MinSize="8 0" />
|
|
<Label Name="AnnouncerVolumeLabel" MinSize="48 0" Align="Right" />
|
|
<Control MinSize="4 0"/>
|
|
</BoxContainer>
|
|
<Control MinSize="0 8" />
|
|
<CheckBox Name="LobbyMusicCheckBox" Text="{Loc 'ui-options-lobby-music'}" />
|
|
<CheckBox Name="RestartSoundsCheckBox" Text="{Loc 'ui-options-restart-sounds'}" />
|
|
<CheckBox Name="EventMusicCheckBox" Text="{Loc 'ui-options-event-music'}" />
|
|
<CheckBox Name="AnnouncerDisableMultipleSoundsCheckBox" Text="{Loc 'ui-options-announcer-disable-multiple-sounds'}" ToolTip="{Loc 'ui-options-announcer-disable-multiple-sounds-tooltip'}" />
|
|
<CheckBox Name="AdminSoundsCheckBox" Text="{Loc 'ui-options-admin-sounds'}" />
|
|
</BoxContainer>
|
|
</BoxContainer>
|
|
<controls:StripeBack HasBottomEdge="False" HasMargins="False">
|
|
<BoxContainer Orientation="Horizontal" Align="End" HorizontalExpand="True" VerticalExpand="True">
|
|
<Button Name="ResetButton" Text="{Loc 'ui-options-reset-all'}" StyleClasses="Danger" HorizontalExpand="True" HorizontalAlignment="Right" />
|
|
<Control MinSize="2 0" />
|
|
<Button Name="ApplyButton" Text="{Loc 'ui-options-apply'}" TextAlign="Center" HorizontalAlignment="Right" />
|
|
</BoxContainer>
|
|
</controls:StripeBack>
|
|
</BoxContainer>
|
|
</Control>
|