24#include "../lout/debug.hh"
61 DBG_OBJ_ENTER (
"resize", 0,
"SimpleTableCell::getAvailWidthOfChild",
62 "%p, %s", child, forceValue ?
"true" :
"false");
74 DBG_OBJ_ENTER (
"resize", 0,
"SimpleTableCell::getAvailHeightOfChild",
75 "%p, %s", child, forceValue ?
"true" :
"false");
87 void (*splitHeightFun) (
int,
90 bool allowDecreaseWidth,
91 bool allowDecreaseHeight)
93 DBG_OBJ_ENTER (
"resize", 0,
"SimpleTableCell::correctRequisitionOfChild",
101 allowDecreaseHeight);
105 allowDecreaseHeight);
112 bool useAdjustmentWidth)
114 DBG_OBJ_ENTER (
"resize", 0,
"SimpleTableCell::correctExtremesOfChild",
115 "%p, %d (%d) / %d (%d)",
void correctExtremesOfChild(Widget *child, core::Extremes *extremes, bool useAdjustmentWidth)
bool usesMaxGeneratorWidth()
int getAvailWidthOfChild(Widget *child, bool forceValue)
int getAvailHeightOfChild(Widget *child, bool forceValue)
void correctRequisitionOfChild(Widget *child, core::Requisition *requisition, void(*splitHeightFun)(int, int *, int *), bool allowDecreaseWidth, bool allowDecreaseHeight)
bool adjustExtraSpaceWhenCorrectingRequisitionByOOF()
int applyPerHeight(int containerHeight, core::style::Length perHeight)
SimpleTableCell(bool limitTextWidth)
int applyPerWidth(int containerWidth, core::style::Length perWidth)
A Widget for rendering text blocks, i.e.
int getAvailHeightOfChild(core::Widget *child, bool forceValue)
int getAvailWidthOfChild(core::Widget *child, bool forceValue)
Computes the content width available of a child widget.
void registerName(const char *className, int *classId)
This method must be called in the constructor for the sub class.
#define DBG_OBJ_CREATE(klass)
#define DBG_OBJ_ENTER(aspect, prio, funname, fmt,...)
int Length
Type for representing all lengths within dw::core::style.
int applyPerHeight(core::Widget *widget, int containerHeight, core::style::Length perHeight)
int correctAvailHeightOfChild(core::Widget *widget, core::Widget *child, int height, bool forceValue)
bool adjustExtraSpaceWhenCorrectingRequisitionByOOF()
int applyPerWidth(core::Widget *widget, int containerWidth, core::style::Length perWidth)
int correctAvailWidthOfChild(core::Widget *widget, core::Widget *child, int width, bool forceValue)
bool usesMaxGeneratorWidth()
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)
Dw is in this namespace, or sub namespaces of this one.
const char * boolToStr(bool b)