Pyrogenesis
13997
|
An SGUIText object is a parsed string, divided into text-rendering components. More...
#include <GUItext.h>
Classes | |
struct | SSpriteCall |
A sprite call to the CRenderer. More... | |
struct | STextCall |
A text call to the CRenderer. More... | |
Public Attributes | |
std::vector< STextCall > | m_TextCalls |
List of TextCalls, for instance "Hello", "there!". More... | |
std::list< SSpriteCall > | m_SpriteCalls |
List of sprites, or "icons" that should be rendered along with the text. More... | |
CSize | m_Size |
Width and height of the whole output, used when setting up scrollbars and such. More... | |
An SGUIText object is a parsed string, divided into text-rendering components.
Each component, being a call to the Renderer. For instance, if you by tags change the color, then the GUI will have to make individual calls saying it want that color on the text.
For instance: "Hello [b]there[/b] bunny!"
That without word-wrapping would mean 3 components. i.e. 3 calls to CRenderer. One drawing "Hello", one drawing "there" in bold, and one drawing "bunny!".
CSize SGUIText::m_Size |
std::list<SSpriteCall> SGUIText::m_SpriteCalls |
std::vector<STextCall> SGUIText::m_TextCalls |