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

void Impala::Application::MediaTable::GridWindow::GetXYForRow ( int  row,
int &  px,
int &  py 
) [inline]

Definition at line 132 of file GridWindow.h.

References GetGridColumns(), Impala::Application::MediaTable::TableDataView::GetStartRow(), Impala::Application::MediaTable::TableDataViewController::GetTableDataView(), OglGui::OglWindow::H(), mGridHeaderHeight, mGridHeight, and mGridWidth.

Referenced by DisplayFunc().

00133     {
00134         row-=GetTableDataView()->GetStartRow();
00135         int y = row / GetGridColumns();
00136         int x = row % GetGridColumns();
00137 
00138         px = x * (mGridWidth + 4);
00139         py = H() - mGridHeaderHeight - mGridHeight - (y * (mGridHeight + 4));
00140     }

Here is the call graph for this function:


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