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

void Impala::Application::VideoExcel::TableWindow::UpdateZoomView ( int  row,
int  x,
int  y 
) [inline]

Definition at line 387 of file TableWindow.h.

References OglGui::OglWindow::GetOGLWND(), GetRowForY(), OglGui::OglWindow::H(), OglGui::OglWindow::mOglWnd, mZoomView, mZoomViewFollowMouse, mZoomViewSize, mZoomViewTargetWindow, and SetZoomView().

Referenced by HandleZoomView().

00388     {
00389         int zx = x;
00390         int zy = y;
00391 
00392         oglSys.VPToTopWndI(mOglWnd,&zx,&zy);
00393         oglSys.TopWndToVPI(mZoomViewTargetWindow->GetOGLWND(),&zx,&zy);
00394         if (zy + mZoomViewSize > mZoomViewTargetWindow->H())
00395             zy = mZoomViewTargetWindow->H() - mZoomViewSize;
00396 
00397         if (row == -1)
00398             row = GetRowForY(y);
00399         if (mZoomViewFollowMouse)
00400             viewSys.SetDimensions(mZoomView,zx,zy,mZoomViewSize,mZoomViewSize);
00401         if (mZoomView->UserData1 != (void *) row)
00402             SetZoomView(row);
00403     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:16:50 2011 for ImpalaSrc by  doxygen 1.5.1