aboutsummaryrefslogtreecommitdiff
path: root/include/Text.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-04-06 06:16:47 +0200
committerdec05eba <dec05eba@protonmail.com>2021-04-06 06:16:47 +0200
commit04e852c45a3f309d5e139b0ca059b32277c250e4 (patch)
treed704413fa0d76bf7f8c92eacce5e96e0a3d4c874 /include/Text.hpp
parent797a36228bdb3b77b7314585a31de6f27feab51d (diff)
Create a unified launcher for quickmedia
Diffstat (limited to 'include/Text.hpp')
-rw-r--r--include/Text.hpp3
1 files changed, 2 insertions, 1 deletions
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;