From 0f0bf1c649388c07ae6e8dd784d7402f68691b96 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 8 Jun 2021 13:39:11 +0200 Subject: Remove images that are not visible from the loading queue, prepare for inline images --- include/Entry.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/Entry.hpp') 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; -- cgit v1.2.3