Reimplemented from OglGui::ScrollBarListener. Reimplemented in OglGui::DocScroller. Definition at line 87 of file ScrollWnd.h. References OglGui::OglWindow::GetDimensions(), OglGui::OglWindow::H(), mAdjusting, mContent, mHolder, mHorizontalScrollBar, mVerticalScrollBar, and OglGui::OglWindow::SetDimensions(). 00088 { 00089 if (mAdjusting) return; 00090 00091 int cX, cY, cW, cH; 00092 mContent->GetDimensions(cX, cY, cW, cH); 00093 if (src == mHorizontalScrollBar) 00094 cX = -position; 00095 if (src == mVerticalScrollBar) 00096 cY = position + mHolder->H() - cH; 00097 mContent->SetDimensions(cX, cY, cW, cH); 00098 }
Here is the call graph for this function:
|