Definition at line 189 of file ViewStrip.h. References OglGui::OglWindow::H(), mAspectRatio, mFixedSize, mHorizontal, mNrIm, mScrollBar, mSpacing, OglGui::ScrollBar::SetRange(), and OglGui::OglWindow::W(). Referenced by AddImage(), and LayoutViews(). 00190 { 00191 if (mHorizontal) 00192 mScrollBar->SetRange(mNrIm, W()/(mSpacing+mFixedSize*mAspectRatio)); 00193 else 00194 mScrollBar->SetRange(mNrIm, H()/(mSpacing+mFixedSize/mAspectRatio)); 00195 }
Here is the call graph for this function:
|