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

int OglGui::TextEdit::ComputeDocHeight (  )  [inline]

Definition at line 368 of file TextEdit.h.

References GetLineAtIndex(), OglGui::DocDimensions::mDocH, and mLineH.

Referenced by KeyboardFunc(), RecomputeDocument(), and ReshapeFunc().

00369     {
00370         int h = 0;
00371         int nChar;
00372         int ind = 0;
00373 
00374         while ((nChar = GetLineAtIndex(0, ind))!=-1)
00375         {
00376             ind += nChar+1;
00377             h += mLineH;
00378         }
00379         return mDocH = h;
00380     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:27:04 2011 for ImpalaSrc by  doxygen 1.5.1