コード例 #1
0
 static CallbackHandler()
 {
     mouseButtonDownCB = new MouseButtonDownDelegate(fireButtonDown);
     mouseButtonUpCB   = new MouseButtonUpDelegate(fireButtonUp);
     mouseMoveCB       = new MouseMoveDelegate(fireMoved);
     mouseWheelCB      = new MouseWheelDelegate(fireWheel);
 }
コード例 #2
0
        private static extern IntPtr NativeMouse_new(IntPtr osWindow, MouseButtonDownDelegate mouseButtonDownCB, MouseButtonUpDelegate mouseButtonUpCB, MouseMoveDelegate mouseMoveCB, MouseWheelDelegate mouseWheelCB
#if FULL_AOT_COMPILE
                                                     , IntPtr instanceHandle
#endif
                                                     );