Loading...
Searching...
No Matches
Cursor.h
Go to the documentation of this file.
1// Copyright (c) 2025 Dave R. Smith. All rights reserved.
2// Malena Framework — Proprietary Software. See LICENSE for terms.
3
4#ifndef MALENA_CURSOR_H
5#define MALENA_CURSOR_H
6
10
11namespace ml
12{
35 class MALENA_API Cursor : public ml::Text
36 {
37 inline static sf::Clock clock;
38
39 using Text::setString;
40
41 void registerEvents();
42
43 public:
44 using ml::Text::Text;
45
56 };
57
58} // namespace ml
59
60#endif // MALENA_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:57
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.
#define MALENA_API
Definition Component.h:22