Dillo
Public Member Functions | Protected Member Functions | List of all members
dw::oof::OOFPosAbsLikeMgr Class Referenceabstract

#include <oofposabslikemgr.hh>

Public Member Functions

 OOFPosAbsLikeMgr (OOFAwareWidget *container)
 
 ~OOFPosAbsLikeMgr ()
 
void calcWidgetRefSize (core::Widget *widget, core::Requisition *size)
 
void getSize (core::Requisition *containerReq, int *oofWidth, int *oofHeight)
 
void getExtremes (core::Extremes *containerExtr, int *oofMinWidth, int *oofMaxWidth)
 
int getAvailWidthOfChild (core::Widget *child, bool forceValue)
 
int getAvailHeightOfChild (core::Widget *child, bool forceValue)
 
- Public Member Functions inherited from dw::oof::OOFPositionedMgr
 OOFPositionedMgr (OOFAwareWidget *container)
 
 ~OOFPositionedMgr ()
 
void sizeAllocateStart (OOFAwareWidget *caller, core::Allocation *allocation)
 
void sizeAllocateEnd (OOFAwareWidget *caller)
 
void containerSizeChangedForChildren ()
 
void draw (core::View *view, core::Rectangle *area, core::DrawingContext *context)
 
void markSizeChange (int ref)
 
void markExtremesChange (int ref)
 
core::WidgetgetWidgetAtPoint (int x, int y, core::GettingWidgetAtPointContext *context)
 
void addWidgetInFlow (OOFAwareWidget *widget, OOFAwareWidget *parent, int externalIndex)
 
int addWidgetOOF (core::Widget *widget, OOFAwareWidget *generator, int externalIndex)
 
void moveExternalIndices (OOFAwareWidget *generator, int oldStartIndex, int diff)
 
void tellPosition1 (core::Widget *widget, int x, int y)
 Called before tellPosition2, see there for more. More...
 
void tellPosition2 (core::Widget *widget, int x, int y)
 Called after tellPosition1. More...
 
void tellIncompletePosition1 (core::Widget *generator, core::Widget *widget, int x, int y)
 
void tellIncompletePosition2 (core::Widget *generator, core::Widget *widget, int x, int y)
 
bool containerMustAdjustExtraSpace ()
 
int getLeftBorder (int y, int h, OOFAwareWidget *lastGen, int lastExtIndex)
 
int getRightBorder (int y, int h, OOFAwareWidget *lastGen, int lastExtIndex)
 
bool hasFloatLeft (int y, int h, OOFAwareWidget *lastGen, int lastExtIndex)
 
bool hasFloatRight (int y, int h, OOFAwareWidget *lastGen, int lastExtIndex)
 
int getLeftFloatHeight (int y, int h, OOFAwareWidget *lastGen, int lastExtIndex)
 
int getRightFloatHeight (int y, int h, OOFAwareWidget *lastGen, int lastExtIndex)
 
int getClearPosition (OOFAwareWidget *widget)
 
bool affectsLeftBorder (core::Widget *widget)
 
bool affectsRightBorder (core::Widget *widget)
 
bool mayAffectBordersAtAll ()
 
bool dealingWithSizeOfChild (core::Widget *child)
 
int getNumWidgets ()
 
core::WidgetgetWidget (int i)
 
- Public Member Functions inherited from dw::oof::OutOfFlowMgr
 OutOfFlowMgr ()
 
virtual ~OutOfFlowMgr ()
 

Protected Member Functions

virtual int containerBoxOffsetX ()=0
 
virtual int containerBoxOffsetY ()=0
 
virtual int containerBoxRestWidth ()=0
 
virtual int containerBoxRestHeight ()=0
 
int containerBoxDiffWidth ()
 
int containerBoxDiffHeight ()
 
bool haveExtremesChanged ()
 
void sizeAllocateChildren ()
 
bool posXAbsolute (Child *child)
 
bool posYAbsolute (Child *child)
 
void calcPosAndSizeChildOfChild (Child *child, int refWidth, int refHeight, int *xPtr, int *yPtr, int *widthPtr, int *ascentPtr, int *descentPtr)
 
void calcHPosAndSizeChildOfChild (Child *child, int refWidth, int origChildWidth, int *xPtr, int *widthPtr)
 
void calcVPosAndSizeChildOfChild (Child *child, int refHeight, int origChildAscent, int origChildDescent, int *yPtr, int *ascentPtr, int *descentPtr)
 
- Protected Member Functions inherited from dw::oof::OOFPositionedMgr
bool getPosLeft (core::Widget *child, int availWidth, int *result)
 
bool getPosRight (core::Widget *child, int availWidth, int *result)
 
bool getPosTop (core::Widget *child, int availHeight, int *result)
 
bool getPosBottom (core::Widget *child, int availHeight, int *result)
 
bool getPosBorder (core::style::Length cssValue, int refLength, int *result)
 
bool allChildrenConsideredForSize ()
 
bool allChildrenConsideredForExtremes ()
 
bool doChildrenExceedContainer ()
 
bool generatorPosDefined (Child *child)
 
int generatorPosX (Child *child)
 
int generatorPosY (Child *child)
 
bool posXDefined (Child *child)
 
bool posYDefined (Child *child)
 

Additional Inherited Members

- Protected Types inherited from dw::oof::OOFPositionedMgr
enum  { NOT_ALLOCATED, IN_ALLOCATION, WAS_ALLOCATED }
 
- Protected Attributes inherited from dw::oof::OOFPositionedMgr
OOFAwareWidgetcontainer
 
core::Allocation containerAllocation
 
enum
dw::oof::OOFPositionedMgr:: { ... }  
containerAllocationState
 
lout::container::typed::Vector
< Child > * 
children
 
lout::container::typed::HashTable
< lout::object::TypedPointer
< dw::core::Widget >, Child > * 
childrenByWidget
 

Constructor & Destructor Documentation

dw::oof::OOFPosAbsLikeMgr::OOFPosAbsLikeMgr ( OOFAwareWidget container)

References DBG_OBJ_CREATE.

dw::oof::OOFPosAbsLikeMgr::~OOFPosAbsLikeMgr ( )

References DBG_OBJ_DELETE.

Member Function Documentation

void dw::oof::OOFPosAbsLikeMgr::calcHPosAndSizeChildOfChild ( Child child,
int  refWidth,
int  origChildWidth,
int *  xPtr,
int *  widthPtr 
)
protected
void dw::oof::OOFPosAbsLikeMgr::calcPosAndSizeChildOfChild ( Child child,
int  refWidth,
int  refHeight,
int *  xPtr,
int *  yPtr,
int *  widthPtr,
int *  ascentPtr,
int *  descentPtr 
)
protected
void dw::oof::OOFPosAbsLikeMgr::calcVPosAndSizeChildOfChild ( Child child,
int  refHeight,
int  origChildAscent,
int  origChildDescent,
int *  yPtr,
int *  ascentPtr,
int *  descentPtr 
)
protected
void dw::oof::OOFPosAbsLikeMgr::calcWidgetRefSize ( core::Widget widget,
core::Requisition size 
)
virtual
int dw::oof::OOFPosAbsLikeMgr::containerBoxDiffHeight ( )
inlineprotected
int dw::oof::OOFPosAbsLikeMgr::containerBoxDiffWidth ( )
inlineprotected
virtual int dw::oof::OOFPosAbsLikeMgr::containerBoxOffsetX ( )
protectedpure virtual
virtual int dw::oof::OOFPosAbsLikeMgr::containerBoxOffsetY ( )
protectedpure virtual
virtual int dw::oof::OOFPosAbsLikeMgr::containerBoxRestHeight ( )
protectedpure virtual
virtual int dw::oof::OOFPosAbsLikeMgr::containerBoxRestWidth ( )
protectedpure virtual
int dw::oof::OOFPosAbsLikeMgr::getAvailHeightOfChild ( core::Widget child,
bool  forceValue 
)
virtual
int dw::oof::OOFPosAbsLikeMgr::getAvailWidthOfChild ( core::Widget child,
bool  forceValue 
)
virtual
void dw::oof::OOFPosAbsLikeMgr::getExtremes ( core::Extremes containerExtr,
int *  oofMinWidth,
int *  oofMaxWidth 
)
virtual
void dw::oof::OOFPosAbsLikeMgr::getSize ( core::Requisition containerReq,
int *  oofWidth,
int *  oofHeight 
)
virtual
bool dw::oof::OOFPosAbsLikeMgr::haveExtremesChanged ( )
protected
bool dw::oof::OOFPosAbsLikeMgr::posXAbsolute ( Child child)
protectedvirtual
bool dw::oof::OOFPosAbsLikeMgr::posYAbsolute ( Child child)
protectedvirtual
void dw::oof::OOFPosAbsLikeMgr::sizeAllocateChildren ( )
protectedvirtual

The documentation for this class was generated from the following files: