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

◆ IsContextElementButton()

bool IsContextElementButton ( Widget w)
protected

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

329 {
330 if (w == m_ContextMenuButton)
331 return true;
332
334 {
335 if (w == element.GetButton())
336 return true;
337 // Also check sub-elements
338 if (element.IsSubElementButton(w))
339 return true;
340 }
341
342 return false;
343 }
ButtonWidget m_ContextMenuButton
Определения ScriptConsole.c:90
ref map< int, ref ScriptConsoleMenuElement > m_ContextMenuElements
Определения ScriptConsole.c:111

Перекрестные ссылки m_ContextMenuButton и m_ContextMenuElements.

Используется в OnMouseEnter() и OnMouseLeave().