13 layoutRoot =
GetGame().GetWorkspace().CreateWidgets(
"gui/layouts/day_z_options_controls_preset.layout");
15 m_schemes_list =
TextListboxWidget.Cast(layoutRoot.FindAnyWidget(
"PresetListboxWidget"));
17 int c =
GetGame().GetInput().GetProfilesCount();
18 for (
int i = 0;
i <
c;
i++)
22 m_schemes_list.AddItem(
tmp,
NULL, 0);
25 i =
GetGame().GetInput().GetCurrentProfile();
27 m_schemes_list.SelectRow(
i);