Definition at line 233 of file TableWindow.h. References Impala::Application::MediaTable::TableWindowCell::DISPLAY_IMAGE, Impala::Application::MediaTable::TableDataView::GetNumberOfRows(), GetRowHeight(), Impala::Application::MediaTable::TableDataView::GetStartRow(), Impala::Application::MediaTable::TableDataViewController::GetTableDataView(), mColumns, Impala::Application::MediaTable::TableWindowColumn::sHeaderHeight, and OglGui::OglWindow::UpdateScene(). Referenced by UpdateHorColumnPositions(), and UpdateRowsEvent(). 00234 { 00235 for (int col=0; col<mColumns.size(); col++) 00236 { 00237 if (mColumns[col]->GetDisplayMode() == TableWindowCell::DISPLAY_IMAGE) 00238 mColumns[col]->GetViewCache()->HideViews(); 00239 00240 int cindex = 0; 00241 int yoffset = TableWindowColumn::sHeaderHeight; 00242 int startR = GetTableDataView()->GetStartRow(); 00243 for (int i=startR; i<startR+GetTableDataView()->GetNumberOfRows(); i++) 00244 { 00245 TableWindowCell *c = mColumns[col]->GetCell(cindex++); 00246 int yheight = GetRowHeight(i); 00247 yoffset += yheight; 00248 c->UpdateRow(yoffset, i, yheight, mColumns[col]->mDisplayMode, mColumns[col]->mDisplayAttr); 00249 } 00250 00251 // ensure the rest is not used/invisible: 00252 mColumns[col]->HideCellsFrom(cindex); 00253 } 00254 UpdateScene(); 00255 }
Here is the call graph for this function:
|