Definition at line 317 of file Slider.h. References mMaxVal, mMinVal, mSliderListener, mSliderListenerData, mVal, and OglGui::SliderListener::SliderChangedEvent(). Referenced by OglGui::ZoomControl::ButtonSelectionEvent(), OglGui::ZoomControl::DisplayFunc(), OglGui::LenseControl::DisplayFunc(), KeyboardFunc(), and MouseFunc(). 00318 { 00319 if (val < mMinVal) 00320 val = mMinVal; 00321 if (val > mMaxVal) 00322 val = mMaxVal; 00323 if (val == mVal) 00324 return; 00325 00326 mVal = val; 00327 if (mSliderListener) 00328 mSliderListener->SliderChangedEvent(this, mSliderListenerData); 00329 }
Here is the call graph for this function:
|