Definition at line 423 of file TextEdit.h. References OglGui::DocDimensions::mDocW, OglGui::DocDimensions::mDocX, and OglGui::OglWindow::W(). Referenced by HandleScrollBarsOnDisplay(). 00424 { 00425 if (mDocX > 0) 00426 mDocX = 0; 00427 if (mDocX + mDocW < W()) 00428 mDocX = W() - mDocW; 00429 }
Here is the call graph for this function:
|