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

void Impala::Application::VideoExcel::GridWindow::SetZoomView ( int  row  )  [inline]

Definition at line 390 of file GridWindow.h.

References Impala::Application::VideoExcel::TableDataSource::GetID(), Impala::Application::VideoExcel::TableViewCache::GetViewFromCache(), mCache, mShowZoomView, mSource, and mZoomView.

Referenced by UpdateZoomView().

00391     {
00392         if (!mCache || !mShowZoomView)
00393             return;
00394 
00395         OGLVIEW* v = mCache->GetViewFromCache(mSource->GetID(row));
00396         if (!v || v->UserData2 == (void*)2) // image not currently in cache?
00397             return;
00398         OGLIMAGE* im = v->im;
00399         viewSys.SetImage(mZoomView, im);
00400 
00401         float zoom = (mZoomView->h)/(float)im->h;
00402         viewSys.SetZoom(mZoomView, zoom, zoom);
00403     }

Here is the call graph for this function:


Generated on Fri Mar 19 10:52:56 2010 for ImpalaSrc by  doxygen 1.5.1