Reimplemented from OglGui::OglWindow. Reimplemented in OglGui::SixView2DWindow. Definition at line 604 of file Window.h. References mIs2d, mListenerData, OglGui::OglWindow::mOglWnd, OglGui::OglWindow::mOldUserCFunctions, mWindowListener, OglGui::OglWindow::ViewportFunc(), and OglGui::WindowListener::WindowViewportEvent(). Referenced by OglGui::Slider::ViewportFunc(), and OglGui::SixView2DWindow::ViewportFunc(). 00605 { 00606 if (mOldUserCFunctions.viewportFunc) 00607 OglWindow::ViewportFunc(width, height); 00608 else if (mIs2d) 00609 viewSys.Viewport(mOglWnd, width, height); 00610 else 00611 view3DSys.Viewport(mOglWnd, width, height); 00612 00613 if (mWindowListener) 00614 mWindowListener->WindowViewportEvent(this, width, height, 00615 mListenerData); 00616 }
Here is the call graph for this function:
|