A text box, meant to be used inside a scroll area.
std::optional< gcn::Color > mOutlineColor
void draw(gcn::Graphics *graphics) override
Draws the text.
void setOutlineColor(const std::optional< gcn::Color > &color)
void setTextColor(const gcn::Color *color)
void setTextWrapped(const std::string &text, int minDimension)
Sets the text after wrapping it to the current width of the widget.
int getMinWidth() const
Get the minimum text width for the text box.
const gcn::Color * mTextColor