Display lobby options in-game on a dedicated tab

This commit is contained in:
Ivaylo Draganov
2021-02-08 19:14:32 +02:00
committed by Paul Chote
parent fc5f8fcd31
commit 3e0834b4ef
10 changed files with 129 additions and 10 deletions

View File

@@ -0,0 +1,48 @@
Container@LOBBY_OPTIONS_PANEL:
Height: PARENT_BOTTOM
Width: PARENT_RIGHT
Children:
ScrollPanel:
Logic: LobbyOptionsLogic
X: 15
Y: 15
Width: 482
Height: 345
Children:
Container@LOBBY_OPTIONS:
X: 18
Y: 9
Width: PARENT_RIGHT - 24 - 18
Children:
Container@CHECKBOX_ROW_TEMPLATE:
Height: 34
Children:
Checkbox@A:
Width: 220
Height: 20
Font: Regular
Visible: False
TooltipContainer: TOOLTIP_CONTAINER
Checkbox@B:
X: 225
Width: 220
Height: 20
Font: Regular
Visible: False
TooltipContainer: TOOLTIP_CONTAINER
Container@DROPDOWN_ROW_TEMPLATE:
Height: 34
Width: PARENT_RIGHT
Children:
Label@A_DESC:
Width: 140
Height: 25
Align: Right
Visible: False
DropDownButton@A:
X: 145
Width: 180
Height: 25
Font: Regular
Visible: False
TooltipContainer: TOOLTIP_CONTAINER

View File

@@ -116,3 +116,6 @@ Container@GAME_INFO_PANEL:
Container@CHAT_PANEL:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Container@LOBBY_OPTIONS_PANEL:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM

View File

@@ -8,20 +8,20 @@ Container@SKIRMISH_STATS:
Children:
Label@MISSION:
X: 15
Y: 12
Width: 85
Height: 25
Y: 17
Width: 80
Height: 20
Font: MediumBold
Text: Mission:
Label@STATS_STATUS:
X: 100
Y: 12
Width: PARENT_RIGHT - 10
Height: 25
X: 95
Y: 17
Width: PARENT_RIGHT - 110
Height: 20
Font: MediumBold
Checkbox@STATS_CHECKBOX:
X: 15
Y: 45
Y: 50
Width: 482
Height: 20
Font: Bold

View File

@@ -123,6 +123,7 @@ ChromeLayout:
cnc|chrome/ingame-infoscripterror.yaml
cnc|chrome/ingame-infoobjectives.yaml
cnc|chrome/ingame-infostats.yaml
cnc|chrome/ingame-info-lobby-options.yaml
cnc|chrome/ingame-debuginfo.yaml
cnc|chrome/music.yaml
cnc|chrome/settings.yaml