Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

void OglGui::ViewStrip::OnScroll ( ScrollBar src,
int  pos,
void *  data 
) [inline, virtual]

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:


Generated on Fri Mar 19 12:10:42 2010 for ImpalaSrc by  doxygen 1.5.1