* Adds new accessibility slider for speech bubble text opacity. Adds new accessibility slider for speech bubble background opacity. Adds new Cvars to track speech bubble text and background opacity settings. * Adds a separate option slider for the opacity of the speaker's name on speech bubbles. * Changes text and speaker default opacity to 100%, as it was before. * Apply suggestions from code review --------- Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
20 lines
1.4 KiB
XML
20 lines
1.4 KiB
XML
<Control xmlns="https://spacestation14.io"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:ui="clr-namespace:Content.Client.Options.UI">
|
|
<BoxContainer Orientation="Vertical">
|
|
<ScrollContainer VerticalExpand="True" HScrollEnabled="False">
|
|
<BoxContainer Orientation="Vertical" Margin="8">
|
|
<CheckBox Name="ReducedMotionCheckBox" Text="{Loc 'ui-options-reduced-motion'}" />
|
|
<CheckBox Name="EnableColorNameCheckBox" Text="{Loc 'ui-options-enable-color-name'}" />
|
|
<CheckBox Name="ColorblindFriendlyCheckBox" Text="{Loc 'ui-options-colorblind-friendly'}" />
|
|
<ui:OptionSlider Name="ScreenShakeIntensitySlider" Title="{Loc 'ui-options-screen-shake-intensity'}" />
|
|
<ui:OptionSlider Name="ChatWindowOpacitySlider" Title="{Loc 'ui-options-chat-window-opacity'}" />
|
|
<ui:OptionSlider Name="SpeechBubbleTextOpacitySlider" Title="{Loc 'ui-options-speech-bubble-text-opacity'}" />
|
|
<ui:OptionSlider Name="SpeechBubbleSpeakerOpacitySlider" Title="{Loc 'ui-options-speech-bubble-speaker-opacity'}" />
|
|
<ui:OptionSlider Name="SpeechBubbleBackgroundOpacitySlider" Title="{Loc 'ui-options-speech-bubble-background-opacity'}" />
|
|
</BoxContainer>
|
|
</ScrollContainer>
|
|
<ui:OptionsTabControlRow Name="Control" Access="Public" />
|
|
</BoxContainer>
|
|
</Control>
|