diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-09-25 21:40:22 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-09-25 22:27:15 +0200 |
commit | d5d462f555ef9d7ce7e001aca5586c19b4d9edc8 (patch) | |
tree | 8fa80cce39f3df27513ff16815bb7b5d11814d8e /src/QuickMedia.cpp | |
parent | eac2ace1c14c1ae0564d757b26a359c6bd4b754a (diff) |
Matrix: add display name colors depending on user id
Diffstat (limited to 'src/QuickMedia.cpp')
-rw-r--r-- | src/QuickMedia.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index c701c14..1039ca7 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -3195,6 +3195,8 @@ namespace QuickMedia { messages_tab.body->draw_thumbnails = true; messages_tab.body->thumbnail_resize_target_size.x = 600; messages_tab.body->thumbnail_resize_target_size.y = 337; + messages_tab.body->thumbnail_fallback_size.x = 32; + messages_tab.body->thumbnail_fallback_size.y = 32; //messages_tab.body->line_seperator_color = sf::Color::Transparent; messages_tab.text = sf::Text("Messages", *font, tab_text_size); tabs.push_back(std::move(messages_tab)); @@ -3204,6 +3206,8 @@ namespace QuickMedia { rooms_tab.body = std::make_unique<Body>(this, font.get(), bold_font.get(), cjk_font.get()); rooms_tab.body->draw_thumbnails = true; //rooms_tab.body->line_seperator_color = sf::Color::Transparent; + rooms_tab.body->thumbnail_fallback_size.x = 32; + rooms_tab.body->thumbnail_fallback_size.y = 32; rooms_tab.text = sf::Text("Rooms", *font, tab_text_size); tabs.push_back(std::move(rooms_tab)); |