Home || Architecture || Video Search || Visual Search || Scripts || Applications || 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 Fri Mar 19 12:08:01 2010 for ImpalaSrc by  doxygen 1.5.1