Home || Visual Search || Applications || Architecture || 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 mAspectRatio, mFixedSize, mHorizontal, OglGui::OglWindow::mOglWnd, and mSpacing.

Referenced by LayoutViews().

00177     {
00178         if(mHorizontal)
00179             mOglWnd->docX = -pos * (mSpacing+mFixedSize*mAspectRatio);
00180         else
00181             mOglWnd->docY = /*H()*/ + (pos*(mSpacing+mFixedSize/mAspectRatio));
00182     }


Generated on Thu Jan 13 09:27:21 2011 for ImpalaSrc by  doxygen 1.5.1