Overhaul lobby layout.

This commit is contained in:
Paul Chote
2013-06-30 18:20:44 +12:00
parent a49bf40413
commit 47406d8765
11 changed files with 396 additions and 280 deletions

View File

@@ -148,10 +148,10 @@ Container@CONFIRM_PROMPT:
Background@KICK_CLIENT_DIALOG:
X:15
Y:30
Width:503
Width:501
Height:219
Logic:KickClientLogic
Background:panel-black
Background:scrollpanel-bg
Children:
Label@TITLE:
X:0
@@ -195,4 +195,50 @@ Background@KICK_CLIENT_DIALOG:
Width:120
Height:25
Text:Cancel
Font:Bold
Background@LOBBY_OPTIONS_BIN:
X:15
Y:30
Width:501
Height:219
Background:scrollpanel-bg
Children:
Label@TITLE:
X:0
Y:50
Width:PARENT_RIGHT
Height:25
Font:Bold
Align:Center
Text: Map Options
Checkbox@ALLOWCHEATS_CHECKBOX:
X:150
Y:80
Width:80
Height:20
Text:Enable Cheats / Debug Menu
Checkbox@CRATES_CHECKBOX:
X:150
Y:110
Width:80
Height:20
Text:Enable Crates
Checkbox@FRAGILEALLIANCES_CHECKBOX:
X:150
Y:140
Width:80
Height:20
Text:Allow Team Changes
Label@DIFFICULTY_DESC:
X:150
Y:170
Width:120
Height:25
Text:Mission Difficulty:
DropDownButton@DIFFICULTY_DROPDOWNBUTTON:
X:265
Y:170
Width:100
Height:25
Font:Bold

View File

@@ -1,9 +1,9 @@
ScrollPanel@LOBBY_PLAYER_BIN:
X:15
Y:30
Width:503
ItemSpacing:5
Width:501
Height:219
ItemSpacing:5
Children:
Container@TEMPLATE_EDITABLE_PLAYER:
X:5
@@ -94,7 +94,7 @@ ScrollPanel@LOBBY_PLAYER_BIN:
ImageName:checked
Checkbox@STATUS_CHECKBOX:
Visible:false
X:448
X:446
Y:2
Width:20
Height:20
@@ -129,11 +129,10 @@ ScrollPanel@LOBBY_PLAYER_BIN:
Width:11
Height:25
Label@NAME:
Text:Name
Width:185
Height:25
X:15
X:20
Y:0-1
Width:180
Height:25
Button@KICK:
Width:25
Height:25
@@ -174,7 +173,7 @@ ScrollPanel@LOBBY_PLAYER_BIN:
Y:0
Image@STATUS_IMAGE:
Visible:false
X:450
X:448
Y:4
Width:20
Height:20
@@ -195,16 +194,15 @@ ScrollPanel@LOBBY_PLAYER_BIN:
Font:Regular
Visible:false
Label@NAME:
Text:Name
Width:200
Height:25
X:15
X:20
Y:0-1
Width:195
Height:25
Visible:false
Button@JOIN:
Text:Play in this slot
Font:Regular
Width:315-55
Width:257
Height:25
X:210
Y:0
@@ -283,11 +281,10 @@ ScrollPanel@LOBBY_PLAYER_BIN:
Width:11
Height:25
Label@NAME:
Text:Name
Width:185
Height:25
X:15
X:20
Y:0-1
Width:180
Height:25
Button@KICK:
Text:X
Width:25
@@ -306,14 +303,14 @@ ScrollPanel@LOBBY_PLAYER_BIN:
Container@TEMPLATE_NEW_SPECTATOR:
X:5
Y:0
Width:475
Width:474
Height:25
Visible:false
Children:
Button@SPECTATE:
Text:Spectate
Font:Regular
Width:455
Width:453
Height:25
X:15
Y:0

View File

@@ -83,36 +83,35 @@ Container@SERVER_LOBBY:
Align:Center
Font:Bold
Label@STATUS:
X:448
X:446
Width:20
Height:25
Text:Ready
Align:Left
Font:Bold
Checkbox@ALLOWCHEATS_CHECKBOX:
Button@OPTIONS_BUTTON:
X:15
Y:257
Width:130
Height:20
Text:Cheats
Checkbox@CRATES_CHECKBOX:
X:120
Y:257
Width:80
Height:20
Text:Crates
Y:254
Width:112
Height:25
DropDownButton@SLOTS_DROPDOWNBUTTON:
X:213
Y:255
X:132
Y:254
Width:150
Height:25
Text:Slot Options
Text:Slot Admin
Button@CHANGEMAP_BUTTON:
X:368
Y:255
Width:150
X:287
Y:254
Width:112
Height:25
Text:Change Map
Button@START_GAME_BUTTON:
X:404
Y:254
Width:112
Height:25
Text:Start Game
ScrollPanel@CHAT_DISPLAY:
X:15
Y:285
@@ -156,21 +155,15 @@ Container@SERVER_LOBBY:
Align:Right
Text:Chat:
Button@DISCONNECT_BUTTON:
X:0
X:600
Y:499
Width:140
Height:35
Text:Leave Game
Button@MUSIC_BUTTON:
X:150
X:450
Y:499
Width:140
Height:35
Text:Music
Button@START_GAME_BUTTON:
X:600
Y:499
Width:140
Height:35
Text:Start Game
TooltipContainer@TOOLTIP_CONTAINER: