Пример #1
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("regenAll", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateGiView_0(SwigDirectorregenAll);
     }
     if (SwigDerivedClassHasMethod("regenAppend", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateGiView_1(SwigDirectorregenAppend);
     }
     if (SwigDerivedClassHasMethod("redraw", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateGiView_2(SwigDirectorredraw);
     }
     if (SwigDerivedClassHasMethod("useFinger", swigMethodTypes3))
     {
         swigDelegate3 = new SwigDelegateGiView_3(SwigDirectoruseFinger);
     }
     if (SwigDerivedClassHasMethod("isContextActionsVisible", swigMethodTypes4))
     {
         swigDelegate4 = new SwigDelegateGiView_4(SwigDirectorisContextActionsVisible);
     }
     if (SwigDerivedClassHasMethod("showContextActions", swigMethodTypes5))
     {
         swigDelegate5 = new SwigDelegateGiView_5(SwigDirectorshowContextActions);
     }
     if (SwigDerivedClassHasMethod("hideContextActions", swigMethodTypes6))
     {
         swigDelegate6 = new SwigDelegateGiView_6(SwigDirectorhideContextActions);
     }
     if (SwigDerivedClassHasMethod("commandChanged", swigMethodTypes7))
     {
         swigDelegate7 = new SwigDelegateGiView_7(SwigDirectorcommandChanged);
     }
     if (SwigDerivedClassHasMethod("selectionChanged", swigMethodTypes8))
     {
         swigDelegate8 = new SwigDelegateGiView_8(SwigDirectorselectionChanged);
     }
     if (SwigDerivedClassHasMethod("contentChanged", swigMethodTypes9))
     {
         swigDelegate9 = new SwigDelegateGiView_9(SwigDirectorcontentChanged);
     }
     if (SwigDerivedClassHasMethod("dynamicChanged", swigMethodTypes10))
     {
         swigDelegate10 = new SwigDelegateGiView_10(SwigDirectordynamicChanged);
     }
     if (SwigDerivedClassHasMethod("viewChanged", swigMethodTypes11))
     {
         swigDelegate11 = new SwigDelegateGiView_11(SwigDirectorviewChanged);
     }
     if (SwigDerivedClassHasMethod("shapeDeleted", swigMethodTypes12))
     {
         swigDelegate12 = new SwigDelegateGiView_12(SwigDirectorshapeDeleted);
     }
     touchvgPINVOKE.GiView_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12);
 }
Пример #2
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("regenAll", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateGiView_0(SwigDirectorregenAll);
     }
     if (SwigDerivedClassHasMethod("regenAppend", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateGiView_1(SwigDirectorregenAppend);
     }
     if (SwigDerivedClassHasMethod("redraw", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateGiView_2(SwigDirectorredraw);
     }
     if (SwigDerivedClassHasMethod("useFinger", swigMethodTypes3))
     {
         swigDelegate3 = new SwigDelegateGiView_3(SwigDirectoruseFinger);
     }
     if (SwigDerivedClassHasMethod("isContextActionsVisible", swigMethodTypes4))
     {
         swigDelegate4 = new SwigDelegateGiView_4(SwigDirectorisContextActionsVisible);
     }
     if (SwigDerivedClassHasMethod("showContextActions", swigMethodTypes5))
     {
         swigDelegate5 = new SwigDelegateGiView_5(SwigDirectorshowContextActions);
     }
     if (SwigDerivedClassHasMethod("hideContextActions", swigMethodTypes6))
     {
         swigDelegate6 = new SwigDelegateGiView_6(SwigDirectorhideContextActions);
     }
     if (SwigDerivedClassHasMethod("commandChanged", swigMethodTypes7))
     {
         swigDelegate7 = new SwigDelegateGiView_7(SwigDirectorcommandChanged);
     }
     if (SwigDerivedClassHasMethod("selectionChanged", swigMethodTypes8))
     {
         swigDelegate8 = new SwigDelegateGiView_8(SwigDirectorselectionChanged);
     }
     if (SwigDerivedClassHasMethod("contentChanged", swigMethodTypes9))
     {
         swigDelegate9 = new SwigDelegateGiView_9(SwigDirectorcontentChanged);
     }
     if (SwigDerivedClassHasMethod("dynamicChanged", swigMethodTypes10))
     {
         swigDelegate10 = new SwigDelegateGiView_10(SwigDirectordynamicChanged);
     }
     if (SwigDerivedClassHasMethod("zoomChanged", swigMethodTypes11))
     {
         swigDelegate11 = new SwigDelegateGiView_11(SwigDirectorzoomChanged);
     }
     if (SwigDerivedClassHasMethod("viewChanged", swigMethodTypes12))
     {
         swigDelegate12 = new SwigDelegateGiView_12(SwigDirectorviewChanged);
     }
     if (SwigDerivedClassHasMethod("shapeWillDelete", swigMethodTypes13))
     {
         swigDelegate13 = new SwigDelegateGiView_13(SwigDirectorshapeWillDelete);
     }
     if (SwigDerivedClassHasMethod("shapeDeleted", swigMethodTypes14))
     {
         swigDelegate14 = new SwigDelegateGiView_14(SwigDirectorshapeDeleted);
     }
     if (SwigDerivedClassHasMethod("shapeDblClick", swigMethodTypes15))
     {
         swigDelegate15 = new SwigDelegateGiView_15(SwigDirectorshapeDblClick);
     }
     if (SwigDerivedClassHasMethod("shapeClicked", swigMethodTypes16))
     {
         swigDelegate16 = new SwigDelegateGiView_16(SwigDirectorshapeClicked);
     }
     if (SwigDerivedClassHasMethod("showMessage", swigMethodTypes17))
     {
         swigDelegate17 = new SwigDelegateGiView_17(SwigDirectorshowMessage);
     }
     if (SwigDerivedClassHasMethod("getLocalizedString", swigMethodTypes18))
     {
         swigDelegate18 = new SwigDelegateGiView_18(SwigDirectorgetLocalizedString);
     }
     touchvgPINVOKE.GiView_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12, swigDelegate13, swigDelegate14, swigDelegate15, swigDelegate16, swigDelegate17, swigDelegate18);
 }
Пример #3
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("regenAll", swigMethodTypes0))
       swigDelegate0 = new SwigDelegateGiView_0(SwigDirectorregenAll);
     if (SwigDerivedClassHasMethod("regenAppend", swigMethodTypes1))
       swigDelegate1 = new SwigDelegateGiView_1(SwigDirectorregenAppend);
     if (SwigDerivedClassHasMethod("redraw", swigMethodTypes2))
       swigDelegate2 = new SwigDelegateGiView_2(SwigDirectorredraw);
     if (SwigDerivedClassHasMethod("useFinger", swigMethodTypes3))
       swigDelegate3 = new SwigDelegateGiView_3(SwigDirectoruseFinger);
     if (SwigDerivedClassHasMethod("isContextActionsVisible", swigMethodTypes4))
       swigDelegate4 = new SwigDelegateGiView_4(SwigDirectorisContextActionsVisible);
     if (SwigDerivedClassHasMethod("showContextActions", swigMethodTypes5))
       swigDelegate5 = new SwigDelegateGiView_5(SwigDirectorshowContextActions);
     if (SwigDerivedClassHasMethod("commandChanged", swigMethodTypes6))
       swigDelegate6 = new SwigDelegateGiView_6(SwigDirectorcommandChanged);
     if (SwigDerivedClassHasMethod("selectionChanged", swigMethodTypes7))
       swigDelegate7 = new SwigDelegateGiView_7(SwigDirectorselectionChanged);
     if (SwigDerivedClassHasMethod("contentChanged", swigMethodTypes8))
       swigDelegate8 = new SwigDelegateGiView_8(SwigDirectorcontentChanged);
     if (SwigDerivedClassHasMethod("dynamicChanged", swigMethodTypes9))
       swigDelegate9 = new SwigDelegateGiView_9(SwigDirectordynamicChanged);
     if (SwigDerivedClassHasMethod("viewChanged", swigMethodTypes10))
       swigDelegate10 = new SwigDelegateGiView_10(SwigDirectorviewChanged);
     if (SwigDerivedClassHasMethod("shapeDeleted", swigMethodTypes11))
       swigDelegate11 = new SwigDelegateGiView_11(SwigDirectorshapeDeleted);
     touchvgPINVOKE.GiView_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11);
 }
Пример #4
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("regenAll", swigMethodTypes0))
       swigDelegate0 = new SwigDelegateGiView_0(SwigDirectorregenAll);
     if (SwigDerivedClassHasMethod("regenAppend", swigMethodTypes1))
       swigDelegate1 = new SwigDelegateGiView_1(SwigDirectorregenAppend);
     if (SwigDerivedClassHasMethod("redraw", swigMethodTypes2))
       swigDelegate2 = new SwigDelegateGiView_2(SwigDirectorredraw);
     if (SwigDerivedClassHasMethod("useFinger", swigMethodTypes3))
       swigDelegate3 = new SwigDelegateGiView_3(SwigDirectoruseFinger);
     if (SwigDerivedClassHasMethod("isContextActionsVisible", swigMethodTypes4))
       swigDelegate4 = new SwigDelegateGiView_4(SwigDirectorisContextActionsVisible);
     if (SwigDerivedClassHasMethod("showContextActions", swigMethodTypes5))
       swigDelegate5 = new SwigDelegateGiView_5(SwigDirectorshowContextActions);
     if (SwigDerivedClassHasMethod("hideContextActions", swigMethodTypes6))
       swigDelegate6 = new SwigDelegateGiView_6(SwigDirectorhideContextActions);
     if (SwigDerivedClassHasMethod("commandChanged", swigMethodTypes7))
       swigDelegate7 = new SwigDelegateGiView_7(SwigDirectorcommandChanged);
     if (SwigDerivedClassHasMethod("selectionChanged", swigMethodTypes8))
       swigDelegate8 = new SwigDelegateGiView_8(SwigDirectorselectionChanged);
     if (SwigDerivedClassHasMethod("contentChanged", swigMethodTypes9))
       swigDelegate9 = new SwigDelegateGiView_9(SwigDirectorcontentChanged);
     if (SwigDerivedClassHasMethod("dynamicChanged", swigMethodTypes10))
       swigDelegate10 = new SwigDelegateGiView_10(SwigDirectordynamicChanged);
     if (SwigDerivedClassHasMethod("zoomChanged", swigMethodTypes11))
       swigDelegate11 = new SwigDelegateGiView_11(SwigDirectorzoomChanged);
     if (SwigDerivedClassHasMethod("viewChanged", swigMethodTypes12))
       swigDelegate12 = new SwigDelegateGiView_12(SwigDirectorviewChanged);
     if (SwigDerivedClassHasMethod("shapeWillDelete", swigMethodTypes13))
       swigDelegate13 = new SwigDelegateGiView_13(SwigDirectorshapeWillDelete);
     if (SwigDerivedClassHasMethod("shapeDeleted", swigMethodTypes14))
       swigDelegate14 = new SwigDelegateGiView_14(SwigDirectorshapeDeleted);
     if (SwigDerivedClassHasMethod("shapeDblClick", swigMethodTypes15))
       swigDelegate15 = new SwigDelegateGiView_15(SwigDirectorshapeDblClick);
     if (SwigDerivedClassHasMethod("shapeClicked", swigMethodTypes16))
       swigDelegate16 = new SwigDelegateGiView_16(SwigDirectorshapeClicked);
     if (SwigDerivedClassHasMethod("showMessage", swigMethodTypes17))
       swigDelegate17 = new SwigDelegateGiView_17(SwigDirectorshowMessage);
     if (SwigDerivedClassHasMethod("getLocalizedString", swigMethodTypes18))
       swigDelegate18 = new SwigDelegateGiView_18(SwigDirectorgetLocalizedString);
     touchvgPINVOKE.GiView_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12, swigDelegate13, swigDelegate14, swigDelegate15, swigDelegate16, swigDelegate17, swigDelegate18);
 }