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

◆ OnMouseEnter()

override bool OnMouseEnter ( Widget w,
int x,
int y )
protected

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

678 {
679 super.OnMouseEnter(w, x, y);
680
681 if (!m_EditTooltipRoot.IsVisible())
683
684 // Close context menu if we're not entering any context menu related widget
686 {
687 m_ContextMenuGrid.Show(false);
689 m_ContectMenuButtonLabel.SetColor(ARGB(255, 255, 255, 255));
690 }
691 else if (w == m_ContextMenuButton)
692 {
693 m_ContextMenuGrid.Show(true);
694 m_ContectMenuButtonLabel.SetColor(ARGB(255, 0, 0, 0));
695 }
696
697 if (m_SelectedHandler && m_SelectedHandler.OnMouseEnter(w ,x, y))
698 return true;
699
700 #ifdef PLATFORM_CONSOLE
701 return false;
702 #endif
703 return true;
704 }
Icon x
Icon y
GridSpacerWidget m_ContextMenuGrid
Определения ScriptConsole.c:89
void HideContextSubElements()
Определения ScriptConsole.c:317
TextWidget m_ContectMenuButtonLabel
Определения ScriptConsole.c:91
Widget m_CurrentHoverWidget
Определения ScriptConsole.c:76
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
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(), IsChildOfWidget(), IsContextElementButton(), m_ButtonsMenu, m_ContectMenuButtonLabel, m_ContextMenuButton, m_ContextMenuGrid, m_CurrentHoverWidget, m_EditTooltipRoot, m_SelectedHandler, x и y.