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

◆ OnMouseLeave()

override bool OnMouseLeave ( Widget w,
Widget enterW,
int x,
int y )
protected

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

653 {
654 super.OnMouseLeave(w, enterW, x, y);
655
656 if (!m_EditTooltipRoot.IsVisible())
658
659 // Close context menu if we're not entering any context menu related widget
660 if (enterW && !IsContextElementButton(enterW) && !IsChildOfWidget(enterW, m_ButtonsMenu) && w && !IsContextElementButton(w) && !IsChildOfWidget(w, m_ButtonsMenu) && enterW != m_ContextMenuGrid && w != m_ContextMenuGrid)
661 {
662 m_ContextMenuGrid.Show(false);
664 m_ContectMenuButtonLabel.SetColor(ARGB(255, 255, 255, 255));
665 }
666 else if (w == m_ContextMenuButton)
667 {
668 m_ContectMenuButtonLabel.SetColor(ARGB(255, 255, 255, 255));
669 }
670
671 if (m_SelectedHandler && m_SelectedHandler.OnMouseLeave(w, enterW, x, y))
672 return true;
673
674 return false;
675 }
Icon x
Icon y
GridSpacerWidget m_ContextMenuGrid
Определения ScriptConsole.c:89
void HideContextSubElements()
Определения ScriptConsole.c:317
TextWidget m_ContectMenuButtonLabel
Определения ScriptConsole.c:91
bool IsContextElementButton(Widget w)
Определения ScriptConsole.c:328
GridSpacerWidget m_ButtonsMenu
Определения ScriptConsole.c:87
ButtonWidget m_ContextMenuButton
Определения ScriptConsole.c:90
bool IsChildOfWidget(Widget child, Widget parent)
Определения ScriptConsole.c:845
void HoverInterrupt()
Определения ScriptConsole.c:387
Widget m_EditTooltipRoot
Определения ScriptConsole.c:79
ScriptConsoleTabBase m_SelectedHandler
Определения ScriptConsole.c:103
int ARGB(int a, int r, int g, int b)
Определения proto.c:322

Перекрестные ссылки ARGB(), HideContextSubElements(), HoverInterrupt(), IsChildOfWidget(), IsContextElementButton(), m_ButtonsMenu, m_ContectMenuButtonLabel, m_ContextMenuButton, m_ContextMenuGrid, m_EditTooltipRoot, m_SelectedHandler, x и y.