Inherits AbstractScreenElement.
Public Member Functions | |
Label (const std::wstring &text, const std::string &textFont, const Vector2 &position, const Colour &colour, const int nTextSize, const int nTextAlignment) | |
virtual void | Update (const int nDelta) |
virtual void | Render (AbstractRenderer *pRenderer, const int nDelta) |
void | SetText (const std::wstring &text) |
const std::wstring & | GetText () const |
void | SetTextAlignment (const int nTextAlignment) |
int | GetTextAlignment () const |
void | SetTextSize (int nSize) |
int | GetTextSize () const |
void | SetPosition (const Vector2 &position) |
const Vector2 & | GetPosition () const |
void | SetFont (const std::string &font) |
const std::string & | GetFont () const |
void | SetColour (const Colour &colour) |
const Colour & | GetColour () const |