|
| Element (const String &text="", const shared_ptr< GFont > &font=shared_ptr< GFont >(), 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 shared_ptr< GFont > & | font (const shared_ptr< GFont > &_default) const |
| If this element specifies a font, returns that font, otherwise returns the default font. More...
|
|
const Vector2 & | offset () const |
| Offset from the baseline of the end of the previous element. More...
|
|
const Color4 & | outlineColor (const Color4 &_default) const |
|
void | setDefault (const shared_ptr< GFont > &dfont, float dsize, const Color4 &dcolor, const Color4 &doutline) |
| Provides the value of default values; called by Gui to overwrite the illegal values. More...
|
|
float | size (float _default) const |
|
const String & | text () const |
|