mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-12-01 17:29:38 +00:00
Add Functions.hpp
This commit is contained in:
@@ -12,6 +12,7 @@ install(FILES
|
||||
Camera3D.hpp
|
||||
Color.hpp
|
||||
DroppedFiles.hpp
|
||||
Functions.hpp
|
||||
Font.hpp
|
||||
Gamepad.hpp
|
||||
Image.hpp
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user