virtual void setString(const std::string &str)
Set a new string. Will cause an immediate redraw.
virtual void setFontSize(const unsigned int size)
Set the render font size for text.
BaseText is an abstract class storing relevant information to render a text element.
Definition: BaseText.hpp:12
std::string string_
Font size used for rendered text.
Definition: BaseText.hpp:15
A Texture is an element that stores a texture to render in the window. It can't be instantiated alone...
Definition: Texture.hpp:24
BaseText(const int x, const int y, const std::string &str, const unsigned int size)
String matching rendered string.
unsigned int fontSize()
Get the font size of the rendered text.