Add chat tab to multiplayer/replays ingame menu

This commit is contained in:
rob-v
2017-05-30 22:43:27 +02:00
committed by Paul Chote
parent daee217431
commit c848b30e9e
12 changed files with 206 additions and 35 deletions

View File

@@ -39,6 +39,12 @@ Container@GAME_INFO_PANEL:
Width: 140
Height: 35
Visible: False
Button@BUTTON4:
X: 450
Y: 5
Width: 140
Height: 35
Visible: False
Background@BACKGROUND:
Y: 39
Width: PARENT_RIGHT
@@ -54,3 +60,6 @@ Container@GAME_INFO_PANEL:
Container@DEBUG_PANEL:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Container@CHAT_PANEL:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM

View File

@@ -0,0 +1,46 @@
Container@CHAT_CONTAINER:
Y: 10
Width: PARENT_RIGHT
Height: PARENT_BOTTOM - 20
Logic: IngameChatLogic
Children:
Container@CHAT_CHROME:
X: 15
Width: PARENT_RIGHT - 30
Height: PARENT_BOTTOM
Children:
Button@CHAT_MODE:
Y: PARENT_BOTTOM - HEIGHT
Width: 50
Height: 25
Text: Team
Font: Bold
TextField@CHAT_TEXTFIELD:
X: 55
Y: PARENT_BOTTOM - HEIGHT
Width: PARENT_RIGHT - 55
Height: 25
ScrollPanel@CHAT_SCROLLPANEL:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM - 30
TopBottomSpacing: 2
ItemSpacing: 2
Children:
Container@CHAT_TEMPLATE:
X: 2
Width: PARENT_RIGHT - 27
Height: 16
Children:
Label@NAME:
X: 3
Width: 50
Height: 15
VAlign: Top
Shadow: True
Label@TEXT:
X: 12
Width: PARENT_RIGHT - 17
Height: 15
WordWrap: true
VAlign: Top
Shadow: True

View File

@@ -109,6 +109,7 @@ ChromeLayout:
cnc|chrome/ingame-chat.yaml
cnc|chrome/ingame-menu.yaml
cnc|chrome/ingame-debug.yaml
cnc|chrome/ingame-infochat.yaml
cnc|chrome/ingame-info.yaml
cnc|chrome/ingame-infobriefing.yaml
cnc|chrome/ingame-infoscripterror.yaml

View File

@@ -50,6 +50,13 @@ Container@GAME_INFO_PANEL:
Height: 25
Font: Bold
Visible: False
Button@BUTTON4:
X: 360
Y: 50
Width: 120
Height: 25
Font: Bold
Visible: False
Container@STATS_PANEL:
Y: 65
Container@MAP_PANEL:
@@ -63,3 +70,7 @@ Container@GAME_INFO_PANEL:
Y: 65
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Container@CHAT_PANEL:
Y: 65
Width: PARENT_RIGHT
Height: PARENT_BOTTOM

View File

@@ -0,0 +1,46 @@
Container@CHAT_CONTAINER:
Y: 20
Width: PARENT_RIGHT
Height: PARENT_BOTTOM - 100
Logic: IngameChatLogic
Children:
Container@CHAT_CHROME:
X: 20
Width: PARENT_RIGHT - 40
Height: PARENT_BOTTOM
Children:
Button@CHAT_MODE:
Y: PARENT_BOTTOM - HEIGHT
Width: 50
Height: 25
Text: Team
Font: Bold
TextField@CHAT_TEXTFIELD:
X: 55
Y: PARENT_BOTTOM - HEIGHT
Width: PARENT_RIGHT - 55
Height: 25
ScrollPanel@CHAT_SCROLLPANEL:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM - 30
TopBottomSpacing: 2
ItemSpacing: 2
Children:
Container@CHAT_TEMPLATE:
X: 2
Width: PARENT_RIGHT - 27
Height: 16
Children:
Label@NAME:
X: 3
Width: 50
Height: 15
VAlign: Top
Shadow: True
Label@TEXT:
X: 12
Width: PARENT_RIGHT - 17
Height: 15
WordWrap: true
VAlign: Top
Shadow: True

View File

@@ -78,6 +78,7 @@ ChromeLayout:
d2k|chrome/ingame-player.yaml
common|chrome/ingame-perf.yaml
common|chrome/ingame-debug.yaml
common|chrome/ingame-infochat.yaml
d2k|chrome/mainmenu.yaml
common|chrome/settings.yaml
common|chrome/credits.yaml

View File

@@ -93,6 +93,7 @@ ChromeLayout:
ra|chrome/ingame-player.yaml
common|chrome/ingame-perf.yaml
common|chrome/ingame-debug.yaml
common|chrome/ingame-infochat.yaml
common|chrome/mainmenu.yaml
common|chrome/settings.yaml
common|chrome/credits.yaml

View File

@@ -50,6 +50,13 @@ Container@GAME_INFO_PANEL:
Height: 25
Font: Bold
Visible: False
Button@BUTTON4:
X: 360
Y: 50
Width: 120
Height: 25
Font: Bold
Visible: False
Container@STATS_PANEL:
Y: 65
Container@MAP_PANEL:
@@ -63,3 +70,7 @@ Container@GAME_INFO_PANEL:
Y: 65
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Container@CHAT_PANEL:
Y: 65
Width: PARENT_RIGHT
Height: PARENT_BOTTOM

View File

@@ -140,6 +140,7 @@ ChromeLayout:
ts|chrome/ingame-player.yaml
common|chrome/ingame-perf.yaml
ts|chrome/ingame-debug.yaml
common|chrome/ingame-infochat.yaml
common|chrome/mainmenu.yaml
ts|chrome/mainmenu-prerelease-notification.yaml
common|chrome/settings.yaml