Reimplemented from OglGui::ScrollBar. Definition at line 40 of file TextEditLineScroller.h. References OglGui::TextEdit::ComputeMaxWidth(), OglGui::ScrollBar::DisplayFunc(), OglGui::DocDimensions::DocX(), OglGui::ScrollBar::mButThumb, mTextEdit, OglGui::ScrollBar::SetNewPos(), OglGui::ScrollBar::SetRange(), and OglGui::OglWindow::W(). 00041 { 00042 int totalRange = mTextEdit->ComputeMaxWidth() + 16; 00043 if (totalRange < mTextEdit->W() + 16) 00044 totalRange = mTextEdit->W() + 16; 00045 SetNewPos(-mTextEdit->DocX()); 00046 SetRange(totalRange - mTextEdit->W() + 16, 16); 00047 mButThumb->SetVisible(false); 00048 ScrollBar::DisplayFunc(); 00049 }
Here is the call graph for this function:
|