6 static const ResourceName s_sLayout =
"{28C54D576A8997CF}UI/layouts/HUD/Chat/ChatPanel.layout";
7 ResourceName GetLayout() {
return s_sLayout; }
9 VerticalLayoutWidget m_MessageHistory;
11 OverlayWidget m_EditOverlay;
13 ImageWidget m_EditBackgroundImage;
15 TextWidget m_ChannelTagOverlay;
17 ImageWidget m_ChannelTypeImage;
19 EditBoxWidget m_MessageEditBox;
23 HorizontalLayoutWidget m_WarningChannelMessage;
25 ImageWidget m_WarningImage;
27 TextWidget m_WarningText;
29 TextWidget m_ChannelTagEditor;
31 bool Init(Widget root)
33 m_MessageHistory = VerticalLayoutWidget.Cast(root.FindWidget(
"OverlayAlignTop.m_MessageHistory"));
35 m_EditOverlay = OverlayWidget.Cast(root.FindWidget(
"OverlayAlignTop.m_MessageHistory.m_EditOverlay"));
37 m_EditBackgroundImage = ImageWidget.Cast(root.FindWidget(
"OverlayAlignTop.m_MessageHistory.m_EditOverlay.EditLayoutBar.m_EditBackgroundImage"));
39 m_ChannelTagOverlay = TextWidget.Cast(root.FindWidget(
"OverlayAlignTop.m_MessageHistory.m_EditOverlay.EditLayoutBar.m_ChannelTagOverlay"));
41 m_ChannelTypeImage = ImageWidget.Cast(root.FindWidget(
"OverlayAlignTop.m_MessageHistory.m_EditOverlay.EditLayoutBar.MessageEditor.m_ChannelTypeImage"));
43 m_MessageEditBox = EditBoxWidget.Cast(root.FindWidget(
"OverlayAlignTop.m_MessageHistory.m_EditOverlay.EditLayoutBar.MessageEditor.Width.m_MessageEditBox"));
47 m_WarningChannelMessage = HorizontalLayoutWidget.Cast(root.FindWidget(
"OverlayAlignTop.m_MessageHistory.m_EditOverlay.EditLayoutBar.MessageEditor.m_WarningChannelMessage"));
49 m_WarningImage = ImageWidget.Cast(root.FindWidget(
"OverlayAlignTop.m_MessageHistory.m_EditOverlay.EditLayoutBar.MessageEditor.m_WarningChannelMessage.m_WarningImage"));
51 m_WarningText = TextWidget.Cast(root.FindWidget(
"OverlayAlignTop.m_MessageHistory.m_EditOverlay.EditLayoutBar.MessageEditor.m_WarningChannelMessage.m_WarningText"));
53 m_ChannelTagEditor = TextWidget.Cast(root.FindWidget(
"OverlayAlignTop.m_MessageHistory.m_EditOverlay.EditLayoutBar.MessageEditor.m_ChannelTagEditor"));