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

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

Reimplemented from OglGui::Window.

Definition at line 88 of file CameraRotateControl.h.

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

00089     {
00090         char        buf[30];
00091             SCENE3D*    cam;
00092         
00093         if (mTargetWnd && mTargetWnd->GetOGLWND())
00094         {
00095             cam = (SCENE3D *) mTargetWnd->GetOGLWND()->sceneInfo;
00096             if (!mCamModelInitialized)
00097             {
00098                 cam->rotateModel = CAM_ROT;
00099                 mCamModelInitialized = true;
00100             }
00101             sprintf(buf, "%s %s", mCamRotate ? "Rotate Cam" : "Rotate Scene",
00102                     ((cam->rotateModel == SCENE_ROT)) ? "(#)" : "(*)");
00103             mButtonGroup->SetText(buf);
00104         }
00105         Window::DisplayFunc();
00106     }

Here is the call graph for this function:


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