예제 #1
0
 static CallbackHandler()
 {
     touchStartedCB  = new TouchEventDelegate(touchStarted);
     touchEndedCB    = new TouchEventDelegate(touchEnded);
     touchMovedCB    = new TouchEventDelegate(touchMoved);
     touchCanceledCB = new TouchEventCanceledDelegate(allTouchesCanceled);
 }
예제 #2
0
        private static extern IntPtr MultiTouch_new(IntPtr nativeWindow, TouchEventDelegate touchStartedCB, TouchEventDelegate touchEndedCB, TouchEventDelegate touchMovedCB, TouchEventCanceledDelegate touchCanceledCB
#if FULL_AOT_COMPILE
                                                    , IntPtr instanceHandle
#endif
                                                    );