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

◆ UpdateLayout()

void HorizontalSpacerWithFixedAspect::UpdateLayout ( )
inlineprotected

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

26 {
27 Widget child = m_root.GetChildren();
28
29 int index = 0;
30 while (child)
31 {
32 if( index == 0 )
33 {
34 child.GetScreenSize(itemWidth, itemHeight);
35 }
36 else
37 {
38 child.SetFlags( WidgetFlags.EXACTPOS, false);
39 child.SetPos(itemWidth+(itemWidth*coef), 0);
40 }
41
42 index++;
43 child = child.GetSibling();
44 }
45 }
WidgetFlags
Определения EnWidgets.c:58
WorkspaceWidget Widget
Defined in code.

Перекрестные ссылки coef, itemHeight, itemWidth и m_root.

Используется в OnUpdate().