aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/cursor.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-23 19:39:46 +0100
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:57 +0200
commitb8e86ce397dc07320c02f6a5f592c7c6a4421c86 (patch)
tree61a3edcdb2ce1baeac8e8451d19b9d3252e96f76 /src/interfaces/cursor.hpp
parentc6bf3dc3552f9e8cf8484dc621f4da4431cd5f8f (diff)
refactor: make the cursor hide & show methods not static
Diffstat (limited to 'src/interfaces/cursor.hpp')
-rw-r--r--src/interfaces/cursor.hpp4
1 files changed, 2 insertions, 2 deletions
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;