13 m_ModButton =
ButtonWidget.Cast(
GetGame().GetWorkspace().CreateWidgets(
"gui/layouts/new_ui/mods_menu/mods_menu_simple_entry.layout", parent));
14 m_Icon =
ImageWidget.Cast(m_ModButton.FindAnyWidget(
"Icon"));
15 m_Hover = m_ModButton.FindAnyWidget(
"Overlay");
19 m_ModButton.SetSort(
index);
20 m_ModButton.SetHandler(
this);
36 m_Icon.LoadImageFile(0,
logo);
51 m_ParentMenu.Select(
m_Data);
static const string DEFAULT_LOGO
static const string DEFAULT_LOGO_OVER
proto native CGame GetGame()