Beispiel #1
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("release", swigMethodTypes0))
       swigDelegate0 = new SwigDelegateMgCmdDrawRect_0(SwigDirectorrelease);
     if (SwigDerivedClassHasMethod("cancel", swigMethodTypes1))
       swigDelegate1 = new SwigDelegateMgCmdDrawRect_1(SwigDirectorcancel);
     if (SwigDerivedClassHasMethod("initialize", swigMethodTypes2))
       swigDelegate2 = new SwigDelegateMgCmdDrawRect_2(SwigDirectorinitialize);
     if (SwigDerivedClassHasMethod("backStep", swigMethodTypes3))
       swigDelegate3 = new SwigDelegateMgCmdDrawRect_3(SwigDirectorbackStep);
     if (SwigDerivedClassHasMethod("draw", swigMethodTypes4))
       swigDelegate4 = new SwigDelegateMgCmdDrawRect_4(SwigDirectordraw);
     if (SwigDerivedClassHasMethod("gatherShapes", swigMethodTypes5))
       swigDelegate5 = new SwigDelegateMgCmdDrawRect_5(SwigDirectorgatherShapes);
     if (SwigDerivedClassHasMethod("click", swigMethodTypes6))
       swigDelegate6 = new SwigDelegateMgCmdDrawRect_6(SwigDirectorclick);
     if (SwigDerivedClassHasMethod("doubleClick", swigMethodTypes7))
       swigDelegate7 = new SwigDelegateMgCmdDrawRect_7(SwigDirectordoubleClick);
     if (SwigDerivedClassHasMethod("longPress", swigMethodTypes8))
       swigDelegate8 = new SwigDelegateMgCmdDrawRect_8(SwigDirectorlongPress);
     if (SwigDerivedClassHasMethod("touchBegan", swigMethodTypes9))
       swigDelegate9 = new SwigDelegateMgCmdDrawRect_9(SwigDirectortouchBegan);
     if (SwigDerivedClassHasMethod("touchMoved", swigMethodTypes10))
       swigDelegate10 = new SwigDelegateMgCmdDrawRect_10(SwigDirectortouchMoved);
     if (SwigDerivedClassHasMethod("touchEnded", swigMethodTypes11))
       swigDelegate11 = new SwigDelegateMgCmdDrawRect_11(SwigDirectortouchEnded);
     if (SwigDerivedClassHasMethod("mouseHover", swigMethodTypes12))
       swigDelegate12 = new SwigDelegateMgCmdDrawRect_12(SwigDirectormouseHover);
     if (SwigDerivedClassHasMethod("twoFingersMove", swigMethodTypes13))
       swigDelegate13 = new SwigDelegateMgCmdDrawRect_13(SwigDirectortwoFingersMove);
     if (SwigDerivedClassHasMethod("isDrawingCommand", swigMethodTypes14))
       swigDelegate14 = new SwigDelegateMgCmdDrawRect_14(SwigDirectorisDrawingCommand);
     if (SwigDerivedClassHasMethod("isFloatingCommand", swigMethodTypes15))
       swigDelegate15 = new SwigDelegateMgCmdDrawRect_15(SwigDirectorisFloatingCommand);
     if (SwigDerivedClassHasMethod("doContextAction", swigMethodTypes16))
       swigDelegate16 = new SwigDelegateMgCmdDrawRect_16(SwigDirectordoContextAction);
     if (SwigDerivedClassHasMethod("getShapeType", swigMethodTypes17))
       swigDelegate17 = new SwigDelegateMgCmdDrawRect_17(SwigDirectorgetShapeType);
     if (SwigDerivedClassHasMethod("getMaxStep", swigMethodTypes18))
       swigDelegate18 = new SwigDelegateMgCmdDrawRect_18(SwigDirectorgetMaxStep);
     if (SwigDerivedClassHasMethod("setStepPoint", swigMethodTypes19))
       swigDelegate19 = new SwigDelegateMgCmdDrawRect_19(SwigDirectorsetStepPoint);
     if (SwigDerivedClassHasMethod("isStepPointAccepted", swigMethodTypes20))
       swigDelegate20 = new SwigDelegateMgCmdDrawRect_20(SwigDirectorisStepPointAccepted);
     if (SwigDerivedClassHasMethod("snapOptionsForStep", swigMethodTypes21))
       swigDelegate21 = new SwigDelegateMgCmdDrawRect_21(SwigDirectorsnapOptionsForStep);
     if (SwigDerivedClassHasMethod("addRectShape", swigMethodTypes22))
       swigDelegate22 = new SwigDelegateMgCmdDrawRect_22(SwigDirectoraddRectShape);
     touchvgPINVOKE.MgCmdDrawRect_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12, swigDelegate13, swigDelegate14, swigDelegate15, swigDelegate16, swigDelegate17, swigDelegate18, swigDelegate19, swigDelegate20, swigDelegate21, swigDelegate22);
 }
Beispiel #2
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("release", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateMgCmdDrawRect_0(SwigDirectorrelease);
     }
     if (SwigDerivedClassHasMethod("cancel", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateMgCmdDrawRect_1(SwigDirectorcancel);
     }
     if (SwigDerivedClassHasMethod("initialize", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateMgCmdDrawRect_2(SwigDirectorinitialize);
     }
     if (SwigDerivedClassHasMethod("backStep", swigMethodTypes3))
     {
         swigDelegate3 = new SwigDelegateMgCmdDrawRect_3(SwigDirectorbackStep);
     }
     if (SwigDerivedClassHasMethod("draw", swigMethodTypes4))
     {
         swigDelegate4 = new SwigDelegateMgCmdDrawRect_4(SwigDirectordraw);
     }
     if (SwigDerivedClassHasMethod("gatherShapes", swigMethodTypes5))
     {
         swigDelegate5 = new SwigDelegateMgCmdDrawRect_5(SwigDirectorgatherShapes);
     }
     if (SwigDerivedClassHasMethod("click", swigMethodTypes6))
     {
         swigDelegate6 = new SwigDelegateMgCmdDrawRect_6(SwigDirectorclick);
     }
     if (SwigDerivedClassHasMethod("doubleClick", swigMethodTypes7))
     {
         swigDelegate7 = new SwigDelegateMgCmdDrawRect_7(SwigDirectordoubleClick);
     }
     if (SwigDerivedClassHasMethod("longPress", swigMethodTypes8))
     {
         swigDelegate8 = new SwigDelegateMgCmdDrawRect_8(SwigDirectorlongPress);
     }
     if (SwigDerivedClassHasMethod("touchBegan", swigMethodTypes9))
     {
         swigDelegate9 = new SwigDelegateMgCmdDrawRect_9(SwigDirectortouchBegan);
     }
     if (SwigDerivedClassHasMethod("touchMoved", swigMethodTypes10))
     {
         swigDelegate10 = new SwigDelegateMgCmdDrawRect_10(SwigDirectortouchMoved);
     }
     if (SwigDerivedClassHasMethod("touchEnded", swigMethodTypes11))
     {
         swigDelegate11 = new SwigDelegateMgCmdDrawRect_11(SwigDirectortouchEnded);
     }
     if (SwigDerivedClassHasMethod("mouseHover", swigMethodTypes12))
     {
         swigDelegate12 = new SwigDelegateMgCmdDrawRect_12(SwigDirectormouseHover);
     }
     if (SwigDerivedClassHasMethod("twoFingersMove", swigMethodTypes13))
     {
         swigDelegate13 = new SwigDelegateMgCmdDrawRect_13(SwigDirectortwoFingersMove);
     }
     if (SwigDerivedClassHasMethod("isDrawingCommand", swigMethodTypes14))
     {
         swigDelegate14 = new SwigDelegateMgCmdDrawRect_14(SwigDirectorisDrawingCommand);
     }
     if (SwigDerivedClassHasMethod("isFloatingCommand", swigMethodTypes15))
     {
         swigDelegate15 = new SwigDelegateMgCmdDrawRect_15(SwigDirectorisFloatingCommand);
     }
     if (SwigDerivedClassHasMethod("doContextAction", swigMethodTypes16))
     {
         swigDelegate16 = new SwigDelegateMgCmdDrawRect_16(SwigDirectordoContextAction);
     }
     if (SwigDerivedClassHasMethod("getShapeType", swigMethodTypes17))
     {
         swigDelegate17 = new SwigDelegateMgCmdDrawRect_17(SwigDirectorgetShapeType);
     }
     if (SwigDerivedClassHasMethod("getMaxStep", swigMethodTypes18))
     {
         swigDelegate18 = new SwigDelegateMgCmdDrawRect_18(SwigDirectorgetMaxStep);
     }
     if (SwigDerivedClassHasMethod("setStepPoint", swigMethodTypes19))
     {
         swigDelegate19 = new SwigDelegateMgCmdDrawRect_19(SwigDirectorsetStepPoint);
     }
     if (SwigDerivedClassHasMethod("addRectShape", swigMethodTypes20))
     {
         swigDelegate20 = new SwigDelegateMgCmdDrawRect_20(SwigDirectoraddRectShape);
     }
     touchvgPINVOKE.MgCmdDrawRect_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12, swigDelegate13, swigDelegate14, swigDelegate15, swigDelegate16, swigDelegate17, swigDelegate18, swigDelegate19, swigDelegate20);
 }