From 38a7f03cf0e5ee116794a78581634ba3dab508fa Mon Sep 17 00:00:00 2001 From: UjinT34 <41110182+UjinT34@users.noreply.github.com> Date: Sun, 29 Mar 2026 00:41:45 +0300 Subject: renderer: refactor part 7: api fixes (#13631) Part 7 of ujin's refactors --------- Co-authored-by: Vaxry --- src/managers/PointerManager.hpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/managers/PointerManager.hpp') 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 pBuffer; - SP bufferTex; + SP bufferTex; WP surface; Vector2D hotspot; @@ -82,8 +84,8 @@ class CPointerManager { CHyprSignalListener commitSurface; }; - const SCursorImage& currentCursorImage(); - SP getCurrentCursorTexture(); + const SCursorImage& currentCursorImage(); + SP getCurrentCursorTexture(); struct { CSignalT<> cursorChanged; @@ -181,7 +183,7 @@ class CPointerManager { std::vector> m_monitorStates; SP stateFor(PHLMONITOR mon); bool attemptHardwareCursor(SP state); - SP renderHWCursorBuffer(SP state, SP texture); + SP renderHWCursorBuffer(SP state, SP texture); bool setHWCursorBuffer(SP state, SP buf); struct { -- cgit v1.2.3