19 m_Root =
GetGame().GetWorkspace().CreateWidgets(
"gui/layouts/new_ui/mods_menu/mods_menu_detailed.layout", parent);
20 m_Content =
m_Root.FindAnyWidget(
"ModsDetailedContent");
41 m_Scroll.VScrollToPos(0);
43 GetGame().GetMission().GetOnModMenuVisibilityChanged().Invoke(
false);
50 GetGame().GetMission().GetOnModMenuVisibilityChanged().Invoke(
true);
131 m_Highlighted =
null;
146 m_TooltipTimer.Run(1,
this,
"ShowTooltip");
153 m_Tooltip.ShowTooltip(m_TooltipMod);
159 m_TooltipTimer.Stop();
163 m_Tooltip.HideTooltip();
175 float y_c = m_Scroll.GetContentHeight();
177 m_Content.GetScreenSize(
x,
y);
179 m_Scroll.SetAlpha(1);
ButtonWidget m_CloseButton
ServerBrowserMenuNew m_Menu
proto native CGame GetGame()
proto string Get(int index)
Gets n-th character from string.
proto void Insert(int index, string input)
Inserts a string into the n-th index, increasing the string length by the size of the input.