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

◆ PopupOpen()

UIPopupScript UIScriptedMenu::PopupOpen ( int popup_id,
Param param )
inlineprivate

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

862 {
863 // Open background image (black transparent) under popups
864 if ( m_OpenedPopups.Count() == 0 )
865 {
866 m_WgtPopupsMain.Show(true);
867 m_WgtPopupsBg.Show(true);
868 }
869 else
870 {
871 int popup_curr_id = m_OpenedPopups.Get(m_OpenedPopups.Count() - 1);
872 m_Popups.Get(popup_curr_id).Show(false);
873 }
874
875 m_OpenedPopups.Insert(popup_id);
876
877 UIPopupScript popup = m_Popups.Get(popup_id);
878
879 popup.Show(true);
880 popup.OnOpen(param);
881
882 return popup;
883 }
void Show(bool show)
Определения UIPopupScript.c:19
void OnOpen(Param param)
Определения UIPopupScript.c:11
Widget m_WgtPopupsBg
Определения SceneEditorMenu.c:1064
ref TIntArray m_OpenedPopups
Определения SceneEditorMenu.c:1065
Widget m_WgtPopupsMain
Определения SceneEditorMenu.c:1063
ref map< int, ref UIPopupScript > m_Popups
Определения SceneEditorMenu.c:1066

Перекрестные ссылки m_OpenedPopups, m_Popups, m_WgtPopupsBg, m_WgtPopupsMain, UIPopupScript::OnOpen() и UIPopupScript::Show().

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