Reimplemented from OglGui::Window. Definition at line 391 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(). 00392 { 00393 int cellH = CellHeight(); 00394 int h = H(); 00395 int dif = (cellH > h) ? h-cellH : h % cellH; 00396 00397 mFlowDragger.SetFlowPageExtra(dif-mPagingExtra); 00398 mFlowDragger.FlowDragDisplay(); 00399 OGC myOGC; 00400 OGCSave(&myOGC); 00401 int first = FindFirstVisible(); 00402 int last = FindLastVisible(); 00403 int range = last - first + 1; 00404 int i, vIdx; 00405 if (mOldStartIm <= first) 00406 { 00407 for (i=first, vIdx=-1; i<=last; i++) 00408 HandleView(++vIdx,i,false); 00409 ClearViews(vIdx+1); 00410 } 00411 else 00412 { 00413 for (i=last, vIdx=range; i>=first; i--) 00414 HandleView(--vIdx, i, true); 00415 ClearViews(range); 00416 } 00417 mOldStartIm = first; 00418 OGCRestore(&myOGC); 00419 Window::DisplayFunc(); 00420 }
Here is the call graph for this function: ![]()
|