summaryrefslogtreecommitdiff
path: root/src/managers/PointerManager.hpp
diff options
context:
space:
mode:
authorUjinT34 <41110182+UjinT34@users.noreply.github.com>2026-03-29 00:41:45 +0300
committerGitHub <noreply@github.com>2026-03-28 21:41:45 +0000
commit38a7f03cf0e5ee116794a78581634ba3dab508fa (patch)
tree969891411b2af4e437a183004018cfc359a3057e /src/managers/PointerManager.hpp
parentef2e8dfd5f7e6ee55fa7bc48e44974e64938d14a (diff)
renderer: refactor part 7: api fixes (#13631)
Part 7 of ujin's refactors --------- Co-authored-by: Vaxry <vaxry@vaxry.net>
Diffstat (limited to 'src/managers/PointerManager.hpp')
-rw-r--r--src/managers/PointerManager.hpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/managers/PointerManager.hpp b/src/managers/PointerManager.hpp
index a4fe1971..41e8e32a 100644
--- a/src/managers/PointerManager.hpp
+++ b/src/managers/PointerManager.hpp
@@ -12,7 +12,9 @@
class CMonitor;
class IHID;
-class ITexture;
+namespace Render {
+ class ITexture;
+}
AQUAMARINE_FORWARD(IBuffer);
@@ -71,7 +73,7 @@ class CPointerManager {
struct SCursorImage {
SP<Aquamarine::IBuffer> pBuffer;
- SP<ITexture> bufferTex;
+ SP<Render::ITexture> bufferTex;
WP<Desktop::View::CWLSurface> surface;
Vector2D hotspot;
@@ -82,8 +84,8 @@ class CPointerManager {
CHyprSignalListener commitSurface;
};
- const SCursorImage& currentCursorImage();
- SP<ITexture> getCurrentCursorTexture();
+ const SCursorImage& currentCursorImage();
+ SP<Render::ITexture> getCurrentCursorTexture();
struct {
CSignalT<> cursorChanged;
@@ -181,7 +183,7 @@ class CPointerManager {
std::vector<SP<SMonitorPointerState>> m_monitorStates;
SP<SMonitorPointerState> stateFor(PHLMONITOR mon);
bool attemptHardwareCursor(SP<SMonitorPointerState> state);
- SP<Aquamarine::IBuffer> renderHWCursorBuffer(SP<SMonitorPointerState> state, SP<ITexture> texture);
+ SP<Aquamarine::IBuffer> renderHWCursorBuffer(SP<SMonitorPointerState> state, SP<Render::ITexture> texture);
bool setHWCursorBuffer(SP<SMonitorPointerState> state, SP<Aquamarine::IBuffer> buf);
struct {