diff options
author | HampusM <hampus@hampusmat.com> | 2022-03-23 19:39:46 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:57 +0200 |
commit | b8e86ce397dc07320c02f6a5f592c7c6a4421c86 (patch) | |
tree | 61a3edcdb2ce1baeac8e8451d19b9d3252e96f76 | |
parent | c6bf3dc3552f9e8cf8484dc621f4da4431cd5f8f (diff) |
refactor: make the cursor hide & show methods not static
-rw-r--r-- | src/engine/user/cursor.hpp | 4 | ||||
-rw-r--r-- | src/interfaces/cursor.hpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/user/cursor.hpp b/src/engine/user/cursor.hpp index 3ba8a40..fd75374 100644 --- a/src/engine/user/cursor.hpp +++ b/src/engine/user/cursor.hpp @@ -43,9 +43,9 @@ public: void ensure_position() noexcept override; - static void hide() noexcept; + void hide() noexcept override; - static void show() noexcept; + void show() noexcept override; void subscribe(const Event &event, const Subscriber &subscriber) noexcept override; diff --git a/src/interfaces/cursor.hpp b/src/interfaces/cursor.hpp index ec2f60c..7112f9a 100644 --- a/src/interfaces/cursor.hpp +++ b/src/interfaces/cursor.hpp @@ -30,9 +30,9 @@ public: virtual void ensure_position() noexcept = 0; - static void hide() noexcept; + virtual void hide() noexcept = 0; - static void show() noexcept; + virtual void show() noexcept = 0; void subscribe(const Event &event, const Subscriber &subscriber) noexcept override = 0; |