Files
OpenRA/mods/cnc/chrome/lobby.yaml
2012-06-26 19:24:59 +12:00

433 lines
8.2 KiB
YAML

Container@SERVER_LOBBY:
Logic:LobbyLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - 500)/2
Width:740
Height:535
Children:
Label@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:
X:1
Y:1
Width:192
Height:192
Label@MAP_TITLE:
X:PARENT_RIGHT-15-WIDTH
Y:225
Width:194
Height:25
Font:Bold
Align:Center
Checkbox@ALLOWCHEATS_CHECKBOX:
X:PARENT_RIGHT-209
Y:255
Width:130
Height:20
Text: Allow Cheats
ScrollPanel@PLAYERS:
X:15
Y:30
Width:503
ItemSpacing:5
Height:245
Children:
Container@TEMPLATE_EDITABLE_PLAYER:
X:5
Y:0
Width:475
Height:25
Visible:false
Children:
TextField@NAME:
Text:Name
Width:205
Height:25
MaxLength:16
Visible:false
Image@ISADMIN:
Width:16
Height:16
X:200
Y:4
ImageName:isadmin
ImageCollection:misc
DropDownButton@BOT_DROPDOWN:
Text:Name
Width:205
Height:25
Font:Regular
Visible:false
DropDownButton@COLOR:
Width:70
Height:25
X:210
Font:Regular
IgnoreChildMouseOver: true
Children:
ColorBlock@COLORBLOCK:
X:5
Y:6
Width:PARENT_RIGHT-35
Height:PARENT_BOTTOM-12
DropDownButton@FACTION:
Width:100
Height:25
X:285
Font:Regular
IgnoreChildMouseOver: true
Children:
Image@FACTIONFLAG:
Width:32
Height:16
X:4
Y:4
Label@FACTIONNAME:
Text:Faction
Width:60
Height:25
X:40
Y:0
DropDownButton@TEAM:
Width:50
Height:25
X:390
Font:Regular
Image@STATUS_IMAGE:
Visible:false
X:450
Y:4
Width:20
Height:20
ImageCollection:checkbox-bits
ImageName:checked
Checkbox@STATUS_CHECKBOX:
Visible:false
X:448
Y:2
Width:20
Height:20
Container@TEMPLATE_NONEDITABLE_PLAYER:
X:5
Y:0
Width:475
Height:25
Visible:false
Children:
Label@NAME:
Text:Name
Width:200
Height:25
X:5
Y:0-1
Image@ISADMIN:
Width:16
Height:16
X:200
Y:4
ImageName:isadmin
ImageCollection:misc
Button@KICK:
Text:X
Width:25
Height:23
X:180
Y:2
Font:Bold
ColorBlock@COLOR:
X:215
Y:6
Width:35
Height:13
Label@FACTION:
Width:100
Height:25
X:285
Y:0
Children:
Image@FACTIONFLAG:
Width:30
Height:15
X:5
Y:5
Label@FACTIONNAME:
Text:Faction
Width:60
Height:25
X:40
Y:0
Label@TEAM:
Align:Center
Width:25
Height:25
X:390
Y:0
Image@STATUS_IMAGE:
Visible:false
X:450
Y:4
Width:20
Height:20
ImageCollection:checkbox-bits
ImageName:checked
Container@TEMPLATE_EMPTY:
X:5
Y:0
Width:475
Height:25
Visible:false
Children:
DropDownButton@NAME_HOST:
Text:Name
Width:205
Height:25
Font:Regular
Visible:false
Label@NAME:
Text:Name
Width:200
Height:25
X:5
Y:0-1
Visible:false
Image@ISADMIN:
Width:16
Height:16
X:200
Y:4
ImageName:isadmin
ImageCollection:misc
Button@JOIN:
Text:Play in this slot
Font:Regular
Width:315-55
Height:25
X:210
Y:0
Container@TEMPLATE_EDITABLE_SPECTATOR:
X:5
Y:0
Width:475
Height:25
Visible:false
Children:
TextField@NAME:
Text:Name
Width:205
Height:25
MaxLength:16
Image@ISADMIN:
Width:16
Height:16
X:200
Y:4
ImageName:isadmin
ImageCollection:misc
DropDownButton@COLOR:
Width:70
Height:25
X:210
Font:Regular
IgnoreChildMouseOver: true
Children:
ColorBlock@COLORBLOCK:
X:5
Y:6
Width:PARENT_RIGHT-35
Height:PARENT_BOTTOM-12
Label@SPECTATOR:
Text:Spectator
Width:220-55
Height:25
X:280
Y:0
Align:Center
Font:Bold
Checkbox@STATUS_CHECKBOX:
X:448
Y:2
Width:20
Height:20
Container@TEMPLATE_NONEDITABLE_SPECTATOR:
X:5
Y:0
Width:475
Height:25
Visible:false
Children:
Label@NAME:
Text:Name
Width:200
Height:25
X:5
Y:0-1
Image@ISADMIN:
Width:16
Height:16
X:200
Y:4
ImageName:isadmin
ImageCollection:misc
Button@KICK:
Text:X
Width:25
Height:23
X:180
Y:2
Font:Bold
ColorBlock@COLOR:
X:215
Y:6
Width:35
Height:13
Label@SPECTATOR:
Text:Spectator
Width:220-55
Height:25
X:280
Y:0
Align:Center
Font:Bold
Image@STATUS_IMAGE:
Visible:false
X:450
Y:4
Width:20
Height:20
ImageCollection:checkbox-bits
ImageName:checked
Container@TEMPLATE_NEW_SPECTATOR:
X:5
Y:0
Width:475
Height:25
Visible:false
Children:
Button@SPECTATE:
Text:Spectate
Font:Regular
Width:470
Height:25
X:0
Y:0
Container@LABEL_CONTAINER:
X:20
Y:5
Children:
Label@NAME:
Width:200
Height:25
Text:Player
Align:Center
Font:Bold
Label@COLOR:
Width:70
Height:25
X:210
Text:Color
Align:Center
Font:Bold
Label@FACTION:
Width:100
Height:25
X:285
Text:Faction
Align:Center
Font:Bold
Label@TEAM:
Width:50
Height:25
X:390
Text:Team
Align:Center
Font:Bold
Label@STATUS:
X:448
Width:20
Height:25
Text:Ready
Align:Left
Font:Bold
ScrollPanel@CHAT_DISPLAY:
X:15
Y:285
Width:PARENT_RIGHT - 30
Height:PARENT_BOTTOM - 324
ItemSpacing:1
Children:
Container@CHAT_TEMPLATE:
Width:PARENT_RIGHT-27
Height:16
X:2
Y:0
Children:
Label@TIME:
X:3
Width:50
Height:15
VAlign:Top
Label@NAME:
X:45
Width:50
Height:15
VAlign:Top
Label@TEXT:
X:55
Width:PARENT_RIGHT - 60
Height:15
WordWrap:true
VAlign:Top
TextField@CHAT_TEXTFIELD:
X:15
Y:PARENT_BOTTOM - HEIGHT - 15
Width:PARENT_RIGHT - 30
Height:25
LeftMargin:50
Children:
Label@LABEL_CHATTYPE:
Y:0-1
Width:45
Height:25
Align:Right
Text:Chat:
Button@DISCONNECT_BUTTON:
X:0
Y:499
Width:140
Height:35
Text:Leave Game
Button@MUSIC_BUTTON:
X:150
Y:499
Width:140
Height:35
Text:Music
Button@CHANGEMAP_BUTTON:
X:450
Y:499
Width:140
Height:35
Text:Change Map
Button@START_GAME_BUTTON:
X:600
Y:499
Width:140
Height:35
Text:Start Game