예제 #1
0
        public override void Dispose()
        {
            foreach (CeguiDotNet.Imageset imgset in mDebugRTTImageSets)
            {
                CeguiDotNet.ImagesetManager.getSingleton().destroyImageset(imgset);
            }
            mDebugRTTImageSets.Clear();
            mDebugRTTImageSets = null;


            mMainNode = null;
            mSpinny   = null;
            mhvListener.Dispose();
            mhvListener = null;
            mhdrListener.Dispose();
            mhdrListener = null;
            mCompositorSelectorViewManager = null;


            mGuiAvg            = null;
            mGuiCurr           = null;
            mGuiBest           = null;
            mGuiWorst          = null;
            mGuiTris           = null;
            mGuiDbg            = null;
            mGuiRoot           = null;
            mDebugRTTListbox   = null;
            mDebugRTTImageSets = null;



            if (WindowManager.Instance != null)
            {
                WindowManager.Instance.destroyAllWindows();
            }
            if (mGuiSystem != null)
            {
                mGuiSystem.Dispose();
            }
            mGuiSystem = null;
            if (mGuiRenderer != null)
            {
                mGuiRenderer.Dispose();
            }
            mGuiRenderer = null;

            if (mLog != null)
            {
                mLog.Dispose();
            }
            mLog = null;

            base.Dispose();
        }
예제 #2
0
        public override void Dispose()
        {
            mBackgroundWindow.Dispose();
            mBackgroundWindow = null;
            mTestWindow.Dispose();
            mTestWindow = null;
            mQuitButton.Dispose();
            mQuitButton = null;
            mEditbox.Dispose();
            mEditbox = null;

            WindowManager.Instance.destroyAllWindows();
            mGuiSystem.Dispose();
            mGuiSystem = null;
            mGuiRenderer.Dispose();
            mGuiRenderer = null;

            base.Dispose();
        }
예제 #3
0
        public override void Dispose()
        {
            mBackgroundWindow.Dispose();
            mBackgroundWindow = null;
            mEditorWindow.Dispose();
            mEditorWindow = null;
            mQuitButton.Dispose();
            mQuitButton = null;
            mEditbox.Dispose();
            mEditbox = null;
            mCombobox.Dispose();
            mCombobox = null;
            mCboItem1 = null; mCboItem2 = null; mCboItem3 = null; mCboItem4 = null;

            WindowManager.Instance.destroyAllWindows();
            mGuiSystem.Dispose();
            mGuiSystem = null;
            mGuiRenderer.Dispose();
            mGuiRenderer = null;

            mLog = null;
            base.Dispose();
        }