Definition at line 395 of file View.h. References mIs2D, mIsDestroying, mIsDestructing, mListener, mOldView2DFuncs, mOldView3DFuncs, mView2D, mView3D, OglGui::ViewListener::OnDestroyView(), OglGui::View::VIEW3DFUNCS::OnDestroyView, and OglGui::View::VIEW2DFUNCS::OnDestroyView. Referenced by MyOnDestroyView(), and MyOnDestroyView3D(). 00396 { 00397 if (mIs2D && mOldView2DFuncs.OnDestroyView != 0) 00398 mOldView2DFuncs.OnDestroyView(mView2D); 00399 if (!mIs2D && mOldView3DFuncs.OnDestroyView != 0) 00400 mOldView3DFuncs.OnDestroyView(mView3D); 00401 00402 if (mListener) 00403 mListener->OnDestroyView(this); 00404 00405 mIsDestroying = true; 00406 if (!mIsDestructing) 00407 delete this; 00408 }
Here is the call graph for this function:
|