예제 #1
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MgOptionCallback obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
예제 #2
0
파일: GiCoreView.cs 프로젝트: rhcad/vgwpf
 public void traverseOptions(MgOptionCallback c)
 {
     touchvgPINVOKE.GiCoreView_traverseOptions(swigCPtr, MgOptionCallback.getCPtr(c));
 }
예제 #3
0
 public void traverseOptions(MgOptionCallback c)
 {
     touchvgPINVOKE.GiCoreView_traverseOptions(swigCPtr, MgOptionCallback.getCPtr(c));
 }
예제 #4
0
 public static extern void MgOptionCallback_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, MgOptionCallback.SwigDelegateMgOptionCallback_0 delegate0, MgOptionCallback.SwigDelegateMgOptionCallback_1 delegate1, MgOptionCallback.SwigDelegateMgOptionCallback_2 delegate2, MgOptionCallback.SwigDelegateMgOptionCallback_3 delegate3);
예제 #5
0
 //! 以自定义类型(例如Json类)遍历选项
 public void GetOptions(MgOptionCallback c)
 {
     CoreView.traverseOptions(c);
     c.onGetOptionBool("contextActionEnabled", View.ContextActionEnabled);
     c.onGetOptionBool("zoomEnabled", ZoomEnabled);
 }
예제 #6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MgOptionCallback obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }