From b8e86ce397dc07320c02f6a5f592c7c6a4421c86 Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 23 Mar 2022 19:39:46 +0100 Subject: refactor: make the cursor hide & show methods not static --- src/engine/user/cursor.hpp | 4 ++-- 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; -- cgit v1.2.3-18-g5258