diff options
Diffstat (limited to 'include/Entry.hpp')
-rw-r--r-- | include/Entry.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/Entry.hpp b/include/Entry.hpp index 02d0a59..581dc14 100644 --- a/include/Entry.hpp +++ b/include/Entry.hpp @@ -22,6 +22,7 @@ namespace QuickMedia { void process_event(sf::Event &event); void draw(sf::RenderWindow &window); + void set_single_line(bool single_line); void set_editable(bool editable); void set_text(std::string text); void set_position(const sf::Vector2f &pos); @@ -29,7 +30,9 @@ namespace QuickMedia { void move_caret_to_end(); void append_text(std::string str); + bool is_editable() const; float get_height(); + const sf::String& get_text() const; OnEntrySubmit on_submit_callback; bool draw_background; |