diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-17 15:14:32 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-17 15:14:32 +0100 |
commit | e1e7ead5df44383c78c8da65fc5916be13d111b6 (patch) | |
tree | dfe2118fef4c12ad0d233710f8ad938623b91451 /src/crepe/api/Text.h | |
parent | c3c565f7c8d1e7e9899b8c2fbb1c313a45e4b10b (diff) |
feedback changes
Diffstat (limited to 'src/crepe/api/Text.h')
-rw-r--r-- | src/crepe/api/Text.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/crepe/api/Text.h b/src/crepe/api/Text.h index 92cca18..c30dc80 100644 --- a/src/crepe/api/Text.h +++ b/src/crepe/api/Text.h @@ -51,8 +51,7 @@ public: * \param font Optional font asset that can be passed or left empty. */ Text(game_object_id_t id, const vec2 & dimensions, const vec2 & offset, - const std::string & font_family, const Data & data, const std::string & text = "", - std::optional<Asset> font = std::nullopt); + const std::string & font_family, const Data & data, const std::string & text = ""); //! Label text. std::string text = ""; |