|
| | Element (const std::string &text="", const GFont::Ref &font=GFont::Ref(), float size=-1, const Color4 &color=Color4(-1,-1,-1,-1), const Color4 &outlineColor=Color4(-1,-1,-1,-1), const Vector2 &offset=Vector2::zero()) |
| |
| const Color4 & | color (const Color4 &_default) const |
| |
| const GFont::Ref & | font (const GFont::Ref &_default) const |
| | If this element specifies a font, returns that font, otherwise returns the default font.
|
| |
| const Vector2 & | offset () const |
| | Offset from the baseline of the end of the previous element.
|
| |
| const Color4 & | outlineColor (const Color4 &_default) const |
| |
| void | setDefault (const GFont::Ref &dfont, float dsize, const Color4 &dcolor, const Color4 &doutline) |
| | Provides the value of default values; called by Gui to overwrite the illegal values.
|
| |
| float | size (float _default) const |
| |
| const std::string & | text () const |
| |