Reimplemented from OglGui::Window. Definition at line 395 of file DirImViewer.h. References CellHeight(), ClearViews(), OglGui::Window::DisplayFunc(), FindFirstVisible(), FindLastVisible(), OglGui::DocFlowDrag::FlowDragDisplay(), OglGui::OglWindow::H(), HandleView(), mFlowDragger, mOldStartIm, mPagingExtra, and OglGui::DocFlowDrag::SetFlowPageExtra(). 00396 { 00397 int cellH = CellHeight(); 00398 int h = H(); 00399 int dif = (cellH > h) ? h-cellH : h % cellH; 00400 00401 mFlowDragger.SetFlowPageExtra(dif-mPagingExtra); 00402 mFlowDragger.FlowDragDisplay(); 00403 OGC myOGC; 00404 OGCSave(&myOGC); 00405 int first = FindFirstVisible(); 00406 int last = FindLastVisible(); 00407 int range = last - first + 1; 00408 int i, vIdx; 00409 if (mOldStartIm <= first) 00410 { 00411 for (i=first, vIdx=-1; i<=last; i++) 00412 HandleView(++vIdx,i,false); 00413 ClearViews(vIdx+1); 00414 } 00415 else 00416 { 00417 for (i=last, vIdx=range; i>=first; i--) 00418 HandleView(--vIdx, i, true); 00419 ClearViews(range); 00420 } 00421 mOldStartIm = first; 00422 OGCRestore(&myOGC); 00423 Window::DisplayFunc(); 00424 }
Here is the call graph for this function:
|