Esempio n. 1
0
        public void mouseWheelDragged(object sender, RsMousePositionChangeEventArgs e)
        {
            int mouseXDiff = mouseX - e.ScreenCoordX;
            int mouseYDiff = mouseY - e.ScreenCoordY;

            OnMouseWheelDragged(mouseXDiff, mouseYDiff);
        }
Esempio n. 2
0
        public void mouseMoved(object sender, RsMousePositionChangeEventArgs e)
        {
            int i = e.ScreenCoordX;
            int j = e.ScreenCoordY;

            idleTime = 0;
            mouseX   = i;
            mouseY   = j;
        }
Esempio n. 3
0
        public void mouseDragged(object sender, RsMousePositionChangeEventArgs e)
        {
            lock (InputSyncObj)
            {
                int i = e.ScreenCoordX;
                int j = e.ScreenCoordY;

                idleTime = 0;
                mouseX   = i;
                mouseY   = j;
            }
        }