Dillo
Functions
dw::tablecell Namespace Reference

Provided some common implementations of virtual widget methods. More...

Functions

bool getAdjustMinWidth ()
 
bool isBlockLevel ()
 
int correctAvailWidthOfChild (core::Widget *widget, core::Widget *child, int width, bool forceValue)
 
int correctAvailHeightOfChild (core::Widget *widget, core::Widget *child, int height, bool forceValue)
 
void correctCorrectedRequisitionOfChild (core::Widget *widget, core::Widget *child, core::Requisition *requisition, void(*splitHeightFun)(int, int *, int *), bool allowDecreaseWidth, bool allowDecreaseHeight)
 
void correctCorrectedExtremesOfChild (core::Widget *widget, core::Widget *child, core::Extremes *extremes, bool useAdjustmentWidth)
 
int applyPerWidth (core::Widget *widget, int containerWidth, core::style::Length perWidth)
 
int applyPerHeight (core::Widget *widget, int containerHeight, core::style::Length perHeight)
 
bool usesMaxGeneratorWidth ()
 
bool adjustExtraSpaceWhenCorrectingRequisitionByOOF ()
 

Detailed Description

Provided some common implementations of virtual widget methods.

Once I understand how diamond inheritance works, a class TableCell will be provided, from which SimpleTableCell and AlignedTableCell will inherit, additionaly (in a multiple way).

Function Documentation

bool dw::tablecell::adjustExtraSpaceWhenCorrectingRequisitionByOOF ( )
inline
int dw::tablecell::applyPerHeight ( core::Widget *  widget,
int  containerHeight,
core::style::Length  perHeight 
)
int dw::tablecell::applyPerWidth ( core::Widget *  widget,
int  containerWidth,
core::style::Length  perWidth 
)
int dw::tablecell::correctAvailHeightOfChild ( core::Widget *  widget,
core::Widget *  child,
int  height,
bool  forceValue 
)
int dw::tablecell::correctAvailWidthOfChild ( core::Widget *  widget,
core::Widget *  child,
int  width,
bool  forceValue 
)
void dw::tablecell::correctCorrectedExtremesOfChild ( core::Widget *  widget,
core::Widget *  child,
core::Extremes *  extremes,
bool  useAdjustmentWidth 
)
void dw::tablecell::correctCorrectedRequisitionOfChild ( core::Widget *  widget,
core::Widget *  child,
core::Requisition *  requisition,
void(*)(int, int *, int *)  splitHeightFun,
bool  allowDecreaseWidth,
bool  allowDecreaseHeight 
)
bool dw::tablecell::getAdjustMinWidth ( )
bool dw::tablecell::isBlockLevel ( )
bool dw::tablecell::usesMaxGeneratorWidth ( )
inline