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

int OglGui::TextEdit::FindIndexAtWidth ( string str,
int  w 
) [inline]

Definition at line 453 of file TextEdit.h.

References FindWidthAtIndex().

Referenced by DrawText().

00454     {
00455         int len = str->length();
00456         int ind = 0, indW;
00457         while (ind<len && (indW=FindWidthAtIndex(str, ind)) < w)
00458             ind++;
00459         return ind;
00460     }

Here is the call graph for this function:


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