Reimplemented from OglGui::ScrollBarListener. Definition at line 176 of file ViewStrip.h. References OglGui::OglWindow::H(), mAspectRatio, mFixedSize, mHorizontal, OglGui::OglWindow::mOglWnd, and mSpacing. 00177 { 00178 if(mHorizontal) 00179 mOglWnd->docX = -pos * (mSpacing+mFixedSize*mAspectRatio); 00180 else 00181 mOglWnd->docY = H() + (pos*(mSpacing+mFixedSize/mAspectRatio)); 00182 }
Here is the call graph for this function:
|