Beispiel #1
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("release", swigMethodTypes0))
       swigDelegate0 = new SwigDelegateMgCommand_0(SwigDirectorrelease);
     if (SwigDerivedClassHasMethod("cancel", swigMethodTypes1))
       swigDelegate1 = new SwigDelegateMgCommand_1(SwigDirectorcancel);
     if (SwigDerivedClassHasMethod("initialize", swigMethodTypes2))
       swigDelegate2 = new SwigDelegateMgCommand_2(SwigDirectorinitialize);
     if (SwigDerivedClassHasMethod("backStep", swigMethodTypes3))
       swigDelegate3 = new SwigDelegateMgCommand_3(SwigDirectorbackStep);
     if (SwigDerivedClassHasMethod("draw", swigMethodTypes4))
       swigDelegate4 = new SwigDelegateMgCommand_4(SwigDirectordraw);
     if (SwigDerivedClassHasMethod("gatherShapes", swigMethodTypes5))
       swigDelegate5 = new SwigDelegateMgCommand_5(SwigDirectorgatherShapes);
     if (SwigDerivedClassHasMethod("click", swigMethodTypes6))
       swigDelegate6 = new SwigDelegateMgCommand_6(SwigDirectorclick);
     if (SwigDerivedClassHasMethod("doubleClick", swigMethodTypes7))
       swigDelegate7 = new SwigDelegateMgCommand_7(SwigDirectordoubleClick);
     if (SwigDerivedClassHasMethod("longPress", swigMethodTypes8))
       swigDelegate8 = new SwigDelegateMgCommand_8(SwigDirectorlongPress);
     if (SwigDerivedClassHasMethod("touchBegan", swigMethodTypes9))
       swigDelegate9 = new SwigDelegateMgCommand_9(SwigDirectortouchBegan);
     if (SwigDerivedClassHasMethod("touchMoved", swigMethodTypes10))
       swigDelegate10 = new SwigDelegateMgCommand_10(SwigDirectortouchMoved);
     if (SwigDerivedClassHasMethod("touchEnded", swigMethodTypes11))
       swigDelegate11 = new SwigDelegateMgCommand_11(SwigDirectortouchEnded);
     if (SwigDerivedClassHasMethod("mouseHover", swigMethodTypes12))
       swigDelegate12 = new SwigDelegateMgCommand_12(SwigDirectormouseHover);
     if (SwigDerivedClassHasMethod("twoFingersMove", swigMethodTypes13))
       swigDelegate13 = new SwigDelegateMgCommand_13(SwigDirectortwoFingersMove);
     if (SwigDerivedClassHasMethod("isDrawingCommand", swigMethodTypes14))
       swigDelegate14 = new SwigDelegateMgCommand_14(SwigDirectorisDrawingCommand);
     if (SwigDerivedClassHasMethod("isFloatingCommand", swigMethodTypes15))
       swigDelegate15 = new SwigDelegateMgCommand_15(SwigDirectorisFloatingCommand);
     if (SwigDerivedClassHasMethod("doContextAction", swigMethodTypes16))
       swigDelegate16 = new SwigDelegateMgCommand_16(SwigDirectordoContextAction);
     touchvgPINVOKE.MgCommand_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12, swigDelegate13, swigDelegate14, swigDelegate15, swigDelegate16);
 }
Beispiel #2
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("release", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateMgCommand_0(SwigDirectorrelease);
     }
     if (SwigDerivedClassHasMethod("cancel", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateMgCommand_1(SwigDirectorcancel);
     }
     if (SwigDerivedClassHasMethod("initialize", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateMgCommand_2(SwigDirectorinitialize);
     }
     if (SwigDerivedClassHasMethod("backStep", swigMethodTypes3))
     {
         swigDelegate3 = new SwigDelegateMgCommand_3(SwigDirectorbackStep);
     }
     if (SwigDerivedClassHasMethod("draw", swigMethodTypes4))
     {
         swigDelegate4 = new SwigDelegateMgCommand_4(SwigDirectordraw);
     }
     if (SwigDerivedClassHasMethod("gatherShapes", swigMethodTypes5))
     {
         swigDelegate5 = new SwigDelegateMgCommand_5(SwigDirectorgatherShapes);
     }
     if (SwigDerivedClassHasMethod("click", swigMethodTypes6))
     {
         swigDelegate6 = new SwigDelegateMgCommand_6(SwigDirectorclick);
     }
     if (SwigDerivedClassHasMethod("doubleClick", swigMethodTypes7))
     {
         swigDelegate7 = new SwigDelegateMgCommand_7(SwigDirectordoubleClick);
     }
     if (SwigDerivedClassHasMethod("longPress", swigMethodTypes8))
     {
         swigDelegate8 = new SwigDelegateMgCommand_8(SwigDirectorlongPress);
     }
     if (SwigDerivedClassHasMethod("touchBegan", swigMethodTypes9))
     {
         swigDelegate9 = new SwigDelegateMgCommand_9(SwigDirectortouchBegan);
     }
     if (SwigDerivedClassHasMethod("touchMoved", swigMethodTypes10))
     {
         swigDelegate10 = new SwigDelegateMgCommand_10(SwigDirectortouchMoved);
     }
     if (SwigDerivedClassHasMethod("touchEnded", swigMethodTypes11))
     {
         swigDelegate11 = new SwigDelegateMgCommand_11(SwigDirectortouchEnded);
     }
     if (SwigDerivedClassHasMethod("mouseHover", swigMethodTypes12))
     {
         swigDelegate12 = new SwigDelegateMgCommand_12(SwigDirectormouseHover);
     }
     if (SwigDerivedClassHasMethod("twoFingersMove", swigMethodTypes13))
     {
         swigDelegate13 = new SwigDelegateMgCommand_13(SwigDirectortwoFingersMove);
     }
     if (SwigDerivedClassHasMethod("isDrawingCommand", swigMethodTypes14))
     {
         swigDelegate14 = new SwigDelegateMgCommand_14(SwigDirectorisDrawingCommand);
     }
     if (SwigDerivedClassHasMethod("isFloatingCommand", swigMethodTypes15))
     {
         swigDelegate15 = new SwigDelegateMgCommand_15(SwigDirectorisFloatingCommand);
     }
     if (SwigDerivedClassHasMethod("doContextAction", swigMethodTypes16))
     {
         swigDelegate16 = new SwigDelegateMgCommand_16(SwigDirectordoContextAction);
     }
     touchvgPINVOKE.MgCommand_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12, swigDelegate13, swigDelegate14, swigDelegate15, swigDelegate16);
 }