void drawText(const std::string &text, int x, int y, gcn::Graphics::Alignment alignment, const gcn::Color &color, gcn::Font *font, bool outline=false, bool shadow=false, const std::optional< gcn::Color > &outlineColor={}, const std::optional< gcn::Color > &shadowColor={})
TextPreview(const std::string &text)
const gcn::Color * mTextColor
void draw(gcn::Graphics *graphics) override
Widget's draw method.