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