Files
OpenRA/mods/cnc/chrome/lobby-players.yaml
2023-06-04 21:29:15 +03:00

481 lines
10 KiB
YAML

Container@LOBBY_PLAYER_BIN:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Children:
Container@LABEL_CONTAINER:
X: 5
Y: 0 - 24
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Children:
Label@NAME:
Width: 200
Height: 25
Text: Player
Align: Center
Font: Bold
Label@COLOR:
X: 210
Width: 94
Height: 25
Text: Color
Align: Center
Font: Bold
Label@FACTION:
X: 309
Width: 120
Height: 25
Text: Faction
Align: Center
Font: Bold
Label@TEAM:
X: 460 - 25
Width: 50
Height: 25
Text: Team
Align: Center
Font: Bold
Label@HANDICAP:
X: 491
Width: 75
Height: 25
Text: Handicap
Align: Center
Font: Bold
Label@SPAWN:
X: 571
Width: 50
Height: 25
Text: Spawn
Align: Left
Font: Bold
Label@STATUS:
X: 627
Width: 20
Height: 25
Text: Ready
Align: Left
Font: Bold
ScrollPanel@LOBBY_PLAYERS:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
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_RIGHT - 4
Height: PARENT_BOTTOM - 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: 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_RIGHT - 35
Height: PARENT_BOTTOM - 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: 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: A handicap decreases the combat effectiveness of the player's forces
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_RIGHT - 4
Height: PARENT_BOTTOM - 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: Faction
Label@TEAM:
X: 435
Width: 25
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: A handicap decreases the combat effectiveness of the player's forces
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: Name
Font: Regular
Visible: false
Label@NAME:
X: 20
Width: 195
Height: 25
Visible: false
Button@JOIN:
X: 210
Width: 438
Height: 25
Text: Play in this slot
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_RIGHT - 4
Height: PARENT_BOTTOM - 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: 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_RIGHT - 4
Height: PARENT_BOTTOM - 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: 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: Allow Spectators?
Button@SPECTATE:
X: 210
Width: 438
Height: 25
Text: Spectate
Font: Regular