mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-12-05 01:11:46 +08:00
Compare commits
2 Commits
31d46a6e83
...
c3b940f99b
Author | SHA1 | Date | |
---|---|---|---|
|
c3b940f99b | ||
|
ee584c5fdd |
@ -39,6 +39,8 @@ class ScreenInteractive : public Screen {
|
||||
// Options. Must be called before Loop().
|
||||
void TrackMouse(bool enable = true);
|
||||
|
||||
void SetCursorReset(Screen::Cursor::Shape shape);
|
||||
|
||||
// Return the currently active screen, nullptr if none.
|
||||
static ScreenInteractive* Active();
|
||||
|
||||
|
@ -441,6 +441,11 @@ void ScreenInteractive::TrackMouse(bool enable) {
|
||||
track_mouse_ = enable;
|
||||
}
|
||||
|
||||
/// @brief Set cursor shape on exit of main loop
|
||||
void ScreenInteractive::SetCursorReset(Screen::Cursor::Shape shape) {
|
||||
cursor_reset_shape_ = shape;
|
||||
}
|
||||
|
||||
/// @brief Add a task to the main loop.
|
||||
/// It will be executed later, after every other scheduled tasks.
|
||||
/// @ingroup component
|
||||
|
Loading…
Reference in New Issue
Block a user