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

int OglGui::TextArea::StringWidth ( OGLWND *  top,
std::string::size_type  start,
std::string::size_type  end 
) [inline, private]

Definition at line 253 of file TextArea.h.

References mText.

Referenced by CheckTextFormat().

00255     {
00256         INT w;
00257         INT h;
00258         std::string s = mText.substr(start, end - start + 1);
00259         oglSys.AbstFontTextSize(top, top->hFont, (char *) s.c_str(), &w, &h);
00260         return w;
00261     }


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