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

@@ -27,7 +27,7 @@ namespace OpenRA.Mods.Common.Widgets
public string ChatTemplate = "CHAT_LINE_TEMPLATE";
public string SystemTemplate = "SYSTEM_LINE_TEMPLATE";
public string MissionTemplate = "SYSTEM_LINE_TEMPLATE";
public string FeedbackTemplate = "SYSTEM_LINE_TEMPLATE";
public string FeedbackTemplate = "TRANSIENT_LINE_TEMPLATE";
readonly Dictionary<TextNotificationPool, Widget> templates = new Dictionary<TextNotificationPool, Widget>();
readonly List<int> expirations = new List<int>();