Definition at line 64 of file DocFlowDrag.h. References OglGui::DocDimensions::DocH(), OglGui::DocDimensions::DocY(), OglGui::OglWindow::H(), mFlowDoc, mFlowing, mFlowWnd, OglGui::OglWindow::SetAlwaysDraw(), and OglGui::OglWindow::UpdateScene(). Referenced by FlowDragDisplay(), and MouseFunc(). 00065 { 00066 int docH = mFlowDoc->DocH(); 00067 int wndH = mFlowWnd->H(); 00068 if (docY > 0 || docY < -docH + wndH) 00069 { 00070 mFlowWnd->SetAlwaysDraw(mFlowing = false); 00071 docY = (docY>0) ? 0 : -docH + wndH; 00072 mFlowWnd->UpdateScene(); 00073 } 00074 mFlowDoc->DocY(docY); 00075 }
Here is the call graph for this function:
|