From 87f55120f96d0f4f80b497dc9006d89df2dda125 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 2 Jun 2022 12:17:23 +0200 Subject: refactor: have cursor controller inverting input positions --- src/interfaces/cursor.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/interfaces') diff --git a/src/interfaces/cursor.hpp b/src/interfaces/cursor.hpp index 63aae41..377fe25 100644 --- a/src/interfaces/cursor.hpp +++ b/src/interfaces/cursor.hpp @@ -1,5 +1,6 @@ #pragma once +#include "engine/data/bounds.hpp" #include "engine/data/vector2.hpp" #include @@ -30,4 +31,6 @@ public: virtual void hide() noexcept = 0; virtual void show() noexcept = 0; + + virtual void set_bounds(const Bounds &bounds) noexcept = 0; }; -- cgit v1.2.3-18-g5258