Beispiel #1
0
        public override void TouchesBegan(NSSet touches, UIKit.UIEvent evt)
        {
            base.TouchesBegan(touches, evt);

            UITouch touch = touches.AnyObject as UITouch;

            if (touch != null)
            {
                CGPoint p = touch.LocationInView(touch.View);
                m_Canvas.Input_MouseMoved((int)p.X, (int)p.Y, 0, 0);
                m_Canvas.Input_MouseButton(0, true);
            }
        }