Reimplemented from OglGui::Window. Definition at line 216 of file VideoJpgPlayer.h. References OglGui::OglWindow::H(), OglGui::Window::InitDisplayFunc(), mFitViewToWindow, mImH, mImW, mOglView, mPower2H, mPower2W, mScaleImageToView, and OglGui::OglWindow::W(). 00217 { 00218 if (mFitViewToWindow && mOglView) 00219 viewSys.SetDimensions(mOglView, 2, 2, W()-4, H()-4); 00220 00221 if (mOglView && mScaleImageToView && mOglView->im) 00222 { 00223 float zX = W()/(float)mImW; 00224 float zY = H()/(float)mImH; 00225 if (mOglView->texturing && mOglView->im->noTexScaling) 00226 { 00227 zX = (W()/(float)mImW)*(mPower2W/(float)mImW); 00228 zY = (H()/(float)mImH)*(mPower2H/(float)mImH); 00229 } 00230 viewSys.SetZoom(mOglView, zX, zY); 00231 } 00232 Window::InitDisplayFunc(); 00233 }
Here is the call graph for this function:
|