Files
linuxdistro-roguelite/Assets/UI/SettingsScreen.uxml
T

48 lines
3.8 KiB
XML

<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
<ui:VisualElement name="SettingsPanel" class="screen-panel hidden">
<ui:VisualElement class="screen-frame">
<ui:VisualElement class="screen-frame-header">
<ui:Label class="screen-frame-title" />
</ui:VisualElement>
<ui:ScrollView class="screen-frame-content settings-scroll">
<ui:Label text="[display]" class="settings-heading" />
<ui:Label text="Changes apply immediately and are saved on this device." class="settings-saved-hint" />
<ui:VisualElement class="settings-row">
<ui:VisualElement class="settings-copy">
<ui:Label text="reduced_motion" class="settings-label" />
<ui:Label text="Skip boot/reveal sequences; simplify combat motion." class="settings-description" />
</ui:VisualElement>
<ui:Toggle name="ReducedMotionToggle" text="[ false ]" class="settings-toggle" tooltip="Reduced motion. Space toggles this setting." />
</ui:VisualElement>
<ui:VisualElement class="settings-row">
<ui:VisualElement class="settings-copy">
<ui:Label text="text_size" class="settings-label" />
<ui:Label text="Standard or large text across menus, cards, combat, and results." class="settings-description" />
</ui:VisualElement>
<ui:Button name="TextSizeButton" text="[ standard ]" class="settings-choice" tooltip="Text size. Enter or Space switches between standard and large." />
</ui:VisualElement>
<ui:VisualElement class="settings-row">
<ui:VisualElement class="settings-copy">
<ui:Label text="layout_density" class="settings-label" />
<ui:Label text="Compact keeps the current spacing. Comfortable adds room between details and list entries." class="settings-description" />
</ui:VisualElement>
<ui:Button name="DensityButton" text="[ compact ]" class="settings-choice" tooltip="Layout density. Enter or Space switches between compact and comfortable." />
</ui:VisualElement>
<ui:Label text="[input]" class="settings-heading" />
<ui:Label text="Tab / Shift+Tab focus controls&#10;Enter / Space activate focused control&#10;Esc back / cancel&#10;Menu: / focuses prompt; Tab completes; Up/Down recalls history.&#10;Collection: Left/Right switches tabs; Up/Down selects entries.&#10;Combat: E ends your turn; Tab + Enter selects cards and targets.&#10;Hints: hover to scroll with the mouse wheel, or focus the item and use PgUp / PgDn." class="settings-help" />
<ui:Label text="[audio]" class="settings-heading" />
<ui:VisualElement class="settings-row">
<ui:VisualElement class="settings-copy">
<ui:Label text="combat_volume" class="settings-label" />
<ui:Label text="Terminal cues for dispatch, queued effects, hits, revival and victory. Set to muted for silence." class="settings-description" />
</ui:VisualElement>
<ui:Button name="SoundVolumeButton" text="[ 75% ]" class="settings-choice" tooltip="Cycle combat volume: muted, 25%, 50%, 75%, 100%." />
</ui:VisualElement>
</ui:ScrollView>
<ui:VisualElement class="screen-frame-footer">
<ui:Label class="screen-frame-hint" />
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>