Add a transients panel with corresponding chrome logic and a notification template

This commit is contained in:
Ivaylo Draganov
2021-06-16 19:06:15 +03:00
committed by Matthias Mailänder
parent 9e92340ea7
commit 01d47566cc
20 changed files with 155 additions and 38 deletions

View File

@@ -10,7 +10,6 @@ Container@CHAT_PANEL:
Chat: CHAT_LINE_TEMPLATE
System: SYSTEM_LINE_TEMPLATE
Mission: SYSTEM_LINE_TEMPLATE
Feedback: SYSTEM_LINE_TEMPLATE
Children:
Container@CHAT_OVERLAY:
Width: PARENT_RIGHT - 24

View File

@@ -7,7 +7,6 @@ Container@CHAT_CONTAINER:
Chat: CHAT_LINE_TEMPLATE
System: SYSTEM_LINE_TEMPLATE
Mission: SYSTEM_LINE_TEMPLATE
Feedback: SYSTEM_LINE_TEMPLATE
Children:
Container@CHAT_CHROME:
X: 20

View File

@@ -11,7 +11,7 @@ Container@PERF_WIDGETS:
ClickThrough: true
Background: dialog4
X: 10
Y: WINDOW_BOTTOM - 265
Y: WINDOW_BOTTOM - HEIGHT - 156
Width: 210
Height: 210
Children:

View File

@@ -0,0 +1,13 @@
Container@TRANSIENTS_PANEL:
X: 5
Y: WINDOW_BOTTOM - HEIGHT - 55
Width: 550
Height: 80
Logic: IngameTransientNotificationsLogic
Children:
TextNotificationsDisplay@TRANSIENTS_DISPLAY:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
RemoveTime: 100
LogLength: 5
HideOverflow: False

View File

@@ -4,7 +4,7 @@ Background@SERVER_LOBBY:
Chat: CHAT_LINE_TEMPLATE
System: SYSTEM_LINE_TEMPLATE
Mission: SYSTEM_LINE_TEMPLATE
Feedback: SYSTEM_LINE_TEMPLATE
Feedback: TRANSIENT_LINE_TEMPLATE
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - HEIGHT) / 2
Width: 900

View File

@@ -116,7 +116,7 @@ Container@DISPLAY_PANEL:
Width: 200
Height: 20
Font: Regular
Text: UI Feedback in Chat
Text: UI Feedback in Transients Panel
Label@VIDEO_TITLE:
Y: 190
Width: PARENT_RIGHT

View File

@@ -37,3 +37,19 @@ Container@SYSTEM_LINE_TEMPLATE:
WordWrap: True
Shadow: True
TextColor: FFFF00
Container@TRANSIENT_LINE_TEMPLATE:
Width: PARENT_RIGHT
Height: 16
Children:
Label@TIME:
X: 5
Width: 37
Height: 16
Shadow: True
Label@TEXT:
X: 5
Height: 16
WordWrap: True
Shadow: True
TextColor: AFEEEE