Esempio n. 1
0
        internal void CallMouseDown()
        {
            IsMousePressed = true;
            OnMouseDown?.Invoke();
            OnAnyMouseDown?.Invoke();

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