19 private Object locker =
new Object();
20 private HandleRef swigCPtr;
22 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 swigCPtr =
new HandleRef(
this, cPtr);
27 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
29 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
38 global::System.GC.SuppressFinalize(
this);
41 protected virtual void Dispose(
bool disposing) {
43 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
48 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
108 public virtual void SizeChanged(
int iOverallWidth,
int iOverallHeight) {
115 SwigDirectorConnect();
116 DelegateHolder.OnHoldSwigDirectorDelegates(
this);
119 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction();
123 this.swigCMemOwn =
false;
128 private void SwigDirectorConnect() {
129 if (SwigDerivedClassHasMethod(
"ViewCreated", swigMethodTypes0))
131 if (SwigDerivedClassHasMethod(
"ViewAdded", swigMethodTypes1))
133 if (SwigDerivedClassHasMethod(
"ViewRemoved", swigMethodTypes2))
135 if (SwigDerivedClassHasMethod(
"ViewDestroyed", swigMethodTypes3))
137 if (SwigDerivedClassHasMethod(
"RedrawStarted", swigMethodTypes4))
139 if (SwigDerivedClassHasMethod(
"RedrawFinished", swigMethodTypes5))
141 if (SwigDerivedClassHasMethod(
"RegenStarted", swigMethodTypes6))
143 if (SwigDerivedClassHasMethod(
"RegenFinished", swigMethodTypes7))
145 if (SwigDerivedClassHasMethod(
"UpdateStarted", swigMethodTypes8))
147 if (SwigDerivedClassHasMethod(
"UpdateFinished", swigMethodTypes9))
149 if (SwigDerivedClassHasMethod(
"ViewModified", swigMethodTypes10))
151 if (SwigDerivedClassHasMethod(
"SizeChanged", swigMethodTypes11))
153 PCADGlobalsPINVOKE.
CFxDeviceReactor_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11);
156 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
157 global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.NonPublic | global::System.Reflection.BindingFlags.Instance,
null, methodTypes,
null);
158 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(
CFxDeviceReactor));
159 return hasDerivedMethod;
162 private void SwigDirectorMethodViewCreated(global::System.IntPtr pView) {
163 ViewCreated((pView == global::System.IntPtr.Zero) ?
null : new CFxView(pView, false));
166 private void SwigDirectorMethodViewAdded(global::System.IntPtr pView) {
167 ViewAdded((pView == global::System.IntPtr.Zero) ?
null : new CFxView(pView, false));
170 private void SwigDirectorMethodViewRemoved(global::System.IntPtr pView) {
171 ViewRemoved((pView == global::System.IntPtr.Zero) ?
null : new CFxView(pView, false));
174 private void SwigDirectorMethodViewDestroyed(global::System.IntPtr pView) {
175 ViewDestroyed((pView == global::System.IntPtr.Zero) ?
null : new CFxView(pView, false));
178 private void SwigDirectorMethodRedrawStarted() {
182 private void SwigDirectorMethodRedrawFinished() {
186 private void SwigDirectorMethodRegenStarted() {
190 private void SwigDirectorMethodRegenFinished() {
194 private void SwigDirectorMethodUpdateStarted() {
198 private void SwigDirectorMethodUpdateFinished() {
202 private void SwigDirectorMethodViewModified(global::System.IntPtr pView) {
203 ViewModified((pView == global::System.IntPtr.Zero) ?
null : new CFxView(pView, false));
206 private void SwigDirectorMethodSizeChanged(
int iOverallWidth,
int iOverallHeight) {
236 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
CFxView) };
237 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { typeof(
CFxView) };
238 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(CFxView) };
239 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { typeof(CFxView) };
240 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { };
241 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { };
242 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { };
243 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { };
244 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { };
245 private static global::System.Type[] swigMethodTypes9 =
new global::System.Type[] { };
246 private static global::System.Type[] swigMethodTypes10 =
new global::System.Type[] { typeof(CFxView) };
247 private static global::System.Type[] swigMethodTypes11 =
new global::System.Type[] { typeof(
int), typeof(
int) };
static void CFxDeviceReactor_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, CFxDeviceReactor.SwigDelegateCFxDeviceReactor_0 delegate0, CFxDeviceReactor.SwigDelegateCFxDeviceReactor_1 delegate1, CFxDeviceReactor.SwigDelegateCFxDeviceReactor_2 delegate2, CFxDeviceReactor.SwigDelegateCFxDeviceReactor_3 delegate3, CFxDeviceReactor.SwigDelegateCFxDeviceReactor_4 delegate4, CFxDeviceReactor.SwigDelegateCFxDeviceReactor_5 delegate5, CFxDeviceReactor.SwigDelegateCFxDeviceReactor_6 delegate6, CFxDeviceReactor.SwigDelegateCFxDeviceReactor_7 delegate7, CFxDeviceReactor.SwigDelegateCFxDeviceReactor_8 delegate8, CFxDeviceReactor.SwigDelegateCFxDeviceReactor_9 delegate9, CFxDeviceReactor.SwigDelegateCFxDeviceReactor_10 delegate10, CFxDeviceReactor.SwigDelegateCFxDeviceReactor_11 delegate11)