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

◆ OnMouseButtonDown()

override bool ScrollBarContainer::OnMouseButtonDown ( Widget w,
int x,
int y,
int button )
inlineprotected

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

198 {
199 if (button == MouseState.LEFT && w == Scroller && !m_scrolling)
200 {
201 m_scrolling = true;
203 int mouse_x;
205 GetGame().GetDragQueue().Call(this, "UpdateScroll");
206 return true;
207 }
208
209 return false;
210 }
override DragQueue GetDragQueue()
Определения DayZGame.c:1215
Widget Scroller
Определения ScrollBarContainer.c:7
int m_scrolling_mouse_pos
Определения ScrollBarContainer.c:16
float m_position
Определения ScrollBarContainer.c:13
bool m_scrolling
Определения ScrollBarContainer.c:14
float m_scrolling_start_pos
Определения ScrollBarContainer.c:15
proto native CGame GetGame()
MouseState
Определения EnSystem.c:311
proto void GetMousePos(out int x, out int y)

Перекрестные ссылки CGame::GetDragQueue(), GetGame(), GetMousePos(), m_position, m_scrolling, m_scrolling_mouse_pos, m_scrolling_start_pos, Scroller, x и y.