Dillo v3.1.1-98-g318d1f14
Loading...
Searching...
No Matches
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
6namespace dw {
7
8namespace tablecell {
9
10inline bool usesMaxGeneratorWidth () { return true; }
11
12bool getAdjustMinWidth ();
13bool 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
31int applyPerWidth (core::Widget *widget, int containerWidth,
32 core::style::Length perWidth);
33int applyPerHeight (core::Widget *widget, int containerHeight,
34 core::style::Length perHeight);
35
36inline bool adjustExtraSpaceWhenCorrectingRequisitionByOOF () { return false; }
37
38} // namespace dw
39
40} // namespace dw
41
42#endif // __DW_TABLECELL_HH__
The base class of all dillo widgets.
Definition widget.hh:44
int Length
Type for representing all lengths within dw::core::style.
Definition style.hh:429
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
bool adjustExtraSpaceWhenCorrectingRequisitionByOOF()
Definition tablecell.hh:36
bool getAdjustMinWidth()
Definition tablecell.cc:37
int applyPerWidth(core::Widget *widget, int containerWidth, core::style::Length perWidth)
Definition tablecell.cc:115
int correctAvailWidthOfChild(core::Widget *widget, core::Widget *child, int width, bool forceValue)
Definition tablecell.cc:47
bool isBlockLevel()
Definition tablecell.cc:42
bool usesMaxGeneratorWidth()
Definition tablecell.hh:10
void correctCorrectedRequisitionOfChild(core::Widget *widget, core::Widget *child, core::Requisition *requisition, void(*splitHeightFun)(int, int *, int *), bool allowDecreaseWidth, bool allowDecreaseHeight)
Definition tablecell.cc:79
void correctCorrectedExtremesOfChild(core::Widget *widget, core::Widget *child, core::Extremes *extremes, bool useAdjustmentWidth)
Definition tablecell.cc:108
Dw is in this namespace, or sub namespaces of this one.