Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void OglGui::DocFlowDrag::ClampDocY ( int  docY  )  [inline]

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:


Generated on Thu Jan 13 09:26:24 2011 for ImpalaSrc by  doxygen 1.5.1