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 *,
F32
mFontWidthMap

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

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

Definition at line 68 of file llhudtext.h.

References mFontWidthMap.

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

Definition at line 67 of file llhudtext.h.

References mText.

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

Definition at line 1007 of file llhudtext.cpp.

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


Member Data Documentation

LLColor4 LLHUDText::LLHUDTextSegment::mColor

Definition at line 70 of file llhudtext.h.

std::map<const LLFontGL*, F32> LLHUDText::LLHUDTextSegment::mFontWidthMap [private]

Definition at line 74 of file llhudtext.h.

Referenced by clearFontWidthMap(), and getWidth().

LLFontGL::StyleFlags LLHUDText::LLHUDTextSegment::mStyle

Definition at line 71 of file llhudtext.h.

LLWString LLHUDText::LLHUDTextSegment::mText [private]

Definition at line 73 of file llhudtext.h.

Referenced by getText(), and getWidth().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:24 2010 for Second Life Viewer by  doxygen 1.4.7