48 int width,
bool forceValue)
50 DBG_OBJ_ENTER_O (
"resize", 0, widget,
"tablecell::correctAvailWidthOfChild",
51 "%p, %d, %s", child, width, forceValue ?
"true" :
"false");
73 int height,
bool forceValue)
82 void (*splitHeightFun) (
int,
int*,
84 bool allowDecreaseWidth,
85 bool allowDecreaseHeight)
87 DBG_OBJ_ENTER_O (
"resize", 0, widget,
"tablecell::correctRequisitionOfChild",
88 "%p, %d * (%d + %d), ..., %s, %s",
102 requisition->
width = allowDecreaseWidth ?
110 bool useAdjustmentWidth)
static bool getAdjustTableMinWidth()
#define DBG_OBJ_LEAVE_O(obj)
#define DBG_OBJ_MSGF_O(aspect, prio, obj, fmt,...)
#define DBG_OBJ_ENTER_O(aspect, prio, obj, funname, fmt,...)
int multiplyWithPerLength(int x, Length l)
Multiply an int with a percentage length, returning int.
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)
int applyPerWidth(core::Widget *widget, int containerWidth, core::style::Length perWidth)
int correctAvailWidthOfChild(core::Widget *widget, core::Widget *child, int width, 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)
Dw is in this namespace, or sub namespaces of this one.
const char * boolToStr(bool b)