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/Entry.hpp | |
parent | da95623137f85b07abf9f56035c23819af1e7fe9 (diff) |
Remove images that are not visible from the loading queue, prepare for inline images
Diffstat (limited to 'include/Entry.hpp')
-rw-r--r-- | include/Entry.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Entry.hpp b/include/Entry.hpp index 22680b5..1ee237b 100644 --- a/include/Entry.hpp +++ b/include/Entry.hpp @@ -24,11 +24,11 @@ namespace QuickMedia { void set_single_line(bool single_line); void set_editable(bool editable); - void set_text(std::string text); + void set_text(const std::string &text); void set_position(const sf::Vector2f &pos); void set_max_width(float width); void move_caret_to_end(); - void append_text(std::string str); + void append_text(const std::string &str); void replace(size_t start_index, size_t length, const sf::String &insert_str); int get_caret_index() const; |