aboutsummaryrefslogtreecommitdiff
path: root/include/Body.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-04-09 21:35:39 +0200
committerdec05eba <dec05eba@protonmail.com>2021-04-09 21:45:28 +0200
commit6040726f92784978dd91eec4c540e92c4ca54236 (patch)
treece37ba29b40bf100c5bd577834ea4b6c90f4ab86 /include/Body.hpp
parent20a437763e56e5429ebd7f38940c4107418e3dee (diff)
Add .onion to list of valid tld, properly parse urls protocol part
Diffstat (limited to 'include/Body.hpp')
-rw-r--r--include/Body.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index eb74837..7c8226e 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -263,6 +263,7 @@ namespace QuickMedia {
std::function<void(BodyItem*)> body_item_select_callback;
sf::Shader *thumbnail_mask_shader;
AttachSide attach_side = AttachSide::TOP;
+ bool title_mark_urls = false;
private:
void draw_item(sf::RenderWindow &window, BodyItem *item, const sf::Vector2f &pos, const sf::Vector2f &size, const float item_height, const int item_index, const Json::Value &content_progress, bool include_embedded_item = true, bool merge_with_previous = false);
void update_dirty_state(BodyItem *body_item, float width);