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

◆ SetHintImage()

void ScriptedWidgetEventHandler::SetHintImage ( )
inlineprotected

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

141 {
142 string image_path = m_ContentList.Get(m_PageIndex).GetImagePath();
143
144 // If there is an image
145 if (image_path)
146 {
147 // Show the widget
148 m_UiHintImage.Show(true);
149 // Set the image path
150 m_UiHintImage.LoadImageFile(0, image_path);
151 }
152 else
153 {
154 // Hide the widget
155 m_UiHintImage.Show(false);
156 }
157 }
ImageWidget m_UiHintImage
Определения UiHintPanel.c:22
int m_PageIndex
Определения UiHintPanel.c:26
ref array< ref HintPage > m_ContentList
Определения UiHintPanel.c:25

Перекрестные ссылки m_ContentList, m_PageIndex и m_UiHintImage.

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