From 061b93f81103e9a111c7912019f4786a69f3e8b0 Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Sat, 3 Oct 2015 13:15:06 +0200 Subject: SRDOP: renamed `OOFAwareWidget::getLineBreakWidth` to `getGeneratorWidth`; new method `OOFAwareWidget::getGeneratorX`. --- dw/oofawarewidget.hh | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'dw/oofawarewidget.hh') diff --git a/dw/oofawarewidget.hh b/dw/oofawarewidget.hh index ab00e3ea..6a401e4e 100644 --- a/dw/oofawarewidget.hh +++ b/dw/oofawarewidget.hh @@ -278,15 +278,22 @@ public: virtual void clearPositionChanged (); /** - * Called by an implementation of dw::oof::OutOfFlowMgr when the size - * of the container has changed, typically in sizeAllocateEnd. + * Called by an implementation of dw::oof::OutOfFlowMgr when the size of the + * container has changed, typically in sizeAllocateEnd. */ virtual void oofSizeChanged (bool extremesChanged); /** - * Called by OOFFloatsMgr to position floats. (Should perhaps be renamed.) + * Return position relative to container, not regarding + * margin/border/padding, Called by OOFFloatsMgr to position floats. */ - virtual int getLineBreakWidth (); + virtual int getGeneratorX (); + + /** + * Return width including margin/border/padding Called by OOFFloatsMgr to + * position floats. + */ + virtual int getGeneratorWidth (); virtual bool isPossibleContainer (int oofmIndex); -- cgit v1.2.3