Reimplemented from OglGui::Window. Definition at line 394 of file ImageSetIdxGrid.h. References CellHeight(), ClearViews(), OglGui::Window::DisplayFunc(), FindFirstVisible(), FindLastVisible(), OglGui::DocFlowDrag::FlowDragDisplay(), OglGui::OglWindow::H(), HandleView(), mFlowDragger, mLastSelected, mOldStartIm, OglGui::DocFlowDrag::SetFlowPageExtra(), and SetSelected(). 00395 { 00396 int dif = H() % CellHeight(); 00397 mFlowDragger.SetFlowPageExtra(dif-1); 00398 mFlowDragger.FlowDragDisplay(); 00399 00400 OGC myOGC; 00401 OGCSave(&myOGC); 00402 int first = FindFirstVisible(); 00403 int last = FindLastVisible(); 00404 int range = last - first + 1; 00405 int i, vIdx; 00406 00407 int oldLastSelected = mLastSelected; 00408 SetSelected(-1); 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 SetSelected(oldLastSelected); 00422 00423 mOldStartIm = first; 00424 OGCRestore(&myOGC); 00425 Window::DisplayFunc(); 00426 }
Here is the call graph for this function:
|