Add Functions.hpp

This commit is contained in:
Rob Loach
2020-12-30 23:58:59 -05:00
parent 9558192ffc
commit 0cb5cb5acf
3 changed files with 4 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ install(FILES
Camera3D.hpp
Color.hpp
DroppedFiles.hpp
Functions.hpp
Font.hpp
Gamepad.hpp
Image.hpp

View File

@@ -117,7 +117,8 @@ class Font : public ::Font {
/**
* Create an image from text (custom sprite font)
*/
inline Image ImageText(const std::string& text, float fontSize, float spacing, ::Color tint) const {
inline Image ImageText(const std::string& text, float fontSize,
float spacing, ::Color tint) const {
return ::ImageTextEx(*this, text.c_str(), fontSize, spacing, tint);
}

View File

@@ -13,6 +13,7 @@
"include/Camera3D.hpp",
"include/Color.hpp",
"include/DroppedFiles.hpp",
"include/Functions.hpp",
"include/Font.hpp",
"include/Gamepad.hpp",
"include/Image.hpp",