From cc3a65bde2e480b2b07b74eeef20d9081d7f730f Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 2 Jun 2021 17:42:30 +0200 Subject: Add modern theme Join matrix room by their name instead of id if there is a name. This allows you to join rooms where the homeserver that created the room is no longer participating in the room. --- include/QuickMedia.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/QuickMedia.hpp') diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp index 82b2ee4..09b0806 100644 --- a/include/QuickMedia.hpp +++ b/include/QuickMedia.hpp @@ -79,7 +79,7 @@ namespace QuickMedia { ~Program(); int run(int argc, char **argv); - std::unique_ptr create_body(); + std::unique_ptr create_body(bool plain_text_list = false); std::unique_ptr create_search_bar(const std::string &placeholder, int search_delay); bool load_manga_content_storage(const char *service_name, const std::string &manga_title, const std::string &manga_id); @@ -179,6 +179,7 @@ namespace QuickMedia { std::string resources_root; sf::Shader circle_mask_shader; sf::Shader rounded_rectangle_shader; + sf::Shader rounded_rectangle_mask_shader; bool no_video = false; bool force_no_video = false; bool use_system_mpv_config = false; -- cgit v1.2.3