diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-12-01 21:03:59 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-12-01 21:04:17 +0100 |
commit | b0a681964a5db50b970e59a90c89a09f568f5447 (patch) | |
tree | 08179fec8d70dd9c6a359de3c0d64a0dd77876d2 /include/Entry.hpp | |
parent | 4afa53a8bb6b02c07db8c54362311c21444a3ced (diff) |
Add more texts to config font size, set colors for all text from theme, add dark and light theme, choose icons based on theme brightness
Remove matrix logo from matrix chat
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 |