LLHUDText::LLHUDTextSegment Class Reference

#include <llhudtext.h>

Collaboration diagram for LLHUDText::LLHUDTextSegment:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLHUDTextSegment (const LLWString &text, const LLFontGL::StyleFlags style, const LLColor4 &color)
F32 getWidth (const LLFontGL *font)
const LLWStringgetText () const
void clearFontWidthMap ()

Public Attributes

LLColor4 mColor
LLFontGL::StyleFlags mStyle

Private Attributes

LLWString mText
std::map< const LLFontGL *, F32mFontWidthMap


Detailed Description

Definition at line 61 of file llhudtext.h.


Constructor & Destructor Documentation

LLHUDText::LLHUDTextSegment::LLHUDTextSegment ( const LLWString text,
const LLFontGL::StyleFlags  style,
const LLColor4 color 
) [inline]

Definition at line 64 of file llhudtext.h.


Member Function Documentation

F32 LLHUDText::LLHUDTextSegment::getWidth ( const LLFontGL font  ) 

Definition at line 1005 of file llhudtext.cpp.

References LLFontGL::getWidthF32(), mFontWidthMap, and mText.

Here is the call graph for this function:

const LLWString& LLHUDText::LLHUDTextSegment::getText (  )  const [inline]

Definition at line 67 of file llhudtext.h.

References mText.

void LLHUDText::LLHUDTextSegment::clearFontWidthMap (  )  [inline]

Definition at line 68 of file llhudtext.h.

References mFontWidthMap.


Member Data Documentation

Definition at line 70 of file llhudtext.h.

Definition at line 71 of file llhudtext.h.

Definition at line 73 of file llhudtext.h.

Referenced by getText(), and getWidth().

Definition at line 74 of file llhudtext.h.

Referenced by clearFontWidthMap(), and getWidth().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:49:25 2008 for SecondLife by  doxygen 1.5.5