Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

virtual void OglGui::OglWindow::ExitFunc (  )  [inline, virtual]

Reimplemented in OglGui::CheckBoxDrum, OglGui::TextEdit, OglGui::ViewSphere, and Impala::Visualization::Window.

Definition at line 306 of file OglWindow.h.

References mIsDestructing, mIsExiting, mOglWnd, and mOldUserCFunctions.

Referenced by Impala::Visualization::Window::ExitFunc(), OglGui::TextEdit::ExitFunc(), and GlueExitFunc().

00307     {
00308         mIsExiting = true;
00309         if (mOldUserCFunctions.exitFunc)
00310         {
00311             OGLUSERFUNCS funcs = mOldUserCFunctions;
00312             mOldUserCFunctions.exitFunc = 0;
00313             funcs.exitFunc(mOglWnd);
00314         }
00315 
00316         if (!mIsDestructing)
00317             delete this;
00318     }


Generated on Fri Mar 19 12:04:14 2010 for ImpalaSrc by  doxygen 1.5.1