diff --git a/include/Text.hpp b/include/Text.hpp index 0d14e46..ab4b915 100644 --- a/include/Text.hpp +++ b/include/Text.hpp @@ -132,11 +132,11 @@ class Text { ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, color); } - std::string text; - float fontSize; - ::Color color; - ::Font font; - float spacing; + std::string text = ""; + float fontSize = 10; + ::Color color = WHITE; + ::Font font = ::GetFontDefault(); + float spacing = 0; }; } // namespace raylib