aboutsummaryrefslogtreecommitdiff
path: root/include/Text.hpp
diff options
context:
space:
mode:
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;