21 layoutRoot =
GetGame().GetWorkspace().CreateWidgets(
"gui/layouts/help_screen.layout");
22 m_KeyBindingsTextListboxWidget =
TextListboxWidget.Cast(layoutRoot.FindAnyWidget(
"KeyBindingsTextListboxWidget"));
23 m_MouseBindingsTextListboxWidget =
TextListboxWidget.Cast(layoutRoot.FindAnyWidget(
"MouseBindingsTextListboxWidget"));
28 m_KeyBindingsTextListboxWidget.AddItem(
keybindings.Get(
i).GetInfoBind(),
NULL, 0);
29 m_KeyBindingsTextListboxWidget.SetItem(
i,
keybindings.Get(
i).GetInfoDescription(),
NULL, 1);
36 m_MouseBindingsTextListboxWidget.SetItem(
i,
mousebindings.Get(
i).GetInfoDescription(),
NULL, 1);
39 m_CloseConsoleButton =
ButtonWidget.Cast(layoutRoot.FindAnyWidget(
"CloseButtonWidget"));