Reimplemented from OglGui::SliderListener. Definition at line 43 of file ZoomControl.h. References mAdjusting, mTargetIs2D, mTargetWindow, mZoomSlider, and OglGui::Slider::Value(). 00044 { 00045 if (mTargetWindow == 0 || mAdjusting) return; 00046 00047 float val = mZoomSlider->Value() / 100.0f; 00048 if (mTargetIs2D) 00049 viewSys.ZoomTagged(mTargetWindow, selectedTag, 1, val, val, 0); 00050 else 00051 view3DSys.ZoomTagged(mTargetWindow, selectedTag, 1, val, val, 0); 00052 }
Here is the call graph for this function:
|