Move the player bin header to lobby-players.yaml.

This commit is contained in:
Paul Chote
2015-10-04 17:26:32 +01:00
parent fb5a6d8ec0
commit b73f775ef2
6 changed files with 1043 additions and 988 deletions

View File

@@ -128,13 +128,11 @@ namespace OpenRA.Mods.Common.Widgets.Logic
}); });
UpdateCurrentMap(); UpdateCurrentMap();
players = Ui.LoadWidget<ScrollPanelWidget>("LOBBY_PLAYER_BIN", lobby.Get("PLAYER_BIN_ROOT"), new WidgetArgs());
players.IsVisible = () => panel == PanelType.Players;
var playerBinHeaders = lobby.GetOrNull<ContainerWidget>("LABEL_CONTAINER"); var playerBin = Ui.LoadWidget("LOBBY_PLAYER_BIN", lobby.Get("PLAYER_BIN_ROOT"), new WidgetArgs());
if (playerBinHeaders != null) playerBin.IsVisible = () => panel == PanelType.Players;
playerBinHeaders.IsVisible = () => panel == PanelType.Players;
players = playerBin.Get<ScrollPanelWidget>("LOBBY_PLAYERS");
editablePlayerTemplate = players.Get("TEMPLATE_EDITABLE_PLAYER"); editablePlayerTemplate = players.Get("TEMPLATE_EDITABLE_PLAYER");
nonEditablePlayerTemplate = players.Get("TEMPLATE_NONEDITABLE_PLAYER"); nonEditablePlayerTemplate = players.Get("TEMPLATE_NONEDITABLE_PLAYER");
emptySlotTemplate = players.Get("TEMPLATE_EMPTY"); emptySlotTemplate = players.Get("TEMPLATE_EMPTY");

View File

@@ -1,339 +1,387 @@
ScrollPanel@LOBBY_PLAYER_BIN: Container@LOBBY_PLAYER_BIN:
X: 15 Width: PARENT_RIGHT
Y: 30 Height: PARENT_BOTTOM
Width: 556
Height: 219
TopBottomSpacing: 5
ItemSpacing: 5
Children: Children:
Container@TEMPLATE_EDITABLE_PLAYER: Container@LABEL_CONTAINER:
X: 5 X: 20
Y: 0 Y: 5
Width: 530
Height: 25
Visible: false
Children: Children:
Image@ADMIN_INDICATOR: Label@NAME:
ImageCollection: lobby-bits Width: 200
ImageName: admin
X: 2
Visible: false
Background@LATENCY:
Background: button
X: 0
Y: 6
Width: 11
Height: 14
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_RIGHT-4
Height: PARENT_BOTTOM-4
ClientTooltipRegion@CLIENT_REGION:
TooltipContainer: TOOLTIP_CONTAINER
Template: CLIENT_TOOLTIP
Width: 11
Height: 25 Height: 25
TextField@NAME: Text: Player
Text: Name Align: Center
X: 15 Font: Bold
Width: 190 Label@COLOR:
Height: 25
MaxLength: 16
Visible: false
DropDownButton@SLOT_OPTIONS:
Text: Name
X: 15
Width: 190
Height: 25
Font: Regular
Visible: false
DropDownButton@COLOR:
Width: 70 Width: 70
Height: 25 Height: 25
X: 210 X: 210
Font: Regular Text: Color
IgnoreChildMouseOver: true Align: Center
Children: Font: Bold
ColorBlock@COLORBLOCK: Label@FACTION:
X: 5
Y: 6
Width: PARENT_RIGHT-35
Height: PARENT_BOTTOM-12
DropDownButton@FACTION:
Width: 100 Width: 100
Height: 25 Height: 25
X: 285 X: 285
Font: Regular Text: Faction
IgnoreChildMouseOver: true Align: Center
TooltipContainer: TOOLTIP_CONTAINER Font: Bold
TooltipTemplate: FACTION_DESCRIPTION_TOOLTIP
PanelRoot: FACTION_DROPDOWN_PANEL_ROOT # ensure that tooltips for the options are on top of the dropdown panel
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
DropDownButton@SPAWN:
X: 445
Width: 50
Height: 25
Font: Regular
Image@STATUS_IMAGE:
Visible: false
X: 495
Y: 4
Width: 20
Height: 20
ImageCollection: checkbox-bits
ImageName: checked
Checkbox@STATUS_CHECKBOX:
Visible: false
X: 501
Y: 2
Width: 20
Height: 20
Container@TEMPLATE_NONEDITABLE_PLAYER:
X: 5
Y: 0
Width: 530
Height: 25
Visible: false
Children:
Image@ADMIN_INDICATOR:
ImageCollection: lobby-bits
ImageName: admin
X: 2
Visible: false
Background@LATENCY:
Background: button
X: 0
Y: 6
Width: 11
Height: 14
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_RIGHT-4
Height: PARENT_BOTTOM-4
ClientTooltipRegion@CLIENT_REGION:
TooltipContainer: TOOLTIP_CONTAINER
Template: CLIENT_TOOLTIP
Width: 11
Height: 25
Label@NAME:
X: 20
Y: 0-1
Width: 180
Height: 25
Button@KICK:
Width: 25
Height: 25
X: 180
Children:
Image:
ImageCollection: lobby-bits
ImageName: kick
X: 7
Y: 7
ColorBlock@COLORBLOCK:
X: 215
Y: 6
Width: 35
Height: 13
Container@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: Label@TEAM:
Align: Center Width: 50
Width: 25
Height: 25 Height: 25
X: 390 X: 390
Y: 0 Text: Team
Align: Center
Font: Bold
Label@SPAWN: Label@SPAWN:
Align: Center
Width: 25
Height: 25
X: 445 X: 445
Y: 0 Width: 50
Image@STATUS_IMAGE: Height: 25
Visible: false Text: Spawn
Align: Left
Font: Bold
Label@STATUS:
X: 501 X: 501
Y: 4
Width: 20 Width: 20
Height: 20 Height: 25
ImageCollection: checkbox-bits Text: Ready
ImageName: checked Align: Left
Container@TEMPLATE_EMPTY: Font: Bold
X: 5 ScrollPanel@LOBBY_PLAYERS:
Y: 0 X: 15
Width: 530 Y: 30
Height: 25 Width: 556
Visible: false Height: 219
TopBottomSpacing: 5
ItemSpacing: 5
Children: Children:
DropDownButton@SLOT_OPTIONS: Container@TEMPLATE_EDITABLE_PLAYER:
Text: Name X: 5
X: 15
Width: 190
Height: 25
Font: Regular
Visible: false
Label@NAME:
X: 20
Y: 0-1
Width: 195
Height: 25
Visible: false
Button@JOIN:
Text: Play in this slot
Font: Regular
Width: 312
Height: 25
X: 210
Y: 0 Y: 0
Container@TEMPLATE_EDITABLE_SPECTATOR: Width: 530
X: 5 Height: 25
Y: 0
Width: 530
Height: 25
Visible: false
Children:
Image@ADMIN_INDICATOR:
ImageCollection: lobby-bits
ImageName: admin
X: 2
Visible: false
Background@LATENCY:
Background: button
X: 0
Y: 6
Width: 11
Height: 14
Visible: false Visible: false
Children: Children:
ColorBlock@LATENCY_COLOR: Image@ADMIN_INDICATOR:
ImageCollection: lobby-bits
ImageName: admin
X: 2 X: 2
Visible: false
Background@LATENCY:
Background: button
X: 0
Y: 6
Width: 11
Height: 14
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_RIGHT-4
Height: PARENT_BOTTOM-4
ClientTooltipRegion@CLIENT_REGION:
TooltipContainer: TOOLTIP_CONTAINER
Template: CLIENT_TOOLTIP
Width: 11
Height: 25
TextField@NAME:
Text: Name
X: 15
Width: 190
Height: 25
MaxLength: 16
Visible: false
DropDownButton@SLOT_OPTIONS:
Text: Name
X: 15
Width: 190
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
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: FACTION_DESCRIPTION_TOOLTIP
PanelRoot: FACTION_DROPDOWN_PANEL_ROOT # ensure that tooltips for the options are on top of the dropdown panel
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
DropDownButton@SPAWN:
X: 445
Width: 50
Height: 25
Font: Regular
Image@STATUS_IMAGE:
Visible: false
X: 495
Y: 4
Width: 20
Height: 20
ImageCollection: checkbox-bits
ImageName: checked
Checkbox@STATUS_CHECKBOX:
Visible: false
X: 501
Y: 2 Y: 2
Width: PARENT_RIGHT-4 Width: 20
Height: PARENT_BOTTOM-4 Height: 20
ClientTooltipRegion@CLIENT_REGION: Container@TEMPLATE_NONEDITABLE_PLAYER:
TooltipContainer: TOOLTIP_CONTAINER X: 5
Template: CLIENT_TOOLTIP
Width: 11
Height: 25
TextField@NAME:
Text: Name
X: 15
Width: 190
Height: 25
MaxLength: 16
Label@SPECTATOR:
Text: Spectator
Width: 315
Height: 25
X: 210
Y: 0 Y: 0
Align: Center Width: 530
Font: Bold Height: 25
Container@TEMPLATE_NONEDITABLE_SPECTATOR:
X: 5
Y: 0
Width: 530
Height: 25
Visible: false
Children:
Image@ADMIN_INDICATOR:
ImageCollection: lobby-bits
ImageName: admin
X: 2
Visible: false
Background@LATENCY:
Background: button
X: 0
Y: 6
Width: 11
Height: 14
Visible: false Visible: false
Children: Children:
ColorBlock@LATENCY_COLOR: Image@ADMIN_INDICATOR:
ImageCollection: lobby-bits
ImageName: admin
X: 2 X: 2
Visible: false
Background@LATENCY:
Background: button
X: 0
Y: 6
Width: 11
Height: 14
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_RIGHT-4
Height: PARENT_BOTTOM-4
ClientTooltipRegion@CLIENT_REGION:
TooltipContainer: TOOLTIP_CONTAINER
Template: CLIENT_TOOLTIP
Width: 11
Height: 25
Label@NAME:
X: 20
Y: 0-1
Width: 180
Height: 25
Button@KICK:
Width: 25
Height: 25
X: 180
Children:
Image:
ImageCollection: lobby-bits
ImageName: kick
X: 7
Y: 7
ColorBlock@COLORBLOCK:
X: 215
Y: 6
Width: 35
Height: 13
Container@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
Label@SPAWN:
Align: Center
Width: 25
Height: 25
X: 445
Y: 0
Image@STATUS_IMAGE:
Visible: false
X: 501
Y: 4
Width: 20
Height: 20
ImageCollection: checkbox-bits
ImageName: checked
Container@TEMPLATE_EMPTY:
X: 5
Y: 0
Width: 530
Height: 25
Visible: false
Children:
DropDownButton@SLOT_OPTIONS:
Text: Name
X: 15
Width: 190
Height: 25
Font: Regular
Visible: false
Label@NAME:
X: 20
Y: 0-1
Width: 195
Height: 25
Visible: false
Button@JOIN:
Text: Play in this slot
Font: Regular
Width: 312
Height: 25
X: 210
Y: 0
Container@TEMPLATE_EDITABLE_SPECTATOR:
X: 5
Y: 0
Width: 530
Height: 25
Visible: false
Children:
Image@ADMIN_INDICATOR:
ImageCollection: lobby-bits
ImageName: admin
X: 2
Visible: false
Background@LATENCY:
Background: button
X: 0
Y: 6
Width: 11
Height: 14
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_RIGHT-4
Height: PARENT_BOTTOM-4
ClientTooltipRegion@CLIENT_REGION:
TooltipContainer: TOOLTIP_CONTAINER
Template: CLIENT_TOOLTIP
Width: 11
Height: 25
TextField@NAME:
Text: Name
X: 15
Width: 190
Height: 25
MaxLength: 16
Label@SPECTATOR:
Text: Spectator
Width: 315
Height: 25
X: 210
Y: 0
Align: Center
Font: Bold
Container@TEMPLATE_NONEDITABLE_SPECTATOR:
X: 5
Y: 0
Width: 530
Height: 25
Visible: false
Children:
Image@ADMIN_INDICATOR:
ImageCollection: lobby-bits
ImageName: admin
X: 2
Visible: false
Background@LATENCY:
Background: button
X: 0
Y: 6
Width: 11
Height: 14
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_RIGHT-4
Height: PARENT_BOTTOM-4
ClientTooltipRegion@CLIENT_REGION:
TooltipContainer: TOOLTIP_CONTAINER
Template: CLIENT_TOOLTIP
Width: 11
Height: 25
Label@NAME:
X: 20
Y: 0-1
Width: 180
Height: 25
Button@KICK:
Text: X
Width: 25
Height: 23
X: 180
Y: 2 Y: 2
Width: PARENT_RIGHT-4 Font: Bold
Height: PARENT_BOTTOM-4 Label@SPECTATOR:
ClientTooltipRegion@CLIENT_REGION: Text: Spectator
TooltipContainer: TOOLTIP_CONTAINER Width: 315
Template: CLIENT_TOOLTIP Height: 25
Width: 11 X: 210
Height: 25 Y: 0
Label@NAME: Align: Center
X: 20 Font: Bold
Y: 0-1 Container@TEMPLATE_NEW_SPECTATOR:
Width: 180 X: 5
Height: 25
Button@KICK:
Text: X
Width: 25
Height: 23
X: 180
Y: 2
Font: Bold
Label@SPECTATOR:
Text: Spectator
Width: 315
Height: 25
X: 210
Y: 0 Y: 0
Align: Center Width: 529
Font: Bold
Container@TEMPLATE_NEW_SPECTATOR:
X: 5
Y: 0
Width: 529
Height: 25
Visible: false
Children:
Checkbox@TOGGLE_SPECTATORS:
Font: Regular
Width: 190
Height: 20
X: 15
Y: 0
Text: Allow Spectators?
Button@SPECTATE:
Text: Spectate
Font: Regular
Width: 312
Height: 25 Height: 25
X: 210 Visible: false
Y: 0 Children:
Checkbox@TOGGLE_SPECTATORS:
Font: Regular
Width: 190
Height: 20
X: 15
Y: 0
Text: Allow Spectators?
Button@SPECTATE:
Text: Spectate
Font: Regular
Width: 312
Height: 25
X: 210
Y: 0

View File

@@ -20,51 +20,6 @@ Container@SERVER_LOBBY:
Container@MAP_PREVIEW_ROOT: Container@MAP_PREVIEW_ROOT:
Width: PARENT_RIGHT Width: PARENT_RIGHT
Height: PARENT_BOTTOM Height: PARENT_BOTTOM
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@SPAWN:
X: 445
Width: 50
Height: 25
Text: Spawn
Align: Left
Font: Bold
Label@STATUS:
X: 501
Width: 20
Height: 25
Text: Ready
Align: Left
Font: Bold
Container@PLAYER_BIN_ROOT: Container@PLAYER_BIN_ROOT:
DropDownButton@SLOTS_DROPDOWNBUTTON: DropDownButton@SLOTS_DROPDOWNBUTTON:
X: 15 X: 15

View File

@@ -1,332 +1,382 @@
ScrollPanel@LOBBY_PLAYER_BIN: Container@LOBBY_PLAYER_BIN:
X: 20 Width: PARENT_RIGHT
Y: 67 Height: PARENT_BOTTOM
TopBottomSpacing: 5
ItemSpacing: 5
Width: 593
Height: 235
Children: Children:
Container@TEMPLATE_EDITABLE_PLAYER: Container@LABEL_CONTAINER:
X: 5 X: 25
Y: 0 Y: 40
Width: 475
Height: 25
Visible: false
Children: Children:
Image@ADMIN_INDICATOR: Label@LABEL_LOBBY_NAME:
ImageCollection: lobby-bits
ImageName: admin
X: 2
Visible: false
Container@LATENCY:
X: 0 X: 0
Y: 6 Width: 180
Width: 11
Height: 14
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_RIGHT-4
Height: PARENT_BOTTOM-4
ClientTooltipRegion@CLIENT_REGION:
TooltipContainer: TOOLTIP_CONTAINER
Template: CLIENT_TOOLTIP
Width: 11
Height: 25 Height: 25
TextField@NAME:
Text: Name Text: Name
X: 15 Align: Center
Width: 165 Font: Bold
Height: 25 Label@LABEL_LOBBY_COLOR:
MaxLength: 16
DropDownButton@SLOT_OPTIONS:
Text: Name
X: 15
Width: 165
Height: 25
Font: Regular
Visible: false
DropDownButton@COLOR:
X: 190 X: 190
Width: 80 Width: 80
Height: 25 Height: 25
IgnoreChildMouseOver: true Text: Color
Children: Align: Center
ColorBlock@COLORBLOCK: Font: Bold
X: 5 Label@LABEL_LOBBY_FACTION:
Y: 6
Width: PARENT_RIGHT-35
Height: PARENT_BOTTOM-12
DropDownButton@FACTION:
X: 280 X: 280
Width: 130 Width: 130
Height: 25 Height: 25
IgnoreChildMouseOver: true Text: Faction
TooltipContainer: TOOLTIP_CONTAINER Align: Center
TooltipTemplate: FACTION_DESCRIPTION_TOOLTIP Font: Bold
PanelRoot: FACTION_DROPDOWN_PANEL_ROOT # ensure that tooltips for the options are on top of the dropdown panel Label@LABEL_LOBBY_TEAM:
Children:
Image@FACTIONFLAG:
Width: 23
Height: 23
X: 4
Y: 2
Label@FACTIONNAME:
Text: Faction
Width: 70
Height: 25
X: 34
Y: 0
DropDownButton@TEAM:
X: 420 X: 420
Width: 48 Width: 48
Height: 25 Height: 25
Text: Team Text: Team
DropDownButton@SPAWN: Align: Center
Font: Bold
Label@LABEL_LOBBY_SPAWN:
X: 478 X: 478
Width: 48 Width: 48
Height: 25 Height: 25
Text: Spawn Text: Spawn
Checkbox@STATUS_CHECKBOX: Align: Center
Font: Bold
Label@LABEL_LOBBY_STATUS:
X: 535 X: 535
Y: 2
Width: 20 Width: 20
Height: 20
Visible: false
Image@STATUS_IMAGE:
X: 537
Y: 4
Width: 20
Height: 20
ImageCollection: checkbox-bits
ImageName: checked
Visible: false
Container@TEMPLATE_NONEDITABLE_PLAYER:
X: 5
Y: 0
Width: 475
Height: 25
Visible: false
Children:
Image@ADMIN_INDICATOR:
ImageCollection: lobby-bits
ImageName: admin
X: 2
Visible: false
Container@LATENCY:
X: 0
Y: 6
Width: 11
Height: 14
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_RIGHT-4
Height: PARENT_BOTTOM-4
ClientTooltipRegion@CLIENT_REGION:
TooltipContainer: TOOLTIP_CONTAINER
Template: CLIENT_TOOLTIP
Width: 11
Height: 25 Height: 25
Label@NAME: Text: Ready
Text: Name Align: Left
Width: 165
Height: 25
X: 20
Y: 0-1
Button@KICK:
Text: X
Width: 25
Height: 23
X: 155
Y: 2
Font: Bold Font: Bold
ColorBlock@COLORBLOCK: ScrollPanel@LOBBY_PLAYERS:
X: 195 X: 20
Y: 6 Y: 67
Width: 45 TopBottomSpacing: 5
Height: 13 ItemSpacing: 5
Container@FACTION: Width: 593
Width: 160 Height: 235
Height: 25 Children:
X: 280 Container@TEMPLATE_EDITABLE_PLAYER:
X: 5
Y: 0 Y: 0
Width: 475
Height: 25
Visible: false
Children: Children:
Image@FACTIONFLAG: Image@ADMIN_INDICATOR:
Width: 23 ImageCollection: lobby-bits
Height: 23 ImageName: admin
X: 4 X: 2
Y: 2 Visible: false
Label@FACTIONNAME: Container@LATENCY:
Text: Faction X: 0
Width: 60 Y: 6
Width: 11
Height: 14
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_RIGHT-4
Height: PARENT_BOTTOM-4
ClientTooltipRegion@CLIENT_REGION:
TooltipContainer: TOOLTIP_CONTAINER
Template: CLIENT_TOOLTIP
Width: 11
Height: 25 Height: 25
X: 34 TextField@NAME:
Text: Name
X: 15
Width: 165
Height: 25
MaxLength: 16
DropDownButton@SLOT_OPTIONS:
Text: Name
X: 15
Width: 165
Height: 25
Font: Regular
Visible: false
DropDownButton@COLOR:
X: 190
Width: 80
Height: 25
IgnoreChildMouseOver: true
Children:
ColorBlock@COLORBLOCK:
X: 5
Y: 6
Width: PARENT_RIGHT-35
Height: PARENT_BOTTOM-12
DropDownButton@FACTION:
X: 280
Width: 130
Height: 25
IgnoreChildMouseOver: true
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: FACTION_DESCRIPTION_TOOLTIP
PanelRoot: FACTION_DROPDOWN_PANEL_ROOT # ensure that tooltips for the options are on top of the dropdown panel
Children:
Image@FACTIONFLAG:
Width: 23
Height: 23
X: 4
Y: 2
Label@FACTIONNAME:
Text: Faction
Width: 70
Height: 25
X: 34
Y: 0
DropDownButton@TEAM:
X: 420
Width: 48
Height: 25
Text: Team
DropDownButton@SPAWN:
X: 478
Width: 48
Height: 25
Text: Spawn
Checkbox@STATUS_CHECKBOX:
X: 535
Y: 2
Width: 20
Height: 20
Visible: false
Image@STATUS_IMAGE:
X: 537
Y: 4
Width: 20
Height: 20
ImageCollection: checkbox-bits
ImageName: checked
Visible: false
Container@TEMPLATE_NONEDITABLE_PLAYER:
X: 5
Y: 0
Width: 475
Height: 25
Visible: false
Children:
Image@ADMIN_INDICATOR:
ImageCollection: lobby-bits
ImageName: admin
X: 2
Visible: false
Container@LATENCY:
X: 0
Y: 6
Width: 11
Height: 14
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_RIGHT-4
Height: PARENT_BOTTOM-4
ClientTooltipRegion@CLIENT_REGION:
TooltipContainer: TOOLTIP_CONTAINER
Template: CLIENT_TOOLTIP
Width: 11
Height: 25
Label@NAME:
Text: Name
Width: 165
Height: 25
X: 20
Y: 0-1
Button@KICK:
Text: X
Width: 25
Height: 23
X: 155
Y: 2
Font: Bold
ColorBlock@COLORBLOCK:
X: 195
Y: 6
Width: 45
Height: 13
Container@FACTION:
Width: 160
Height: 25
X: 280
Y: 0 Y: 0
Label@TEAM: Children:
Text: Team Image@FACTIONFLAG:
Width: 23 Width: 23
Height: 25 Height: 23
Align: Center X: 4
X: 420 Y: 2
Label@FACTIONNAME:
Text: Faction
Width: 60
Height: 25
X: 34
Y: 0
Label@TEAM:
Text: Team
Width: 23
Height: 25
Align: Center
X: 420
Y: 0
Label@SPAWN:
Align: Center
X: 478
Width: 23
Height: 25
Image@STATUS_IMAGE:
Visible: false
X: 537
Y: 4
Width: 20
Height: 20
ImageCollection: checkbox-bits
ImageName: checked
Container@TEMPLATE_EMPTY:
X: 5
Y: 0 Y: 0
Label@SPAWN: Width: 475
Align: Center
X: 478
Width: 23
Height: 25 Height: 25
Image@STATUS_IMAGE:
Visible: false
X: 537
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:
Label@NAME:
Text: Name
Width: 165
Height: 25
X: 20
Y: 0-1
DropDownButton@SLOT_OPTIONS:
Text: Name
Width: 165
Height: 25
X: 15
Y: 0
Visible: false
Button@JOIN:
Text: Play in this slot
Width: 336
Height: 25
X: 190
Y: 0
Container@TEMPLATE_EDITABLE_SPECTATOR:
X: 5
Y: 0
Width: 475
Height: 25
Visible: false
Children:
Image@ADMIN_INDICATOR:
ImageCollection: lobby-bits
ImageName: admin
X: 2
Visible: false
Container@LATENCY:
X: 0
Y: 6
Width: 11
Height: 14
Visible: false Visible: false
Children: Children:
ColorBlock@LATENCY_COLOR: Label@NAME:
X: 2 Text: Name
Y: 2 Width: 165
Width: PARENT_RIGHT-4 Height: 25
Height: PARENT_BOTTOM-4 X: 20
ClientTooltipRegion@CLIENT_REGION: Y: 0-1
TooltipContainer: TOOLTIP_CONTAINER DropDownButton@SLOT_OPTIONS:
Template: CLIENT_TOOLTIP Text: Name
Width: 11 Width: 165
Height: 25 Height: 25
TextField@NAME: X: 15
Text: Name Y: 0
X: 15 Visible: false
Width: 165 Button@JOIN:
Height: 25 Text: Play in this slot
MaxLength: 16 Width: 336
Label@SPECTATOR: Height: 25
Text: Spectator X: 190
Width: 336 Y: 0
Height: 25 Container@TEMPLATE_EDITABLE_SPECTATOR:
X: 190 X: 5
Y: 0 Y: 0
Align: Center Width: 475
Font: Bold Height: 25
Container@TEMPLATE_NONEDITABLE_SPECTATOR:
X: 5
Y: 0
Width: 475
Height: 25
Visible: false
Children:
Image@ADMIN_INDICATOR:
ImageCollection: lobby-bits
ImageName: admin
X: 2
Visible: false
Container@LATENCY:
X: 0
Y: 6
Width: 11
Height: 14
Visible: false Visible: false
Children: Children:
ColorBlock@LATENCY_COLOR: Image@ADMIN_INDICATOR:
ImageCollection: lobby-bits
ImageName: admin
X: 2 X: 2
Visible: false
Container@LATENCY:
X: 0
Y: 6
Width: 11
Height: 14
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_RIGHT-4
Height: PARENT_BOTTOM-4
ClientTooltipRegion@CLIENT_REGION:
TooltipContainer: TOOLTIP_CONTAINER
Template: CLIENT_TOOLTIP
Width: 11
Height: 25
TextField@NAME:
Text: Name
X: 15
Width: 165
Height: 25
MaxLength: 16
Label@SPECTATOR:
Text: Spectator
Width: 336
Height: 25
X: 190
Y: 0
Align: Center
Font: Bold
Container@TEMPLATE_NONEDITABLE_SPECTATOR:
X: 5
Y: 0
Width: 475
Height: 25
Visible: false
Children:
Image@ADMIN_INDICATOR:
ImageCollection: lobby-bits
ImageName: admin
X: 2
Visible: false
Container@LATENCY:
X: 0
Y: 6
Width: 11
Height: 14
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_RIGHT-4
Height: PARENT_BOTTOM-4
ClientTooltipRegion@CLIENT_REGION:
TooltipContainer: TOOLTIP_CONTAINER
Template: CLIENT_TOOLTIP
Width: 11
Height: 25
Label@NAME:
Text: Name
Width: 160
Height: 25
X: 20
Y: 0-1
Button@KICK:
Text: X
Width: 25
Height: 23
X: 155
Y: 2 Y: 2
Width: PARENT_RIGHT-4 Font: Bold
Height: PARENT_BOTTOM-4 Label@SPECTATOR:
ClientTooltipRegion@CLIENT_REGION: Text: Spectator
TooltipContainer: TOOLTIP_CONTAINER Width: 336
Template: CLIENT_TOOLTIP Height: 25
Width: 11 X: 190
Height: 25 Y: 0
Label@NAME: Align: Center
Text: Name Font: Bold
Width: 160 Container@TEMPLATE_NEW_SPECTATOR:
Height: 25 X: 5
X: 20
Y: 0-1
Button@KICK:
Text: X
Width: 25
Height: 23
X: 155
Y: 2
Font: Bold
Label@SPECTATOR:
Text: Spectator
Width: 336
Height: 25
X: 190
Y: 0 Y: 0
Align: Center Width: 475
Font: Bold
Container@TEMPLATE_NEW_SPECTATOR:
X: 5
Y: 0
Width: 475
Height: 25
Visible: false
Children:
Checkbox@TOGGLE_SPECTATORS:
Font: Regular
Width: 165
Height: 20
X: 15
Y: 0
Text: Allow Spectators?
Button@SPECTATE:
Text: Spectate
Font: Regular
Width: 336
Height: 25 Height: 25
X: 190 Visible: false
Y: 0 Children:
Checkbox@TOGGLE_SPECTATORS:
Font: Regular
Width: 165
Height: 20
X: 15
Y: 0
Text: Allow Spectators?
Button@SPECTATE:
Text: Spectate
Font: Regular
Width: 336
Height: 25
X: 190
Y: 0
ScrollPanel@FACTION_DROPDOWN_TEMPLATE: ScrollPanel@FACTION_DROPDOWN_TEMPLATE:
Width: DROPDOWN_WIDTH Width: DROPDOWN_WIDTH

View File

@@ -1,332 +1,382 @@
ScrollPanel@LOBBY_PLAYER_BIN: Container@LOBBY_PLAYER_BIN:
X: 20 Width: PARENT_RIGHT
Y: 67 Height: PARENT_BOTTOM
TopBottomSpacing: 5
ItemSpacing: 5
Width: 593
Height: 235
Children: Children:
Container@TEMPLATE_EDITABLE_PLAYER: Container@LABEL_CONTAINER:
X: 5 X: 25
Y: 0 Y: 40
Width: 475
Height: 25
Visible: false
Children: Children:
Image@ADMIN_INDICATOR: Label@LABEL_LOBBY_NAME:
ImageCollection: lobby-bits
ImageName: admin
X: 2
Visible: false
Container@LATENCY:
X: 0 X: 0
Y: 6 Width: 180
Width: 11
Height: 14
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_RIGHT-4
Height: PARENT_BOTTOM-4
ClientTooltipRegion@CLIENT_REGION:
TooltipContainer: TOOLTIP_CONTAINER
Template: CLIENT_TOOLTIP
Width: 11
Height: 25 Height: 25
TextField@NAME:
Text: Name Text: Name
X: 15 Align: Center
Width: 165 Font: Bold
Height: 25 Label@LABEL_LOBBY_COLOR:
MaxLength: 16
DropDownButton@SLOT_OPTIONS:
Text: Name
X: 15
Width: 165
Height: 25
Font: Regular
Visible: false
DropDownButton@COLOR:
X: 190 X: 190
Width: 80 Width: 80
Height: 25 Height: 25
IgnoreChildMouseOver: true Text: Color
Children: Align: Center
ColorBlock@COLORBLOCK: Font: Bold
X: 5 Label@LABEL_LOBBY_FACTION:
Y: 6
Width: PARENT_RIGHT-35
Height: PARENT_BOTTOM-12
DropDownButton@FACTION:
X: 280 X: 280
Width: 130 Width: 130
Height: 25 Height: 25
IgnoreChildMouseOver: true Text: Faction
TooltipContainer: TOOLTIP_CONTAINER Align: Center
TooltipTemplate: FACTION_DESCRIPTION_TOOLTIP Font: Bold
PanelRoot: FACTION_DROPDOWN_PANEL_ROOT # ensure that tooltips for the options are on top of the dropdown panel Label@LABEL_LOBBY_TEAM:
Children:
Image@FACTIONFLAG:
Width: 30
Height: 15
X: 5
Y: 5
Label@FACTIONNAME:
Text: Faction
Width: 60
Height: 25
X: 40
Y: 0
DropDownButton@TEAM:
X: 420 X: 420
Width: 48 Width: 48
Height: 25 Height: 25
Text: Team Text: Team
DropDownButton@SPAWN: Align: Center
Font: Bold
Label@LABEL_LOBBY_SPAWN:
X: 478 X: 478
Width: 48 Width: 48
Height: 25 Height: 25
Text: Spawn Text: Spawn
Checkbox@STATUS_CHECKBOX: Align: Center
Font: Bold
Label@LABEL_LOBBY_STATUS:
X: 535 X: 535
Y: 2
Width: 20 Width: 20
Height: 20
Visible: false
Image@STATUS_IMAGE:
X: 537
Y: 4
Width: 20
Height: 20
ImageCollection: checkbox-bits
ImageName: checked
Visible: false
Container@TEMPLATE_NONEDITABLE_PLAYER:
X: 5
Y: 0
Width: 475
Height: 25
Visible: false
Children:
Image@ADMIN_INDICATOR:
ImageCollection: lobby-bits
ImageName: admin
X: 2
Visible: false
Container@LATENCY:
X: 0
Y: 6
Width: 11
Height: 14
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_RIGHT-4
Height: PARENT_BOTTOM-4
ClientTooltipRegion@CLIENT_REGION:
TooltipContainer: TOOLTIP_CONTAINER
Template: CLIENT_TOOLTIP
Width: 11
Height: 25 Height: 25
Label@NAME: Text: Ready
Text: Name Align: Left
Width: 165
Height: 25
X: 20
Y: 0-1
Button@KICK:
Text: X
Width: 25
Height: 23
X: 155
Y: 2
Font: Bold Font: Bold
ColorBlock@COLORBLOCK: ScrollPanel@LOBBY_PLAYERS:
X: 195 X: 20
Y: 6 Y: 67
Width: 45 TopBottomSpacing: 5
Height: 13 ItemSpacing: 5
Container@FACTION: Width: 593
Width: 160 Height: 235
Height: 25 Children:
X: 280 Container@TEMPLATE_EDITABLE_PLAYER:
X: 5
Y: 0 Y: 0
Width: 475
Height: 25
Visible: false
Children: Children:
Image@FACTIONFLAG: Image@ADMIN_INDICATOR:
Width: 30 ImageCollection: lobby-bits
Height: 15 ImageName: admin
X: 5 X: 2
Y: 5 Visible: false
Label@FACTIONNAME: Container@LATENCY:
Text: Faction X: 0
Width: 60 Y: 6
Width: 11
Height: 14
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_RIGHT-4
Height: PARENT_BOTTOM-4
ClientTooltipRegion@CLIENT_REGION:
TooltipContainer: TOOLTIP_CONTAINER
Template: CLIENT_TOOLTIP
Width: 11
Height: 25 Height: 25
X: 40 TextField@NAME:
Text: Name
X: 15
Width: 165
Height: 25
MaxLength: 16
DropDownButton@SLOT_OPTIONS:
Text: Name
X: 15
Width: 165
Height: 25
Font: Regular
Visible: false
DropDownButton@COLOR:
X: 190
Width: 80
Height: 25
IgnoreChildMouseOver: true
Children:
ColorBlock@COLORBLOCK:
X: 5
Y: 6
Width: PARENT_RIGHT-35
Height: PARENT_BOTTOM-12
DropDownButton@FACTION:
X: 280
Width: 130
Height: 25
IgnoreChildMouseOver: true
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: FACTION_DESCRIPTION_TOOLTIP
PanelRoot: FACTION_DROPDOWN_PANEL_ROOT # ensure that tooltips for the options are on top of the dropdown panel
Children:
Image@FACTIONFLAG:
Width: 30
Height: 15
X: 5
Y: 5
Label@FACTIONNAME:
Text: Faction
Width: 60
Height: 25
X: 40
Y: 0
DropDownButton@TEAM:
X: 420
Width: 48
Height: 25
Text: Team
DropDownButton@SPAWN:
X: 478
Width: 48
Height: 25
Text: Spawn
Checkbox@STATUS_CHECKBOX:
X: 535
Y: 2
Width: 20
Height: 20
Visible: false
Image@STATUS_IMAGE:
X: 537
Y: 4
Width: 20
Height: 20
ImageCollection: checkbox-bits
ImageName: checked
Visible: false
Container@TEMPLATE_NONEDITABLE_PLAYER:
X: 5
Y: 0
Width: 475
Height: 25
Visible: false
Children:
Image@ADMIN_INDICATOR:
ImageCollection: lobby-bits
ImageName: admin
X: 2
Visible: false
Container@LATENCY:
X: 0
Y: 6
Width: 11
Height: 14
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_RIGHT-4
Height: PARENT_BOTTOM-4
ClientTooltipRegion@CLIENT_REGION:
TooltipContainer: TOOLTIP_CONTAINER
Template: CLIENT_TOOLTIP
Width: 11
Height: 25
Label@NAME:
Text: Name
Width: 165
Height: 25
X: 20
Y: 0-1
Button@KICK:
Text: X
Width: 25
Height: 23
X: 155
Y: 2
Font: Bold
ColorBlock@COLORBLOCK:
X: 195
Y: 6
Width: 45
Height: 13
Container@FACTION:
Width: 160
Height: 25
X: 280
Y: 0 Y: 0
Label@TEAM: Children:
Text: Team Image@FACTIONFLAG:
Width: 23 Width: 30
Height: 25 Height: 15
Align: Center X: 5
X: 420 Y: 5
Label@FACTIONNAME:
Text: Faction
Width: 60
Height: 25
X: 40
Y: 0
Label@TEAM:
Text: Team
Width: 23
Height: 25
Align: Center
X: 420
Y: 0
Label@SPAWN:
Align: Center
X: 478
Width: 23
Height: 25
Image@STATUS_IMAGE:
Visible: false
X: 537
Y: 4
Width: 20
Height: 20
ImageCollection: checkbox-bits
ImageName: checked
Container@TEMPLATE_EMPTY:
X: 5
Y: 0 Y: 0
Label@SPAWN: Width: 475
Align: Center
X: 478
Width: 23
Height: 25 Height: 25
Image@STATUS_IMAGE:
Visible: false
X: 537
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:
Label@NAME:
Text: Name
Width: 165
Height: 25
X: 20
Y: 0-1
DropDownButton@SLOT_OPTIONS:
Text: Name
Width: 165
Height: 25
X: 15
Y: 0
Visible: false
Button@JOIN:
Text: Play in this slot
Width: 336
Height: 25
X: 190
Y: 0
Container@TEMPLATE_EDITABLE_SPECTATOR:
X: 5
Y: 0
Width: 475
Height: 25
Visible: false
Children:
Image@ADMIN_INDICATOR:
ImageCollection: lobby-bits
ImageName: admin
X: 2
Visible: false
Container@LATENCY:
X: 0
Y: 6
Width: 11
Height: 14
Visible: false Visible: false
Children: Children:
ColorBlock@LATENCY_COLOR: Label@NAME:
X: 2 Text: Name
Y: 2 Width: 165
Width: PARENT_RIGHT-4 Height: 25
Height: PARENT_BOTTOM-4 X: 20
ClientTooltipRegion@CLIENT_REGION: Y: 0-1
TooltipContainer: TOOLTIP_CONTAINER DropDownButton@SLOT_OPTIONS:
Template: CLIENT_TOOLTIP Text: Name
Width: 11 Width: 165
Height: 25 Height: 25
TextField@NAME: X: 15
Text: Name Y: 0
X: 15 Visible: false
Width: 165 Button@JOIN:
Height: 25 Text: Play in this slot
MaxLength: 16 Width: 336
Label@SPECTATOR: Height: 25
Text: Spectator X: 190
Width: 336 Y: 0
Height: 25 Container@TEMPLATE_EDITABLE_SPECTATOR:
X: 190 X: 5
Y: 0 Y: 0
Align: Center Width: 475
Font: Bold Height: 25
Container@TEMPLATE_NONEDITABLE_SPECTATOR:
X: 5
Y: 0
Width: 475
Height: 25
Visible: false
Children:
Image@ADMIN_INDICATOR:
ImageCollection: lobby-bits
ImageName: admin
X: 2
Visible: false
Container@LATENCY:
X: 0
Y: 6
Width: 11
Height: 14
Visible: false Visible: false
Children: Children:
ColorBlock@LATENCY_COLOR: Image@ADMIN_INDICATOR:
ImageCollection: lobby-bits
ImageName: admin
X: 2 X: 2
Visible: false
Container@LATENCY:
X: 0
Y: 6
Width: 11
Height: 14
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_RIGHT-4
Height: PARENT_BOTTOM-4
ClientTooltipRegion@CLIENT_REGION:
TooltipContainer: TOOLTIP_CONTAINER
Template: CLIENT_TOOLTIP
Width: 11
Height: 25
TextField@NAME:
Text: Name
X: 15
Width: 165
Height: 25
MaxLength: 16
Label@SPECTATOR:
Text: Spectator
Width: 336
Height: 25
X: 190
Y: 0
Align: Center
Font: Bold
Container@TEMPLATE_NONEDITABLE_SPECTATOR:
X: 5
Y: 0
Width: 475
Height: 25
Visible: false
Children:
Image@ADMIN_INDICATOR:
ImageCollection: lobby-bits
ImageName: admin
X: 2
Visible: false
Container@LATENCY:
X: 0
Y: 6
Width: 11
Height: 14
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_RIGHT-4
Height: PARENT_BOTTOM-4
ClientTooltipRegion@CLIENT_REGION:
TooltipContainer: TOOLTIP_CONTAINER
Template: CLIENT_TOOLTIP
Width: 11
Height: 25
Label@NAME:
Text: Name
Width: 160
Height: 25
X: 20
Y: 0-1
Button@KICK:
Text: X
Width: 25
Height: 23
X: 155
Y: 2 Y: 2
Width: PARENT_RIGHT-4 Font: Bold
Height: PARENT_BOTTOM-4 Label@SPECTATOR:
ClientTooltipRegion@CLIENT_REGION: Text: Spectator
TooltipContainer: TOOLTIP_CONTAINER Width: 336
Template: CLIENT_TOOLTIP Height: 25
Width: 11 X: 190
Height: 25 Y: 0
Label@NAME: Align: Center
Text: Name Font: Bold
Width: 160 Container@TEMPLATE_NEW_SPECTATOR:
Height: 25 X: 5
X: 20
Y: 0-1
Button@KICK:
Text: X
Width: 25
Height: 23
X: 155
Y: 2
Font: Bold
Label@SPECTATOR:
Text: Spectator
Width: 336
Height: 25
X: 190
Y: 0 Y: 0
Align: Center Width: 475
Font: Bold
Container@TEMPLATE_NEW_SPECTATOR:
X: 5
Y: 0
Width: 475
Height: 25
Visible: false
Children:
Checkbox@TOGGLE_SPECTATORS:
Font: Regular
Width: 165
Height: 20
X: 15
Y: 0
Text: Allow Spectators?
Button@SPECTATE:
Text: Spectate
Font: Regular
Width: 336
Height: 25 Height: 25
X: 190 Visible: false
Y: 0 Children:
Checkbox@TOGGLE_SPECTATORS:
Font: Regular
Width: 165
Height: 20
X: 15
Y: 0
Text: Allow Spectators?
Button@SPECTATE:
Text: Spectate
Font: Regular
Width: 336
Height: 25
X: 190
Y: 0
ScrollPanel@FACTION_DROPDOWN_TEMPLATE: ScrollPanel@FACTION_DROPDOWN_TEMPLATE:
Width: DROPDOWN_WIDTH Width: DROPDOWN_WIDTH

View File

@@ -16,52 +16,6 @@ Background@SERVER_LOBBY:
Container@MAP_PREVIEW_ROOT: Container@MAP_PREVIEW_ROOT:
Width: PARENT_RIGHT Width: PARENT_RIGHT
Height: PARENT_BOTTOM Height: PARENT_BOTTOM
Container@LABEL_CONTAINER:
X: 25
Y: 40
Children:
Label@LABEL_LOBBY_NAME:
X: 0
Width: 180
Height: 25
Text: Name
Align: Center
Font: Bold
Label@LABEL_LOBBY_COLOR:
X: 190
Width: 80
Height: 25
Text: Color
Align: Center
Font: Bold
Label@LABEL_LOBBY_FACTION:
X: 280
Width: 130
Height: 25
Text: Faction
Align: Center
Font: Bold
Label@LABEL_LOBBY_TEAM:
X: 420
Width: 48
Height: 25
Text: Team
Align: Center
Font: Bold
Label@LABEL_LOBBY_SPAWN:
X: 478
Width: 48
Height: 25
Text: Spawn
Align: Center
Font: Bold
Label@LABEL_LOBBY_STATUS:
X: 535
Width: 20
Height: 25
Text: Ready
Align: Left
Font: Bold
Container@PLAYER_BIN_ROOT: Container@PLAYER_BIN_ROOT:
DropDownButton@SLOTS_DROPDOWNBUTTON: DropDownButton@SLOTS_DROPDOWNBUTTON:
X: 20 X: 20