Definition at line 249 of file StringColumns.h. References OglGui::OglWindow::H(), mColumns, OglGui::DocDimensions::mDocH, and mItemHeight. Referenced by AddColumn(), and AddString(). 00250 { 00251 int maxElem = 0; 00252 for (int i=0; i<mColumns.size(); i++) 00253 { 00254 StrVector& strVector = mColumns[i].strVector; 00255 if (strVector.size() > maxElem) 00256 maxElem = strVector.size(); 00257 } 00258 mDocH = H(); 00259 if (maxElem*mItemHeight > mDocH) 00260 mDocH = maxElem*mItemHeight; 00261 }
Here is the call graph for this function:
|