aboutsummaryrefslogtreecommitdiff
path: root/dw/outofflowmgr.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2015-01-31 14:42:28 +0100
committerSebastian Geerken <devnull@localhost>2015-01-31 14:42:28 +0100
commiteac1c960c8c875715fdb8d123e4c19302d93eb00 (patch)
tree5160a48e11c0047f31a9898de6144dea894358db /dw/outofflowmgr.hh
parente1eaf4d64bcafcd5b2f50153dd7db0106223012c (diff)
Relative positions, part 5: more bug fixes.
Diffstat (limited to 'dw/outofflowmgr.hh')
-rw-r--r--dw/outofflowmgr.hh14
1 files changed, 13 insertions, 1 deletions
diff --git a/dw/outofflowmgr.hh b/dw/outofflowmgr.hh
index 1632499e..9f8bf870 100644
--- a/dw/outofflowmgr.hh
+++ b/dw/outofflowmgr.hh
@@ -43,7 +43,19 @@ public:
virtual void moveExternalIndices (OOFAwareWidget *generator,
int oldStartIndex, int diff) = 0;
- virtual void tellPosition (core::Widget *widget, int x, int y) = 0;
+ /**
+ * \brief Called before tellPosition2, see there for more.
+ */
+ virtual void tellPosition1 (core::Widget *widget, int x, int y) = 0;
+
+ /**
+ * \brief Called after tellPosition1.
+ *
+ * An implementation should only implement either tellPosition1 or
+ * tellPosition2. Coordinates are relative to the allocation of the
+ * generator.
+ */
+ virtual void tellPosition2 (core::Widget *widget, int x, int y) = 0;
virtual void getSize (core::Requisition *containerReq, int *oofWidth,
int *oofHeight) = 0;