mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-12-01 09:24:33 +00:00
Revert "Remove initial property defaults"
This reverts commit 5f63d732b2.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user