internal void CallMouseDown() { IsMousePressed = true; OnMouseDown?.Invoke(); OnAnyMouseDown?.Invoke(); if (OwnerLoopEngine != null) { calledDragStart = false; mouseDownPos = MouseInput.ScreenPos; OwnerLoopEngine.AddLoopAction(OnMouseDragging, GLoopCycle.EveryFrame, GWhen.MouseUpRemove); } }
internal void CallMouseMiddleDown() { IsMouseMiddlePressed = true; OnMouseMiddleDown?.Invoke(); OnAnyMouseDown?.Invoke(); }
internal void CallMouseRightDown() { IsMouseRightPressed = true; OnMouseRightDown?.Invoke(); OnAnyMouseDown?.Invoke(); }