aboutsummaryrefslogtreecommitdiff
path: root/include/Entry.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-10-03 06:54:57 +0200
committerdec05eba <dec05eba@protonmail.com>2020-10-03 06:54:57 +0200
commitacaa77f837af3ea8503888910d7888efd3c6cb3e (patch)
tree5707d7700cd80f41dba4e42ad771e63505a9d2b0 /include/Entry.hpp
parentca07c2be3bba3291f59d160eac13831c85d16550 (diff)
4chan: use entry instead of search input, fix posting
Diffstat (limited to 'include/Entry.hpp')
-rw-r--r--include/Entry.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/Entry.hpp b/include/Entry.hpp
index 18a860c..2ef6b04 100644
--- a/include/Entry.hpp
+++ b/include/Entry.hpp
@@ -26,10 +26,12 @@ namespace QuickMedia {
void set_position(const sf::Vector2f &pos);
void set_max_width(float width);
void move_caret_to_end();
+ void append_text(std::string str);
float get_height();
OnEntrySubmit on_submit_callback;
+ bool draw_background;
private:
Text text;
float width;