summaryrefslogtreecommitdiff
path: root/src/layout/algorithm/FloatingAlgorithm.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/algorithm/FloatingAlgorithm.hpp')
-rw-r--r--src/layout/algorithm/FloatingAlgorithm.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/layout/algorithm/FloatingAlgorithm.hpp b/src/layout/algorithm/FloatingAlgorithm.hpp
index 2c9ff14b..40e53034 100644
--- a/src/layout/algorithm/FloatingAlgorithm.hpp
+++ b/src/layout/algorithm/FloatingAlgorithm.hpp
@@ -17,6 +17,9 @@ namespace Layout {
// a target is being moved by a delta
virtual void moveTarget(const Vector2D& Δ, SP<ITarget> target) = 0;
+ // a target is moved to a pos x size
+ virtual void setTargetGeom(const CBox& geom, SP<ITarget> target) = 0;
+
virtual void recenter(SP<ITarget> t);
virtual void recalculate();