From 04e852c45a3f309d5e139b0ca059b32277c250e4 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 6 Apr 2021 06:16:47 +0200 Subject: Create a unified launcher for quickmedia --- include/Text.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/Text.hpp') diff --git a/include/Text.hpp b/include/Text.hpp index c74607c..60d0db1 100644 --- a/include/Text.hpp +++ b/include/Text.hpp @@ -65,7 +65,7 @@ namespace QuickMedia { public: Text(bool bold_font); - Text(sf::String str, bool bold_font, unsigned int characterSize, float maxWidth); + Text(sf::String str, bool bold_font, unsigned int characterSize, float maxWidth, bool highlight_urls = false); void setString(sf::String str); const sf::String& getString() const; @@ -148,6 +148,7 @@ namespace QuickMedia bool dirtyText; bool dirtyCaret; bool editable; + bool highlight_urls; CaretMoveDirection caretMoveDirection; sf::FloatRect boundingBox; int num_lines; -- cgit v1.2.3