Dillo
tablecell.hh
Go to the documentation of this file.
1 #ifndef __DW_TABLECELL_HH__
2 #define __DW_TABLECELL_HH__
3 
4 #include "core.hh"
5 
6 namespace dw {
7 
8 namespace tablecell {
9 
10 inline bool usesMaxGeneratorWidth () { return true; }
11 
12 bool getAdjustMinWidth ();
13 bool isBlockLevel ();
14 
16  int width, bool forceValue);
18  int height, bool forceValue);
19 
21  core::Widget *child,
22  core::Requisition *requisition,
23  void (*splitHeightFun) (int, int*,
24  int*),
25  bool allowDecreaseWidth,
26  bool allowDecreaseHeight);
28  core::Extremes *extremes,
29  bool useAdjustmentWidth);
30 
31 int applyPerWidth (core::Widget *widget, int containerWidth,
32  core::style::Length perWidth);
33 int applyPerHeight (core::Widget *widget, int containerHeight,
34  core::style::Length perHeight);
35 
36 inline bool adjustExtraSpaceWhenCorrectingRequisitionByOOF () { return false; }
37 
38 } // namespace dw
39 
40 } // namespace dw
41 
42 #endif // __DW_TABLECELL_HH__
void correctCorrectedRequisitionOfChild(core::Widget *widget, core::Widget *child, core::Requisition *requisition, void(*splitHeightFun)(int, int *, int *), bool allowDecreaseWidth, bool allowDecreaseHeight)
Definition: tablecell.cc:79
bool isBlockLevel()
Definition: tablecell.cc:42
int correctAvailWidthOfChild(core::Widget *widget, core::Widget *child, int width, bool forceValue)
Definition: tablecell.cc:47
bool usesMaxGeneratorWidth()
Definition: tablecell.hh:10
Definition: types.hh:172
The base class of all dillo widgets.
Definition: widget.hh:23
int applyPerWidth(core::Widget *widget, int containerWidth, core::style::Length perWidth)
Definition: tablecell.cc:115
Definition: types.hh:179
bool getAdjustMinWidth()
Definition: tablecell.cc:37
bool adjustExtraSpaceWhenCorrectingRequisitionByOOF()
Definition: tablecell.hh:36
Dw is in this namespace, or sub namespaces of this one.
Definition: alignedtablecell.cc:28
int applyPerHeight(core::Widget *widget, int containerHeight, core::style::Length perHeight)
Definition: tablecell.cc:121
int correctAvailHeightOfChild(core::Widget *widget, core::Widget *child, int height, bool forceValue)
Definition: tablecell.cc:72
int Length
Type for representing all lengths within dw::core::style.
Definition: style.hh:428
void correctCorrectedExtremesOfChild(core::Widget *widget, core::Widget *child, core::Extremes *extremes, bool useAdjustmentWidth)
Definition: tablecell.cc:108