44 DBG_OBJ_ENTER (
"resize.oofm", 0,
"markSizeChange",
"%d", ref);
46 DBG_OBJ_MSGF (
"resize.oofm", 1,
"generator = %p, externalIndex = %d",
58 DBG_OBJ_ENTER (
"resize.oofm", 0,
"calcWidgetRefSize",
"%p", widget);
82 for (
int i = 0; i <
children->size (); i++) {
103 DBG_OBJ_ENTER (
"resize.oofm", 0,
"getSize",
"%d * (%d + %d)",
107 *oofWidth = *oofHeight = 0;
109 for (
int i = 0; i <
children->size (); i++) {
118 *oofHeight =
max (*oofHeight,
133 *oofMinWidth = *oofMaxWidth = 0;
135 for (
int i = 0; i <
children->size (); i++) {
147 *oofMinWidth =
max (*oofMinWidth,
150 *oofMaxWidth =
max (*oofMaxWidth,
190 child->
widget, refHeight);
212 "<i>%d</i>, <i>%d</i>, %d, %d",
213 posCssValue, negCssValue, refPos, refLength);
217 DBG_OBJ_MSGF (
"resize.oofm", 1,
"posCssValue: diff = %d", diff);
220 DBG_OBJ_MSGF (
"resize.oofm", 1,
"negCssValue: diff = %d", diff);
227 return refPos + diff;
int getChildPosDim(core::style::Length posCssValue, core::style::Length negCssValue, int refPos, int refLength)
bool posYAbsolute(Child *child)
int getAvailWidthOfChild(core::Widget *child, bool forceValue)
void sizeAllocateChildren()
void getExtremes(core::Extremes *containerExtr, int *oofMinWidth, int *oofMaxWidth)
void markExtremesChange(int ref)
bool dealingWithSizeOfChild(core::Widget *child)
void getSize(core::Requisition *containerReq, int *oofWidth, int *oofHeight)
void calcWidgetRefSize(core::Widget *widget, core::Requisition *size)
int getChildPosX(Child *child, int refWidth)
OOFPosRelMgr(OOFAwareWidget *container)
int getChildPosY(Child *child, int refHeight)
int getAvailHeightOfChild(core::Widget *child, bool forceValue)
void markSizeChange(int ref)
bool posXAbsolute(Child *child)
bool consideredForExtremes
OOFAwareWidget * generator
bool posXDefined(Child *child)
bool posYDefined(Child *child)
lout::container::typed::Vector< Child > * children
int generatorPosX(Child *child)
int generatorPosY(Child *child)
bool getPosBorder(core::style::Length cssValue, int refLength, int *result)
core::Allocation containerAllocation
bool instanceOf(int otherClassId)
Returns, whether this class is an instance of the class, given by otherClassId, or of a sub class of ...
#define DBG_OBJ_ENTER0(aspect, prio, funname)
#define DBG_OBJ_CREATE(klass)
#define DBG_OBJ_MSGF(aspect, prio, fmt,...)
#define DBG_OBJ_ENTER(aspect, prio, funname, fmt,...)
#define DBG_OBJ_LEAVE_VAL(fmt,...)
int Length
Type for representing all lengths within dw::core::style.
The core of Dw is defined in this namespace.
Dw is in this namespace, or sub namespaces of this one.
Miscellaneous stuff, which does not fit anywhere else.
void notImplemented(const char *name)
Here, some common classes (or interfaces) are defined, to standardize the access to other classes.
Represents the allocation, i.e.