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

virtual void OglGui::CameraMoveControl::DisplayFunc (  )  [inline, virtual]

Reimplemented from OglGui::Window.

Definition at line 84 of file CameraMoveControl.h.

References OglGui::Window::DisplayFunc(), OglGui::OglWindow::GetOGLWND(), OglGui::CrossControl::mButtonGroup, mCamModelInitialized, mCamMove, OglGui::CrossControl::mTargetWnd, and OglGui::GroupBox::SetText().

00085     {
00086         char        buf[30];
00087             SCENE3D*    cam;
00088         
00089         if (mTargetWnd && mTargetWnd->GetOGLWND())
00090         {
00091             cam = (SCENE3D *) mTargetWnd->GetOGLWND()->sceneInfo;
00092             if (!mCamModelInitialized)
00093             {
00094                 cam->moveModel = DIR_MOVE;
00095                 cam->rotateModel = CAM_ROT;
00096                 mCamModelInitialized = true;
00097             }
00098             sprintf(buf, "%s %s", mCamMove ? "Move Cam" : "Move Scene",
00099                                   (cam->moveModel==GRID_MOVE) ? "(#)" : "(*)");
00100             mButtonGroup->SetText(buf);
00101         }
00102         Window::DisplayFunc();
00103     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:58:28 2010 for ImpalaSrc by  doxygen 1.5.1