Dillo v3.1.1-98-g318d1f14
Loading...
Searching...
No Matches
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

◆ adjustExtraSpaceWhenCorrectingRequisitionByOOF()

bool dw::tablecell::adjustExtraSpaceWhenCorrectingRequisitionByOOF ( )
inline

◆ applyPerHeight()

int dw::tablecell::applyPerHeight ( core::Widget widget,
int  containerHeight,
core::style::Length  perHeight 
)

◆ applyPerWidth()

int dw::tablecell::applyPerWidth ( core::Widget widget,
int  containerWidth,
core::style::Length  perWidth 
)

◆ correctAvailHeightOfChild()

int dw::tablecell::correctAvailHeightOfChild ( core::Widget widget,
core::Widget child,
int  height,
bool  forceValue 
)

◆ correctAvailWidthOfChild()

int dw::tablecell::correctAvailWidthOfChild ( core::Widget widget,
core::Widget child,
int  width,
bool  forceValue 
)

◆ correctCorrectedExtremesOfChild()

void dw::tablecell::correctCorrectedExtremesOfChild ( core::Widget widget,
core::Widget child,
core::Extremes extremes,
bool  useAdjustmentWidth 
)

◆ correctCorrectedRequisitionOfChild()

void dw::tablecell::correctCorrectedRequisitionOfChild ( core::Widget widget,
core::Widget child,
core::Requisition requisition,
void(*)(int, int *, int *)  splitHeightFun,
bool  allowDecreaseWidth,
bool  allowDecreaseHeight 
)

◆ getAdjustMinWidth()

bool dw::tablecell::getAdjustMinWidth ( )

◆ isBlockLevel()

bool dw::tablecell::isBlockLevel ( )

◆ usesMaxGeneratorWidth()

bool dw::tablecell::usesMaxGeneratorWidth ( )
inline