aboutsummaryrefslogtreecommitdiff
path: root/dw/oofposabslikemgr.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2015-02-03 15:10:50 +0100
committerSebastian Geerken <devnull@localhost>2015-02-03 15:10:50 +0100
commitfa6dd63e38408ee6b9d888a4a0b0aaa44700eb5e (patch)
tree4360a9e0fe90c2fa218a810502263f843c7e46e6 /dw/oofposabslikemgr.hh
parentac04cad270ed1ad13e99124361b14af6682234e2 (diff)
Some cleanup in OOFPosAbsLikeMgr.
Diffstat (limited to 'dw/oofposabslikemgr.hh')
-rw-r--r--dw/oofposabslikemgr.hh15
1 files changed, 8 insertions, 7 deletions
diff --git a/dw/oofposabslikemgr.hh b/dw/oofposabslikemgr.hh
index a561a407..ef78b602 100644
--- a/dw/oofposabslikemgr.hh
+++ b/dw/oofposabslikemgr.hh
@@ -42,17 +42,18 @@ protected:
- (containerAllocation.y + containerBoxOffsetY ());
}
+ inline bool posXDefined (Child *child)
+ { return posXAbsolute (child) || generatorPosDefined (child); }
+
+ inline bool posYDefined (Child *child)
+ { return posYAbsolute (child) || generatorPosDefined (child); }
+
bool doChildrenExceedContainer ();
bool haveExtremesChanged ();
void sizeAllocateChildren ();
- bool isHPosComplete (Child *child);
- bool isVPosComplete (Child *child);
-
- bool isHPosCalculable (Child *child, bool allocated);
- bool isVPosCalculable (Child *child, bool allocated);
-
- bool isPosCalculable (Child *child, bool allocated);
+ bool posXAbsolute (Child *child);
+ bool posYAbsolute (Child *child);
void calcPosAndSizeChildOfChild (Child *child, int refWidth, int refHeight,
int *xPtr, int *yPtr, int *widthPtr,