Reimplemented from OglGui::ScrollBarListener. Definition at line 945 of file TextEdit.h. References ComputeCaretPosition(), OglGui::OglWindow::H(), OglGui::DocDimensions::mDocH, OglGui::DocDimensions::mDocX, OglGui::DocDimensions::mDocY, mHorizontalScrollBar, and mVerticalScrollBar. 00946 { 00947 if (src == mHorizontalScrollBar) 00948 mDocX = -position; 00949 if (src == mVerticalScrollBar) 00950 mDocY = -mDocH + H() + position; 00951 ComputeCaretPosition(); 00952 }
Here is the call graph for this function:
|