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

int Impala::Application::MediaTable::TableWindow::GetRowForY ( int  sy  )  [inline]

Definition at line 491 of file TableWindow.h.

References Impala::Application::MediaTable::TableDataView::GetEndRow(), Impala::Application::MediaTable::TableWindowColumn::GetHeaderHeight(), GetRowHeight(), Impala::Application::MediaTable::TableDataViewController::GetTableDataView(), and OglGui::OglWindow::H().

Referenced by MouseFunc(), and UpdateZoomView().

00492     {
00493         int my = 0, h=H();
00494         for (int y = GetTableDataView()->GetStartRow(); y < GetTableDataView()->GetEndRow(); y++)
00495         {
00496             my += GetRowHeight(y);
00497             if ((h - TableWindowColumn::GetHeaderHeight() - my) < sy)
00498                 return y;
00499         }
00500         return -1;
00501     }

Here is the call graph for this function:


Generated on Fri Mar 19 10:47:05 2010 for ImpalaSrc by  doxygen 1.5.1