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

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

Definition at line 124 of file GridWindow.h.

References GetGridColumns(), Impala::Application::VideoExcel::TableDataSource::GetStartRow(), OglGui::OglWindow::H(), mGridHeaderHeight, mGridHeight, mGridWidth, and mSource.

Referenced by DisplayFunc().

00125     {
00126         row-=mSource->GetStartRow();
00127         int y = row / GetGridColumns();
00128         int x = row % GetGridColumns();
00129 
00130         px = x * (mGridWidth + 4);
00131         py = H() - mGridHeaderHeight - mGridHeight - (y * (mGridHeight + 4));   
00132     }

Here is the call graph for this function:


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