diff options
Diffstat (limited to 'include/Entry.hpp')
-rw-r--r-- | include/Entry.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/Entry.hpp b/include/Entry.hpp index 00c22a4..f4cbc5d 100644 --- a/include/Entry.hpp +++ b/include/Entry.hpp @@ -37,6 +37,9 @@ namespace QuickMedia { float get_height(); const std::string& get_text() const; + void set_background_color(mgl::Color color); + void set_padding_scale(float scale); + OnEntrySubmit on_submit_callback; bool draw_background; private: @@ -45,5 +48,6 @@ namespace QuickMedia { RoundedRectangle background; mgl::Text placeholder; bool mouse_left_inside; + float padding_scale = 1.0f; }; }
\ No newline at end of file |