summaryrefslogtreecommitdiff
path: root/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2026-02-22 23:30:10 +0000
committerGitHub <noreply@github.com>2026-02-22 23:30:10 +0000
commitb88813c7efa4b7b0c5fe01471c5fa5b67a61dc7e (patch)
tree4454e82bc033d7e28a23ee372d0e3f48341d0aaa /src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp
parentb4ee4674f9a74e3d602c7fb17bc09f79d221583c (diff)
event: refactor HookSystem into a typed event bus (#13333)
Refactors the old HookSystem into a typed event bus with clear separation, discovery and types.
Diffstat (limited to 'src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp')
-rw-r--r--src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp b/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp
index a2a9316e..109aa99e 100644
--- a/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp
+++ b/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp
@@ -1,9 +1,9 @@
#pragma once
#include "../../TiledAlgorithm.hpp"
-#include "../../../../managers/HookSystemManager.hpp"
#include "../../../../helpers/math/Direction.hpp"
#include "ScrollTapeController.hpp"
+#include "../../../../helpers/signal/Signal.hpp"
#include <vector>
@@ -112,11 +112,11 @@ namespace Layout::Tiled {
CBox usableArea();
private:
- SP<SScrollingData> m_scrollingData;
+ SP<SScrollingData> m_scrollingData;
- SP<HOOK_CALLBACK_FN> m_configCallback;
- SP<HOOK_CALLBACK_FN> m_focusCallback;
- SP<HOOK_CALLBACK_FN> m_mouseButtonCallback;
+ CHyprSignalListener m_configCallback;
+ CHyprSignalListener m_focusCallback;
+ CHyprSignalListener m_mouseButtonCallback;
struct {
std::vector<float> configuredWidths;