1 #ifndef __DW_OOFPOSITIONEDMGR_HH__
2 #define __DW_OOFPOSITIONEDMGR_HH__
63 return child->
generator == container ? 0 :
68 return child->
generator == container ? 0 :
139 #endif // __DW_OOFPOSITIONEDMGR_HH__
Definition: oofpositionedmgr.hh:28
lout::container::typed::HashTable< lout::object::TypedPointer< dw::core::Widget >, Child > * childrenByWidget
Definition: oofpositionedmgr.hh:34
int x
Definition: types.hh:165
bool generatorPosDefined(Child *child)
Definition: oofpositionedmgr.hh:56
virtual bool posYAbsolute(Child *child)=0
bool getPosLeft(core::Widget *child, int availWidth, int *result)
Definition: oofpositionedmgr.hh:36
Typed version of container::untyped::Vector.
Definition: container.hh:425
Length right
Definition: style.hh:553
bool affectsRightBorder(core::Widget *widget)
Definition: oofpositionedmgr.cc:338
core::Widget * getWidget(int i)
Definition: oofpositionedmgr.cc:358
Set at the top when getting the widget at the point.
Definition: types.hh:312
int y
Definition: oofpositionedmgr.hh:19
void tellIncompletePosition2(core::Widget *generator, core::Widget *widget, int x, int y)
Definition: oofpositionedmgr.cc:279
Typed version of container::untyped::HashTable.
Definition: container.hh:514
dw::core::Shape implemtation for simple rectangles.
Definition: types.hh:69
int getClearPosition(OOFAwareWidget *widget)
Definition: oofpositionedmgr.cc:328
Length left
Definition: style.hh:553
virtual void sizeAllocateChildren()=0
bool posYDefined(Child *child)
Definition: oofpositionedmgr.hh:75
bool allChildrenConsideredForSize()
Definition: oofpositionedmgr.cc:377
This is the base class for many other classes, which defines very common virtual methods.
Definition: object.hh:24
void tellPosition2(core::Widget *widget, int x, int y)
Called after tellPosition1.
Definition: oofpositionedmgr.cc:255
OOFAwareWidget * generator
Definition: oofpositionedmgr.hh:18
bool doChildrenExceedContainer()
Definition: oofpositionedmgr.cc:105
int generatorPosX(Child *child)
Definition: oofpositionedmgr.hh:61
bool mayAffectBordersAtAll()
Definition: oofpositionedmgr.cc:343
Child(core::Widget *widget, OOFAwareWidget *generator, int externalIndex)
Definition: oofpositionedmgr.cc:33
void moveExternalIndices(OOFAwareWidget *generator, int oldStartIndex, int diff)
Definition: oofpositionedmgr.cc:208
bool posXDefined(Child *child)
Definition: oofpositionedmgr.hh:72
int getRightFloatHeight(int y, int h, OOFAwareWidget *lastGen, int lastExtIndex)
Definition: oofpositionedmgr.cc:321
int getNumWidgets()
Definition: oofpositionedmgr.cc:353
int externalIndex
Definition: oofpositionedmgr.hh:19
virtual bool posXAbsolute(Child *child)=0
Definition: oofpositionedmgr.hh:28
bool consideredForExtremes
Definition: oofpositionedmgr.hh:20
core::Allocation containerAllocation
Definition: oofpositionedmgr.hh:27
Represents the allocation, i.e. actual position and size of a dw::core::Widget.
Definition: types.hh:163
int getLeftFloatHeight(int y, int h, OOFAwareWidget *lastGen, int lastExtIndex)
Definition: oofpositionedmgr.cc:315
bool allChildrenConsideredForExtremes()
Definition: oofpositionedmgr.cc:385
void containerSizeChangedForChildren()
Definition: oofpositionedmgr.cc:151
Length bottom
Definition: style.hh:553
Set at the top when drawing.
Definition: types.hh:294
void sizeAllocateEnd(OOFAwareWidget *caller)
Definition: oofpositionedmgr.cc:87
OOFPositionedMgr(OOFAwareWidget *container)
Definition: oofpositionedmgr.cc:48
bool consideredForSize
Definition: oofpositionedmgr.hh:20
Represents additional data for OOF containers.
Definition: outofflowmgr.hh:18
core::Widget * widget
Definition: oofpositionedmgr.hh:17
core::Widget * getWidgetAtPoint(int x, int y, core::GettingWidgetAtPointContext *context)
Definition: oofpositionedmgr.cc:230
OOFAwareWidget * container
Definition: oofpositionedmgr.hh:26
bool getPosTop(core::Widget *child, int availHeight, int *result)
Definition: oofpositionedmgr.hh:40
int getLeftBorder(int y, int h, OOFAwareWidget *lastGen, int lastExtIndex)
Definition: oofpositionedmgr.cc:290
void addWidgetInFlow(OOFAwareWidget *widget, OOFAwareWidget *parent, int externalIndex)
Definition: oofpositionedmgr.cc:180
Definition: oofpositionedmgr.hh:14
bool containerMustAdjustExtraSpace()
Definition: oofpositionedmgr.cc:285
enum dw::oof::OOFPositionedMgr::@11 containerAllocationState
bool hasFloatLeft(int y, int h, OOFAwareWidget *lastGen, int lastExtIndex)
Definition: oofpositionedmgr.cc:302
bool getPosRight(core::Widget *child, int availWidth, int *result)
Definition: oofpositionedmgr.hh:38
int getRightBorder(int y, int h, OOFAwareWidget *lastGen, int lastExtIndex)
Definition: oofpositionedmgr.cc:296
int generatorPosY(Child *child)
Definition: oofpositionedmgr.hh:66
bool hasFloatRight(int y, int h, OOFAwareWidget *lastGen, int lastExtIndex)
Definition: oofpositionedmgr.cc:308
~OOFPositionedMgr()
Definition: oofpositionedmgr.cc:61
void tellPosition1(core::Widget *widget, int x, int y)
Called before tellPosition2, see there for more.
Definition: oofpositionedmgr.cc:251
bool getPosBottom(core::Widget *child, int availHeight, int *result)
Definition: oofpositionedmgr.hh:42
Dw is in this namespace, or sub namespaces of this one.
Definition: alignedtablecell.cc:28
An interface to encapsulate platform dependent drawing.
Definition: view.hh:16
bool getPosBorder(core::style::Length cssValue, int refLength, int *result)
Definition: oofpositionedmgr.cc:363
void markExtremesChange(int ref)
Definition: oofpositionedmgr.cc:226
bool affectsLeftBorder(core::Widget *widget)
Definition: oofpositionedmgr.cc:333
lout::container::typed::Vector< Child > * children
Definition: oofpositionedmgr.hh:31
void draw(core::View *view, core::Rectangle *area, core::DrawingContext *context)
Definition: oofpositionedmgr.cc:161
Definition: oofpositionedmgr.hh:28
int x
Definition: oofpositionedmgr.hh:19
void tellIncompletePosition1(core::Widget *generator, core::Widget *widget, int x, int y)
Definition: oofpositionedmgr.cc:273
Length top
Definition: style.hh:553
int Length
Type for representing all lengths within dw::core::style.
Definition: style.hh:428
void markSizeChange(int ref)
Definition: oofpositionedmgr.cc:221
void sizeAllocateStart(OOFAwareWidget *caller, core::Allocation *allocation)
Definition: oofpositionedmgr.cc:69
A typed version of object::Pointer.
Definition: object.hh:115
int addWidgetOOF(core::Widget *widget, OOFAwareWidget *generator, int externalIndex)
Definition: oofpositionedmgr.cc:186
bool dealingWithSizeOfChild(core::Widget *child)
Definition: oofpositionedmgr.cc:348
Definition: oofpositionedmgr.hh:11
int y
Definition: types.hh:166