diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-06-08 13:39:11 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-06-08 13:39:11 +0200 |
commit | 0f0bf1c649388c07ae6e8dd784d7402f68691b96 (patch) | |
tree | 22868fcd37cdc15c6d0b6002d85b7c1676b2f34d /include/Text.hpp | |
parent | da95623137f85b07abf9f56035c23819af1e7fe9 (diff) |
Remove images that are not visible from the loading queue, prepare for inline images
Diffstat (limited to 'include/Text.hpp')
-rw-r--r-- | include/Text.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Text.hpp b/include/Text.hpp index 5749072..a39b2ba 100644 --- a/include/Text.hpp +++ b/include/Text.hpp @@ -68,9 +68,9 @@ namespace QuickMedia Text(bool bold_font); Text(sf::String str, bool bold_font, unsigned int characterSize, float maxWidth, bool highlight_urls = false); - void setString(sf::String str); + void setString(const sf::String &str); const sf::String& getString() const; - void appendText(sf::String str); + void appendText(const sf::String &str); void setPosition(float x, float y); void setPosition(const sf::Vector2f &position); |