Definition at line 71 of file TableColumn.h. References Impala::Application::VideoExcel::TableCell::DISPLAY_IMAGE, GetCell(), Impala::Application::VideoExcel::TableDataSource::GetNumberOfRows(), Impala::Application::VideoExcel::TableDataSource::GetRowHeight(), Impala::Application::VideoExcel::TableDataSource::GetStartRow(), Impala::Application::VideoExcel::TableViewCache::HideViews(), mCache, mCellCache, mDisplayAttr, mDisplayMode, mSource, OglGui::OglWindow::SetVisible(), sHeaderHeight, and OglGui::OglWindow::UpdateScene(). Referenced by DisplayFunc(), SetDisplayMode(), and UpdateRowsEvent(). 00072 { 00073 if (mDisplayMode == TableCell::DISPLAY_IMAGE) 00074 mCache->HideViews(); 00075 00076 int cindex = 0; 00077 int yoffset = sHeaderHeight; 00078 int startR = mSource->GetStartRow(); 00079 for (int i=startR; i<startR+mSource->GetNumberOfRows(); i++) 00080 { 00081 TableCell *c = GetCell(cindex++); 00082 int yheight = mSource->GetRowHeight(i); 00083 yoffset += yheight; 00084 c->UpdateRow(yoffset, i, mDisplayMode, mDisplayAttr); 00085 } 00086 00087 // ensure the rest is not used/invisible: 00088 for (int i=cindex; i<mCellCache.size(); i++) 00089 mCellCache[i]->SetVisible(false); 00090 UpdateScene(); 00091 }
Here is the call graph for this function:
|