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

void Impala::Application::MediaTable::TableViewCache::ShowView ( String  column,
int  row,
int  x,
int  y,
int  w,
int  h 
) [inline]

Definition at line 62 of file TableViewCache.h.

References AddDelayLoad(), Impala::Application::MediaTable::TableDataView::GetSortedQuid(), GetUnusedIndexFromCache(), GetViewFromCache(), mSource, mViews, and UpdateZoom().

Referenced by Impala::Application::TagsLife::BarPlot::HandleViews(), Impala::Application::MediaTable::BarPlot::HandleViews(), Impala::Application::MediaTable::GridWindow::UpdateGrid(), and Impala::Application::MediaTable::TableWindowCell::UpdateRow().

00063     {
00064 //        int id = mSource->GetID(row);
00065                 unsigned long long quid = mSource->GetSortedQuid(column, row);
00066         OGLVIEW *v = GetViewFromCache(quid);
00067         if (v)
00068         {
00069             if (v->UserData2 != (void*)2 && v->im)
00070             {
00071                 UpdateZoom(v, w, h);
00072 //                              mViewsToQuid[quid] = GetViewIndexFromCache(quid);
00073 //                v->UserData1 = (void*)quid;
00074                 viewSys.SetDimensions(v, x,y,w,h);
00075                 viewSys.SetTags(v,visibleTag);
00076             }
00077         }
00078         if (!v)
00079         {
00080             int index = GetUnusedIndexFromCache();
00081                         v = mViews[index];
00082             viewSys.SetDimensions(v,x,y,w,h);
00083             AddDelayLoad(quid, index);
00084         }
00085     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:15:36 2011 for ImpalaSrc by  doxygen 1.5.1