Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

virtual void OglGui::TextEdit::ReshapeFunc ( int  w,
int  h 
) [inline, virtual]

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:


Generated on Fri Mar 19 12:08:17 2010 for ImpalaSrc by  doxygen 1.5.1