Files
OpenRA/mods/ts/chrome/settings-hotkeys.yaml
2022-01-04 18:35:41 +01:00

122 lines
2.7 KiB
YAML

Container@HOTKEYS_PANEL:
Logic: HotkeysSettingsLogic
HotkeyGroups:
Game Commands:
Types: OrderGenerator, World, Menu
Viewport Commands:
Types: Viewport
Observer / Replay Commands:
Types: Observer, Replay
Unit Commands:
Types: Unit
Unit Stance Commands:
Types: Stance
Production Commands:
Types: Production, ProductionSlot
Support Power Commands:
Types: SupportPower
Music Commands:
Types: Music
Chat Commands:
Types: Chat
Depth Preview Debug:
Types: DepthDebug
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Children:
ScrollPanel@HOTKEY_LIST:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM - 65
TopBottomSpacing: 5
ItemSpacing: 5
Children:
Container@HEADER:
Width: PARENT_RIGHT - 24 - 10
Height: 18
Children:
Background@BACKGROUND:
Width: PARENT_RIGHT
Height: 13
Background: separator
Label@LABEL:
Width: PARENT_RIGHT
Height: 13
Font: TinyBold
Align: Center
Container@TEMPLATE:
Width: (PARENT_RIGHT - 24) / 2 - 10
Height: 30
Visible: false
Children:
Label@FUNCTION:
Y: 0 - 1
Width: PARENT_RIGHT - 120 - 5
Height: 25
Align: Right
Button@HOTKEY:
X: PARENT_RIGHT - WIDTH
Width: 120
Height: 25
TooltipContainer: SETTINGS_TOOLTIP_CONTAINER
Background@HOTKEY_DIALOG_ROOT:
Y: PARENT_BOTTOM - HEIGHT
Width: PARENT_RIGHT
Height: 65
Background: dialog3
Children:
Label@HOTKEY_LABEL:
X: 15
Y: 19
Width: 200
Height: 25
Font: Bold
Align: Right
HotkeyEntry@HOTKEY_ENTRY:
X: 15 + 200 + 5
Y: 20
Width: 300
Height: 25
Container@NOTICES:
X: 15 + 200 + 5
Y: 42
Width: 300
Height: 25
Children:
Label@ORIGINAL_NOTICE:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Font: Tiny
Text: The default is "{0}"
Label@DUPLICATE_NOTICE:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Font: Tiny
Text: This is already used for "{0}"
Button@OVERRIDE_HOTKEY_BUTTON:
X: PARENT_RIGHT - 3 * WIDTH - 30
Y: 20
Width: 70
Height: 25
Text: Override
Font: Bold
Button@CLEAR_HOTKEY_BUTTON:
X: PARENT_RIGHT - 2 * WIDTH - 30
Y: 20
Width: 65
Height: 25
Text: Clear
Font: Bold
TooltipText: Unbind the hotkey
TooltipContainer: SETTINGS_TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Button@RESET_HOTKEY_BUTTON:
X: PARENT_RIGHT - WIDTH - 20
Y: 20
Width: 65
Height: 25
Text: Reset
Font: Bold
TooltipText: Reset to default
TooltipContainer: SETTINGS_TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP