Definition at line 154 of file TableWindow.h. References OglGui::OglWindow::GetDimensions(), mColumns, and mHorScrollPosition. Referenced by MouseFunc(). 00155 { 00156 int x,y,w,h,xp = -mHorScrollPosition; 00157 for (int i=0; i<mColumns.size(); i++) 00158 { 00159 mColumns[i]->GetDimensions(x,y,w,h); 00160 xp += (w + 2); 00161 if (xp > mx) 00162 return i; 00163 } 00164 return 0; 00165 }
Here is the call graph for this function:
|