Loading...
Searching...
No Matches
Cursor.h
Go to the documentation of this file.
1#ifndef CURSOR_H
2#define CURSOR_H
3
6
7namespace ml
8{
31 class Cursor : public ml::Text
32 {
33 inline static sf::Clock clock;
34
35 using Text::setString;
36
37 void registerEvents();
38
39 public:
40 using ml::Text::Text;
41
52 };
53
54} // namespace ml
55
56#endif // CURSOR_H
Cursor(const sf::Font &font=FontManager<>::getDefault())
Construct a Cursor with a given font.
static const sf::Font & getDefault()
Return the built-in Arial font.
A framework-integrated text object with word-wrap support.
Definition Text.h:54
void setString(const sf::String &text)
Set the displayed string, applying word-wrap if enabled.
Text(const sf::Font &font=FontManager<>::getDefault())
Construct a Text object with a given font.
Definition Component.h:18