DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ AddSubgroup()

void array::AddSubgroup ( int sort_index,
Widget parent,
Input input )
inlineprotected

См. определение в файле KeybindingsContainer.c строка 55

56 {
57 Widget subgroup = g_Game.GetWorkspace().CreateWidgets( "gui/layouts/new_ui/options/keybindings_selectors/keybinding_subgroup.layout", parent );
58 Widget subgroup_content = subgroup.FindAnyWidget( "subgroup_content" );
59
62 {
63 input_actions = InputUtils.GetInputActionSortingMap().Get(sort_index);
64 }
65 else
66 {
67 input_actions = InputUtils.GetUnsortedInputActions();
68 }
69
70 for (int i = 0; i < input_actions.Count(); i++)
71 {
73 }
74
75 m_Subgroups.Insert(subgroup);
76
78 }
ref array< Widget > m_Subgroups
Определения KeybindingsContainer.c:13
void AddElement(int index, Widget parent, Input input)
Определения KeybindingsContainer.c:100
void Update(float timeslice)
Определения KeybindingsContainer.c:250
const int NO_SORTING
Определения KeybindingsContainer.c:4
Result for an object found in CGame.IsBoxCollidingGeometryProxy.