Revert "Remove initial property defaults"

This reverts commit 5f63d732b2.
This commit is contained in:
Rob Loach
2022-05-16 13:49:28 -04:00
parent 5f63d732b2
commit c580eed971

View File

@@ -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