Files
OpenRA/mods/cnc/chrome/lobby-players.yaml
2025-03-28 21:13:32 +00:00

481 lines
11 KiB
YAML

Container@LOBBY_PLAYER_BIN:
Width: PARENT_WIDTH
Height: PARENT_HEIGHT
Children:
Container@LABEL_CONTAINER:
X: 5
Y: 0 - 24
Width: PARENT_WIDTH
Height: PARENT_HEIGHT
Children:
Label@LABEL_LOBBY_NAME:
Width: 200
Height: 25
Text: label-lobby-players-player
Align: Center
Font: Bold
Label@LABEL_LOBBY_COLOR:
X: 210
Width: 94
Height: 25
Text: label-lobby-players-color
Align: Center
Font: Bold
Label@LABEL_LOBBY_FACTION:
X: 309
Width: 120
Height: 25
Text: label-lobby-players-faction
Align: Center
Font: Bold
Label@LABEL_LOBBY_TEAM:
X: 460 - 25
Width: 50
Height: 25
Text: label-lobby-players-team
Align: Center
Font: Bold
Label@LABEL_LOBBY_HANDICAP:
X: 491
Width: 75
Height: 25
Text: label-lobby-players-handicap
Align: Center
Font: Bold
Label@LABEL_LOBBY_SPAWN:
X: 571
Width: 50
Height: 25
Text: label-lobby-players-spawn
Align: Left
Font: Bold
Label@LABEL_LOBBY_STATUS:
X: 627
Width: 20 + 24
Height: 25
Text: label-lobby-players-ready
Align: Left
Font: Bold
ScrollPanel@LOBBY_PLAYERS:
Width: PARENT_WIDTH
Height: PARENT_HEIGHT
TopBottomSpacing: 5
ItemSpacing: 5
Children:
Container@TEMPLATE_EDITABLE_PLAYER:
X: 5
Width: 530
Height: 25
Visible: false
Children:
Background@LATENCY:
Y: 6
Width: 11
Height: 14
Background: button
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_WIDTH - 4
Height: PARENT_HEIGHT - 4
ClientTooltipRegion@LATENCY_REGION:
Width: 11
Height: 25
TooltipContainer: TOOLTIP_CONTAINER
Template: LATENCY_TOOLTIP
TextField@NAME:
X: 15
Width: 190
Height: 25
Text: Name
LeftMargin: 24
MaxLength: 16
Visible: false
Children:
Image@PROFILE:
ImageCollection: lobby-bits
X: 3
Y: 3
Visible: false
ClientTooltipRegion@PROFILE_TOOLTIP:
X: 3
Y: 3
Width: 16
Height: 16
TooltipContainer: TOOLTIP_CONTAINER
Template: ANONYMOUS_PLAYER_TOOLTIP
DropDownButton@SLOT_OPTIONS:
X: 15
Width: 190
Height: 25
Text: label-lobby-players-name
Font: Regular
Visible: false
DropDownButton@COLOR:
X: 210
Width: 94
Height: 25
Font: Regular
IgnoreChildMouseOver: true
Children:
ColorBlock@COLORBLOCK:
X: 5
Y: 6
Width: PARENT_WIDTH - 35
Height: PARENT_HEIGHT - 12
DropDownButton@FACTION:
X: 309
Width: 120
Height: 25
Font: Regular
IgnoreChildMouseOver: true
TooltipContainer: TOOLTIP_CONTAINER
PanelRoot: FACTION_DROPDOWN_PANEL_ROOT # ensure that tooltips for the options are on top of the dropdown panel
Children:
Image@FACTIONFLAG:
X: 4
Y: 4
Width: 32
Height: 16
Label@FACTIONNAME:
X: 40
Width: 50
Height: 25
Text: label-lobby-players-faction
DropDownButton@TEAM_DROPDOWN:
X: 435
Width: 50
Height: 25
Font: Regular
DropDownButton@HANDICAP_DROPDOWN:
X: 491
Width: 75
Height: 25
Font: Regular
TooltipContainer: TOOLTIP_CONTAINER
TooltipText: dropdownbutton-lobby-players-handicap-tooltip
DropDownButton@SPAWN_DROPDOWN:
X: 571
Width: 50
Height: 25
Font: Regular
Image@STATUS_IMAGE:
X: 629
Y: 4
Width: 20
Height: 20
ImageCollection: checkmark-tick
ImageName: checked
Visible: false
Checkbox@STATUS_CHECKBOX:
X: 627
Y: 2
Width: 20
Height: 20
Visible: false
Container@TEMPLATE_NONEDITABLE_PLAYER:
X: 5
Width: 530
Height: 25
Visible: false
Children:
Background@LATENCY:
Y: 6
Width: 11
Height: 14
Background: button
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_WIDTH - 4
Height: PARENT_HEIGHT - 4
ClientTooltipRegion@LATENCY_REGION:
Width: 11
Height: 25
TooltipContainer: TOOLTIP_CONTAINER
Template: LATENCY_TOOLTIP
Image@PROFILE:
ImageCollection: lobby-bits
X: 18
Y: 3
Visible: false
ClientTooltipRegion@PROFILE_TOOLTIP:
X: 18
Y: 3
Width: 16
Height: 16
TooltipContainer: TOOLTIP_CONTAINER
Template: ANONYMOUS_PLAYER_TOOLTIP
Label@NAME:
X: 39
Width: 161
Height: 25
DropDownButton@PLAYER_ACTION:
X: 15
Width: 190
Height: 25
Font: Regular
Visible: false
Align: Left
LeftMargin: 24
Children:
Image@PROFILE:
ImageCollection: lobby-bits
X: 3
Y: 3
Visible: false
ClientTooltipRegion@PROFILE_TOOLTIP:
X: 3
Y: 3
Width: 16
Height: 16
TooltipContainer: TOOLTIP_CONTAINER
Template: ANONYMOUS_PLAYER_TOOLTIP
ColorBlock@COLORBLOCK:
X: 215
Y: 6
Width: 59
Height: 13
Container@FACTION:
X: 309
Width: 120
Height: 25
Children:
Image@FACTIONFLAG:
X: 4
Y: 4
Width: 30
Height: 15
Label@FACTIONNAME:
X: 40
Width: 50
Height: 25
Text: label-lobby-players-faction
Label@TEAM:
X: 425
Width: 45
Height: 25
Align: Center
DropDownButton@TEAM_DROPDOWN:
X: 435
Width: 50
Height: 25
Font: Regular
Visible: false
Label@HANDICAP:
X: 491
Width: 50
Height: 25
Align: Center
DropDownButton@HANDICAP_DROPDOWN:
X: 491
Width: 75
Height: 25
Font: Regular
TooltipContainer: TOOLTIP_CONTAINER
TooltipText: dropdownbutton-lobby-players-handicap-tooltip
Label@SPAWN:
X: 571
Width: 25
Height: 25
Align: Center
DropDownButton@SPAWN_DROPDOWN:
X: 571
Width: 50
Height: 25
Font: Regular
Visible: false
Image@STATUS_IMAGE:
X: 629
Y: 4
Width: 20
Height: 20
ImageCollection: checkmark-tick
ImageName: checked
Visible: false
Container@TEMPLATE_EMPTY:
X: 5
Width: 530
Height: 25
Visible: false
Children:
DropDownButton@SLOT_OPTIONS:
X: 15
Width: 190
Height: 25
Text: label-lobby-players-name
Font: Regular
Visible: false
Label@NAME:
X: 20
Width: 195
Height: 25
Visible: false
Button@JOIN:
X: 210
Width: 438
Height: 25
Text: button-lobby-players-join
Font: Regular
Container@TEMPLATE_EDITABLE_SPECTATOR:
X: 5
Width: 530
Height: 25
Visible: false
Children:
Background@LATENCY:
Y: 6
Width: 11
Height: 14
Background: button
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_WIDTH - 4
Height: PARENT_HEIGHT - 4
ClientTooltipRegion@LATENCY_REGION:
Width: 11
Height: 25
TooltipContainer: TOOLTIP_CONTAINER
Template: LATENCY_TOOLTIP
TextField@NAME:
X: 15
Width: 190
Height: 25
Text: Name
LeftMargin: 24
MaxLength: 16
Children:
Image@PROFILE:
ImageCollection: lobby-bits
X: 3
Y: 3
Visible: false
ClientTooltipRegion@PROFILE_TOOLTIP:
X: 3
Y: 3
Width: 16
Height: 16
TooltipContainer: TOOLTIP_CONTAINER
Template: ANONYMOUS_PLAYER_TOOLTIP
Label@SPECTATOR:
X: 210
Width: 441
Height: 25
Text: label-lobby-players-spectator
Align: Center
Font: Bold
Image@STATUS_IMAGE:
X: 629
Y: 4
Width: 20
Height: 20
ImageCollection: checkmark-tick
ImageName: checked
Visible: false
Checkbox@STATUS_CHECKBOX:
X: 627
Y: 2
Width: 20
Height: 20
Visible: false
Container@TEMPLATE_NONEDITABLE_SPECTATOR:
X: 5
Width: 530
Height: 25
Visible: false
Children:
Background@LATENCY:
Y: 6
Width: 11
Height: 14
Background: button
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_WIDTH - 4
Height: PARENT_HEIGHT - 4
ClientTooltipRegion@LATENCY_REGION:
Width: 11
Height: 25
TooltipContainer: TOOLTIP_CONTAINER
Template: LATENCY_TOOLTIP
Image@PROFILE:
ImageCollection: lobby-bits
X: 18
Y: 3
Visible: false
ClientTooltipRegion@PROFILE_TOOLTIP:
X: 18
Y: 3
Width: 16
Height: 16
TooltipContainer: TOOLTIP_CONTAINER
Template: ANONYMOUS_PLAYER_TOOLTIP
Label@NAME:
X: 39
Width: 161
Height: 25
DropDownButton@PLAYER_ACTION:
X: 15
Width: 190
Height: 25
Font: Regular
Visible: false
Align: Left
LeftMargin: 24
Children:
Image@PROFILE:
ImageCollection: lobby-bits
X: 3
Y: 3
Visible: false
ClientTooltipRegion@PROFILE_TOOLTIP:
X: 3
Y: 3
Width: 16
Height: 16
TooltipContainer: TOOLTIP_CONTAINER
Template: ANONYMOUS_PLAYER_TOOLTIP
Label@SPECTATOR:
X: 210
Width: 441
Height: 25
Text: label-lobby-players-spectator
Align: Center
Font: Bold
Image@STATUS_IMAGE:
X: 627
Y: 4
Width: 20
Height: 20
ImageCollection: checkmark-tick
ImageName: checked
Visible: false
Container@TEMPLATE_NEW_SPECTATOR:
X: 5
Width: 529
Height: 25
Visible: false
Children:
Checkbox@TOGGLE_SPECTATORS:
X: 15
Width: 190
Height: 20
Font: Regular
Text: checkbox-lobby-players-new-spectator-toggle
Button@SPECTATE:
X: 210
Width: 438
Height: 25
Text: button-lobby-players-spectate
Font: Regular