diff options
Diffstat (limited to 'src/layout/algorithm/ModeAlgorithm.hpp')
| -rw-r--r-- | src/layout/algorithm/ModeAlgorithm.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/layout/algorithm/ModeAlgorithm.hpp b/src/layout/algorithm/ModeAlgorithm.hpp index 1348a6f4..cfbeafd3 100644 --- a/src/layout/algorithm/ModeAlgorithm.hpp +++ b/src/layout/algorithm/ModeAlgorithm.hpp @@ -5,6 +5,7 @@ #include "../../helpers/memory/Memory.hpp" #include "../LayoutManager.hpp" +#include "../space/Space.hpp" #include <expected> @@ -36,7 +37,7 @@ namespace Layout { virtual void resizeTarget(const Vector2D& Δ, SP<ITarget> target, eRectCorner corner = CORNER_NONE) = 0; // recalculate layout - virtual void recalculate() = 0; + virtual void recalculate(eRecalculateReason reason = RECALCULATE_REASON_UNKNOWN) = 0; // swap targets virtual void swapTargets(SP<ITarget> a, SP<ITarget> b) = 0; |
