1#ifndef __DW_OUTOFFLOWMGR_HH__
2#define __DW_OUTOFFLOWMGR_HH__
40 int externalIndex) = 0;
44 int oldStartIndex,
int diff) = 0;
70 int *oofMaxWidth) = 0;
81 int lastExtIndex) = 0;
90 int lastExtIndex) = 0;
99 int lastExtIndex) = 0;
108 int lastExtIndex) = 0;
117 int lastExtIndex) = 0;
126 int lastExtIndex) = 0;
Set at the top when drawing.
Set at the top when getting the widget at the point.
dw::core::Shape implemtation for simple rectangles.
An interface to encapsulate platform dependent drawing.
Represents additional data for OOF containers.
virtual void getExtremes(core::Extremes *containerExtr, int *oofMinWidth, int *oofMaxWidth)=0
virtual bool mayAffectBordersAtAll()=0
virtual void addWidgetInFlow(OOFAwareWidget *widget, OOFAwareWidget *parent, int externalIndex)=0
virtual bool hasFloatRight(int y, int h, OOFAwareWidget *lastGen, int lastExtIndex)=0
Return whether there is a float on the right side.
virtual int getClearPosition(OOFAwareWidget *widget)=0
Return value is relative to the calling generator (not container).
virtual bool hasFloatLeft(int y, int h, OOFAwareWidget *lastGen, int lastExtIndex)=0
Return whether there is a float on the left side.
virtual core::Widget * getWidgetAtPoint(int x, int y, core::GettingWidgetAtPointContext *context)=0
virtual int getRightBorder(int y, int h, OOFAwareWidget *lastGen, int lastExtIndex)=0
Get the right border for the vertical position of y, for a height of h, based on floats; relative to ...
virtual int getLeftFloatHeight(int y, int h, OOFAwareWidget *lastGen, int lastExtIndex)=0
Assuming there is a float on the left side, return the rest height of it.
virtual int getNumWidgets()=0
virtual void tellPosition1(core::Widget *widget, int x, int y)=0
Called before tellPosition2, see there for more.
virtual void tellIncompletePosition1(core::Widget *generator, core::Widget *widget, int x, int y)=0
virtual void tellIncompletePosition2(core::Widget *generator, core::Widget *widget, int x, int y)=0
virtual bool affectsRightBorder(core::Widget *widget)=0
virtual void containerSizeChangedForChildren()=0
virtual int addWidgetOOF(core::Widget *widget, OOFAwareWidget *generator, int externalIndex)=0
virtual void calcWidgetRefSize(core::Widget *widget, core::Requisition *size)=0
virtual void getSize(core::Requisition *containerReq, int *oofWidth, int *oofHeight)=0
virtual bool containerMustAdjustExtraSpace()=0
virtual void sizeAllocateStart(OOFAwareWidget *caller, core::Allocation *allocation)=0
virtual int getRightFloatHeight(int y, int h, OOFAwareWidget *lastGen, int lastExtIndex)=0
Assuming there is a float on the right side, return the rest height of it.
virtual void moveExternalIndices(OOFAwareWidget *generator, int oldStartIndex, int diff)=0
virtual void tellPosition2(core::Widget *widget, int x, int y)=0
Called after tellPosition1.
virtual void markSizeChange(int ref)=0
virtual int getAvailHeightOfChild(core::Widget *child, bool forceValue)=0
virtual core::Widget * getWidget(int i)=0
virtual int getAvailWidthOfChild(core::Widget *child, bool forceValue)=0
virtual void sizeAllocateEnd(OOFAwareWidget *caller)=0
virtual bool affectsLeftBorder(core::Widget *widget)=0
virtual int getLeftBorder(int y, int h, OOFAwareWidget *lastGen, int lastExtIndex)=0
Get the left border for the vertical position of y, for a height of h", based on floats; relative to ...
virtual bool dealingWithSizeOfChild(core::Widget *child)=0
virtual void markExtremesChange(int ref)=0
virtual void draw(core::View *view, core::Rectangle *area, core::DrawingContext *context)=0
Dw is in this namespace, or sub namespaces of this one.
Represents the allocation, i.e.