Reimplemented from OglGui::GroupBox. Definition at line 72 of file LenseControl.h. References OglGui::GroupBox::DisplayFunc(), OglGui::OglWindow::GetDimensions(), mLense, OglGui::OglWindow::mOglWnd, mSizeSlider, mZoomSlider, and OglGui::Slider::SetValue(). 00073 { 00074 int x, y, w, h; 00075 00076 GroupBox::DisplayFunc(); 00077 00078 if (mLense){ 00079 mZoomSlider->SetValue((int) (100 * mLense->zoomX)); 00080 mSizeSlider->SetValue(mLense->view->w); 00081 } 00082 00083 mZoomSlider->GetDimensions(x, y, w, h); 00084 oglSys.ShadowPrintf(mOglWnd, x - 38, y + h/2 - 8, 00085 oglWHITE, oglBLACK, "Zoom"); 00086 mSizeSlider->GetDimensions(x, y, w, h); 00087 oglSys.ShadowPrintf(mOglWnd, x - 38, y + h/2 - 8, 00088 oglWHITE, oglBLACK, "Size"); 00089 }
Here is the call graph for this function:
|