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

◆ GetFreeUIPropertyAttchament()

UIPropertyAttachment UIScriptedMenu::GetFreeUIPropertyAttchament ( )
inlineprivate

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

1315 {
1316 for ( int i = 0; i < m_PrWidgetsAttachments.Count(); ++i )
1317 {
1318 UIPropertyAttachment ui_comp = m_PrWidgetsAttachments.Get(i);
1319
1320 if ( !ui_comp.IsVisible() )
1321 {
1322 return ui_comp;
1323 }
1324 }
1325
1326 UIPropertyAttachment ui_prop = new UIPropertyAttachment(m_PrWgtAttRoot);
1327 m_PrWidgetsAttachments.Insert(ui_prop);
1328
1329 return ui_prop;
1330 }
bool IsVisible()
Определения UIPropertyAttachment.c:110
ref array< ref UIPropertyAttachment > m_PrWidgetsAttachments
Определения SceneEditorMenu.c:1095
Widget m_PrWgtAttRoot
Определения SceneEditorMenu.c:1092

Перекрестные ссылки UIPropertyAttachment::IsVisible(), m_PrWgtAttRoot и m_PrWidgetsAttachments.

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