diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Config.hpp | 3 | ||||
-rw-r--r-- | include/Entry.hpp | 4 | ||||
-rw-r--r-- | include/Theme.hpp | 1 |
3 files changed, 7 insertions, 1 deletions
diff --git a/include/Config.hpp b/include/Config.hpp index 48e6213..3a172d2 100644 --- a/include/Config.hpp +++ b/include/Config.hpp @@ -21,6 +21,7 @@ namespace QuickMedia { int progress_font_size = 14; int replies_font_size = 14; int embedded_load_font_size = 14; + int loading_text_font_size = 30; }; struct InputConfig { @@ -50,6 +51,8 @@ namespace QuickMedia { struct MatrixConfig { std::vector<std::string> known_homeservers; std::string gpg_user_id; + int room_name_font_size = 18; + int room_description_font_size = 12; }; struct PeertubeConfig { 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 diff --git a/include/Theme.hpp b/include/Theme.hpp index 91856eb..72ebafb 100644 --- a/include/Theme.hpp +++ b/include/Theme.hpp @@ -13,7 +13,6 @@ namespace QuickMedia { mgl::Color faded_text_color = mgl::Color(255, 255, 255, 179); mgl::Color shade_color = mgl::Color(28, 32, 39); mgl::Color selected_color = mgl::Color(55, 60, 68); - mgl::Color card_item_background_color = mgl::Color(28, 32, 39); mgl::Color replies_text_color = mgl::Color(129, 162, 190); mgl::Color placeholder_text_color = mgl::Color(255, 255, 255, 100); mgl::Color image_loading_background_color = mgl::Color(52, 58, 70); |