Dillo v3.1.1-119-g140d9ebd
Loading...
Searching...
No Matches
simpletablecell.hh
Go to the documentation of this file.
1#ifndef __DW_SIMPLETABLECELL_HH__
2#define __DW_SIMPLETABLECELL_HH__
3
4#include "textblock.hh"
5
6namespace dw {
7
9{
10protected:
11 int getAvailWidthOfChild (Widget *child, bool forceValue);
12 int getAvailHeightOfChild (Widget *child, bool forceValue);
13
16 void (*splitHeightFun) (int, int*, int*),
17 bool allowDecreaseWidth,
18 bool allowDecreaseHeight);
20 bool useAdjustmentWidth);
21
22 bool getAdjustMinWidth ();
23
25
26public:
27 static int CLASS_ID;
28
31
32 int applyPerWidth (int containerWidth, core::style::Length perWidth);
33 int applyPerHeight (int containerHeight, core::style::Length perHeight);
34
35 bool isBlockLevel ();
36
38};
39
40} // namespace dw
41
42#endif // __DW_SIMPLETABLECELL_HH__
void correctExtremesOfChild(Widget *child, core::Extremes *extremes, bool useAdjustmentWidth)
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)
int applyPerWidth(int containerWidth, core::style::Length perWidth)
A Widget for rendering text blocks, i.e.
Definition textblock.hh:206
bool limitTextWidth
Definition textblock.hh:572
Extremes extremes
Analogue to dw::core::Widget::requisition.
Definition widget.hh:166
Requisition requisition
Size_request() stores the result of the last call of size_request_impl().
Definition widget.hh:160
int Length
Type for representing all lengths within dw::core::style.
Definition style.hh:429
Dw is in this namespace, or sub namespaces of this one.