Files
OpenRA/mods/cnc/chrome/lobby.yaml
2011-06-20 22:50:31 +12:00

478 lines
9.2 KiB
YAML

Container@SERVER_LOBBY:
Id:SERVER_LOBBY
Logic:CncLobbyLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - 500)/2
Width:740
Height:535
Children:
Label@TITLE:
Id:TITLE
Width:740
Y:0-25
Font:BigBold
Contrast:true
Align:Center
Background@bg:
Width:740
Height:500
Background:panel-black
Children:
Background@MAP_BG:
X:PARENT_RIGHT-15-WIDTH
Y:30
Width:194
Height:194
Background:panel-gray
Children:
MapPreview@MAP_PREVIEW:
Id:MAP_PREVIEW
X:1
Y:1
Width:192
Height:192
Checkbox@LOCKTEAMS_CHECKBOX:
Id:LOCKTEAMS_CHECKBOX
X:PARENT_RIGHT-209
Y:230
Width:130
Height:20
Text: Lock Teams
Checkbox@ALLOWCHEATS_CHECKBOX:
Id:ALLOWCHEATS_CHECKBOX
X:PARENT_RIGHT-209
Y:255
Width:130
Height:20
Text: Allow Cheats
ScrollPanel@PLAYERS:
Id:PLAYERS
X:15
Y:30
Width:503
ItemSpacing:5
Height:245
Children:
Container@TEMPLATE_EDITABLE_PLAYER:
Id:TEMPLATE_EDITABLE_PLAYER
X:5
Y:0
Width:475
Height:25
Visible:false
Children:
TextField@NAME:
Id:NAME
Text:Name
Width:150
Height:25
MaxLength:16
Visible:false
DropDownButton@BOT_DROPDOWN:
Id:BOT_DROPDOWN
Text:Name
Width:150
Height:25
Font:Regular
Visible:false
DropDownButton@COLOR:
Id:COLOR
Width:70
Height:25
X:155
Font:Regular
Children:
ColorBlock@COLORBLOCK:
Id:COLORBLOCK
X:5
Y:6
Width:PARENT_RIGHT-35
Height:PARENT_BOTTOM-12
DropDownButton@FACTION:
Id:FACTION
Width:100
Height:25
X:230
Font:Regular
Children:
Image@FACTIONFLAG:
Id:FACTIONFLAG
Width:30
Height:15
X:5
Y:5
Label@FACTIONNAME:
Id:FACTIONNAME
Text:Faction
Width:60
Height:25
X:40
Y:0
DropDownButton@TEAM:
Id:TEAM
Width:50
Height:25
X:335
Font:Regular
DropDownButton@SPAWN:
Id:SPAWN
Width:50
Height:25
X:390
Font:Regular
Image@STATUS_IMAGE:
Id:STATUS_IMAGE
Visible:false
X:450
Y:4
Width:20
Height:20
ImageCollection:checkbox-bits
ImageName:checked
Checkbox@STATUS_CHECKBOX:
Id:STATUS_CHECKBOX
Visible:false
X:448
Y:2
Width:20
Height:20
Container@TEMPLATE_NONEDITABLE_PLAYER:
Id:TEMPLATE_NONEDITABLE_PLAYER
X:5
Y:0
Width:475
Height:25
Visible:false
Children:
Label@NAME:
Id:NAME
Text:Name
Width:145
Height:25
X:5
Y:0-1
Button@KICK:
Id:KICK
Text:X
Width:25
Height:23
X:125
Y:2
Font:Bold
ColorBlock@COLOR:
Id:COLOR
X:160
Y:6
Width:35
Height:13
Label@FACTION:
Id:FACTION
Width:100
Height:25
X:230
Y:0
Children:
Image@FACTIONFLAG:
Id:FACTIONFLAG
Width:30
Height:15
X:5
Y:5
Label@FACTIONNAME:
Id:FACTIONNAME
Text:Faction
Width:60
Height:25
X:40
Y:0
Label@TEAM:
Id:TEAM
Align:Center
Width:25
Height:25
X:335
Y:0
Label@SPAWN:
Id:SPAWN
Align:Center
Width:25
Height:25
X:390
Y:0
Image@STATUS_IMAGE:
Id:STATUS_IMAGE
Visible:false
X:450
Y:4
Width:20
Height:20
ImageCollection:checkbox-bits
ImageName:checked
Checkbox@STATUS_CHECKBOX:
Id:STATUS_CHECKBOX
Visible:false
X:448
Y:2
Width:20
Height:20
Container@TEMPLATE_EMPTY:
Id:TEMPLATE_EMPTY
X:5
Y:0
Width:475
Height:25
Visible:false
Children:
DropDownButton@NAME_HOST:
Id:NAME_HOST
Text:Name
Width:150
Height:25
Font:Regular
Visible:false
Label@NAME:
Id:NAME
Text:Name
Width:145
Height:25
X:5
Y:0-1
Visible:false
Button@JOIN:
Id:JOIN
Text:Play in this slot
Font:Regular
Width:315
Height:25
X:155
Y:0
Container@TEMPLATE_EDITABLE_SPECTATOR:
Id:TEMPLATE_EDITABLE_SPECTATOR
X:5
Y:0
Width:475
Height:25
Visible:false
Children:
TextField@NAME:
Id:NAME
Text:Name
Width:150
Height:25
MaxLength:16
DropDownButton@COLOR:
Id:COLOR
Width:70
Height:25
X:155
Font:Regular
Children:
ColorBlock@COLORBLOCK:
Id:COLORBLOCK
X:5
Y:6
Width:PARENT_RIGHT-35
Height:PARENT_BOTTOM-12
Label@SPECTATOR:
Text:Spectator
Width:220
Height:25
X:225
Y:0
Align:Center
Font:Bold
Checkbox@STATUS_CHECKBOX:
Id:STATUS_CHECKBOX
X:448
Y:2
Width:20
Height:20
Container@TEMPLATE_NONEDITABLE_SPECTATOR:
Id:TEMPLATE_NONEDITABLE_SPECTATOR
X:5
Y:0
Width:475
Height:25
Visible:false
Children:
Label@NAME:
Id:NAME
Text:Name
Width:145
Height:25
X:5
Y:0-1
Button@KICK:
Id:KICK
Text:X
Width:25
Height:23
X:125
Y:2
Font:Bold
ColorBlock@COLOR:
Id:COLOR
X:160
Y:6
Width:35
Height:13
Label@SPECTATOR:
Text:Spectator
Width:220
Height:25
X:225
Y:0
Align:Center
Font:Bold
Image@STATUS_IMAGE:
Id:STATUS_IMAGE
Visible:false
X:450
Y:4
Width:20
Height:20
ImageCollection:checkbox-bits
ImageName:checked
Checkbox@STATUS_CHECKBOX:
Id:STATUS_CHECKBOX
Visible:false
X:448
Y:2
Width:20
Height:20
Container@TEMPLATE_NEW_SPECTATOR:
Id:TEMPLATE_NEW_SPECTATOR
X:5
Y:0
Width:475
Height:25
Visible:false
Children:
Button@SPECTATE:
Id:SPECTATE
Text:Spectate
Font:Regular
Width:470
Height:25
X:0
Y:0
Container@LABEL_CONTAINER:
X:20
Y:5
Children:
Label@NAME:
Width:150
Height:25
Text:Player
Align:Center
Font:Bold
Label@COLOR:
Width:70
Height:25
X:155
Text:Color
Align:Center
Font:Bold
Label@FACTION:
Width:100
Height:25
X:230
Text:Faction
Align:Center
Font:Bold
Label@TEAM:
Width:50
Height:25
X:335
Text:Team
Align:Center
Font:Bold
Label@SPAWN:
Width:50
Height:25
X:390
Text:Spawn
Align:Center
Font:Bold
Label@STATUS:
X:448
Width:20
Height:25
Text:Ready
Align:Left
Font:Bold
ScrollPanel@CHAT_DISPLAY:
Id:CHAT_DISPLAY
X:15
Y:285
Width:PARENT_RIGHT - 30
Height:PARENT_BOTTOM - 324
ItemSpacing:2
Children:
Container@CHAT_TEMPLATE:
Id:CHAT_TEMPLATE
Width:PARENT_RIGHT-27
Height:14
X:2
Y:0
Visible:false
Children:
Label@TIME:
Id:TIME
X:5
Width:50
Height:14
Label@NAME:
Id:NAME
X:55
Width:50
Height:14
Label@TEXT:
Id:TEXT
X:65
Height:14
Width:PARENT_RIGHT - 100 - 10
WordWrap:true
TextField@CHAT_TEXTFIELD:
Id:CHAT_TEXTFIELD
X:15
Y:PARENT_BOTTOM - HEIGHT - 15
Width:PARENT_RIGHT - 30
Height:25
LeftMargin:50
Children:
Label@LABEL_CHATTYPE:
Id:LABEL_CHATTYPE
Y:0-1
Width:45
Height:25
Align:Right
Text:Chat:
Button@DISCONNECT_BUTTON:
Id:DISCONNECT_BUTTON
X:0
Y:499
Width:140
Height:35
Text:Leave Game
Button@MUSIC_BUTTON:
Id:MUSIC_BUTTON
X:150
Y:499
Width:140
Height:35
Text:Music
Button@CHANGEMAP_BUTTON:
Id:CHANGEMAP_BUTTON
X:450
Y:499
Width:140
Height:35
Text:Change Map
Button@START_GAME_BUTTON:
Id:START_GAME_BUTTON
X:600
Y:499
Width:140
Height:35
Text:Start Game