diff options
Diffstat (limited to 'dw/oofawarewidget.hh')
-rw-r--r-- | dw/oofawarewidget.hh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dw/oofawarewidget.hh b/dw/oofawarewidget.hh index 9d5fa38a..e49cce14 100644 --- a/dw/oofawarewidget.hh +++ b/dw/oofawarewidget.hh @@ -287,8 +287,13 @@ public: /** * Return width including margin/border/padding Called by OOFFloatsMgr to * position floats. + * + * In somce cases (as in dw::Textblock::getGeneratorRest), the value is not + * up to date; for this, the caller may pass its position relative to this + * widget, as well as its width, which are used for adjustments. (See comment + * in dw::Textblock::getGeneratorRest.) */ - virtual int getGeneratorWidth (); + virtual int getGeneratorWidth (int callerX, int callerWidth); virtual int getMaxGeneratorWidth (); |