#include <llhudtext.h>
Collaboration diagram for LLHUDText::LLHUDTextSegment:
Public Member Functions | |
LLHUDTextSegment (const LLWString &text, const LLFontGL::StyleFlags style, const LLColor4 &color) | |
F32 | getWidth (const LLFontGL *font) |
const LLWString & | getText () const |
void | clearFontWidthMap () |
Public Attributes | |
LLColor4 | mColor |
LLFontGL::StyleFlags | mStyle |
Private Attributes | |
LLWString | mText |
std::map< const LLFontGL *, F32 > | mFontWidthMap |
Definition at line 61 of file llhudtext.h.
LLHUDText::LLHUDTextSegment::LLHUDTextSegment | ( | const LLWString & | text, | |
const LLFontGL::StyleFlags | style, | |||
const LLColor4 & | color | |||
) | [inline] |
Definition at line 64 of file llhudtext.h.
void LLHUDText::LLHUDTextSegment::clearFontWidthMap | ( | ) | [inline] |
const LLWString& LLHUDText::LLHUDTextSegment::getText | ( | ) | const [inline] |
Definition at line 1007 of file llhudtext.cpp.
References LLFontGL::getWidthF32(), mFontWidthMap, mText, and width.
Definition at line 70 of file llhudtext.h.
std::map<const LLFontGL*, F32> LLHUDText::LLHUDTextSegment::mFontWidthMap [private] |
Definition at line 71 of file llhudtext.h.
LLWString LLHUDText::LLHUDTextSegment::mText [private] |