Reimplemented from OglGui::Window. Definition at line 1132 of file TextEdit.h. References ClampDocY(), ComputeCaretPosition(), ComputeDocHeight(), OglGui::DocDimensions::mDocY, mInitialized, mOldH, and OglGui::Window::ReshapeFunc(). 01133 { 01134 Window::ReshapeFunc(w,h); 01135 01136 if (!mInitialized) 01137 return; 01138 01139 ComputeDocHeight(); 01140 01141 // Anchor text at upper left corner 01142 mDocY += (h - mOldH); 01143 mOldH = h; 01144 01145 ClampDocY(); 01146 ComputeCaretPosition(); 01147 }
Here is the call graph for this function:
|