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

◆ OnMouseButtonDown()

bool OnMouseButtonDown ( Widget w,
int x,
int y,
int button )

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

108 {
109 if (button == 0)
110 SetDragging(true);
111 if (button == 1)
112 {
113 if (m_Entity)
114 {
115 float xx, yy;
116 m_DebugRootWidget.GetPos(xx,yy);
117 ContextMenu.DisplayContextMenu(x - xx, y - yy, EntityAI.Cast(m_Entity), m_DebugRootWidget, this);
118 }
119 }
120 return true;
121 }
EntityAI m_Entity
Определения ActionDebug.c:11
Icon x
Icon y
Widget m_DebugRootWidget
Определения PluginItemDiagnostic.c:60
void SetDragging(bool enable)
Определения PluginItemDiagnostic.c:130
Определения Building.c:6

Перекрестные ссылки m_DebugRootWidget, m_Entity, SetDragging(), x и y.