diff options
author | HampusM <hampus@hampusmat.com> | 2022-06-02 12:17:23 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:57:00 +0200 |
commit | 87f55120f96d0f4f80b497dc9006d89df2dda125 (patch) | |
tree | 4aba3a77b268c9ff97b146e2a02626931d9a3122 /src/interfaces | |
parent | 62164c0abd9c5f563fe8fe57d51b5dc003816c49 (diff) |
refactor: have cursor controller inverting input positions
Diffstat (limited to 'src/interfaces')
-rw-r--r-- | src/interfaces/cursor.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 <memory> @@ -30,4 +31,6 @@ public: virtual void hide() noexcept = 0; virtual void show() noexcept = 0; + + virtual void set_bounds(const Bounds &bounds) noexcept = 0; }; |