Reimplemented from OglGui::ScrollWnd. Definition at line 71 of file DocScroller.h. References OglGui::DocDimensions::DocH(), OglGui::DocDimensions::DocX(), OglGui::DocDimensions::DocY(), OglGui::OglWindow::H(), OglGui::ScrollWnd::mAdjusting, mDoc, OglGui::ScrollWnd::mHolder, OglGui::ScrollWnd::mHorizontalScrollBar, and OglGui::ScrollWnd::mVerticalScrollBar. 00072 { 00073 if (mAdjusting) return; 00074 if (src == mHorizontalScrollBar) 00075 mDoc->DocX(-position); 00076 if (src == mVerticalScrollBar) 00077 { 00078 int nPos = -mDoc->DocH() + mHolder->H() + position; 00079 mDoc->DocY(nPos); 00080 } 00081 }
Here is the call graph for this function:
|