aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Text.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/Text.hpp b/include/Text.hpp
index 925dc94..286a0b1 100644
--- a/include/Text.hpp
+++ b/include/Text.hpp
@@ -7,6 +7,7 @@
#include <SFML/Graphics/RenderTarget.hpp>
#include <SFML/Window/Event.hpp>
#include <SFML/System/String.hpp>
+#include <SFML/System/Clock.hpp>
#include <vector>
namespace dchat
@@ -98,6 +99,7 @@ namespace dchat
bool dirtyCaret;
bool plainText;
bool editable;
+ bool visible;
CaretMoveDirection caretMoveDirection;
sf::FloatRect boundingBox;
float lineSpacing;
@@ -105,5 +107,6 @@ namespace dchat
int caretIndex;
sf::Vector2f caretPosition;
+ sf::Clock lastSeenTimer;
};
}