Dillo v3.1.1-46-g8a360e32
Loading...
Searching...
No Matches
alignedtablecell.hh
Go to the documentation of this file.
1#ifndef __DW_ALIGNEDTABLECELL_HH__
2#define __DW_ALIGNEDTABLECELL_HH__
3
4#include "core.hh"
5#include "alignedtextblock.hh"
6
7namespace dw {
8
10{
11private:
13
14protected:
15 int getAvailWidthOfChild (Widget *child, bool forceValue);
16 int getAvailHeightOfChild (Widget *child, bool forceValue);
17
20 void (*splitHeightFun) (int, int*, int*),
21 bool allowDecreaseWidth,
22 bool allowDecreaseHeight);
24 bool useAdjustmentWidth);
25
26 bool getAdjustMinWidth ();
27
29
30 int wordWrap (int wordIndex, bool wrapAll);
31
32 int getValue ();
33 void setMaxValue (int maxValue, int value);
34
35public:
36 static int CLASS_ID;
37
40
41 int applyPerWidth (int containerWidth, core::style::Length perWidth);
42 int applyPerHeight (int containerHeight, core::style::Length perHeight);
43
44 bool isBlockLevel ();
45
47};
48
49} // namespace dw
50
51#endif // __DW_ALIGNEDTABLECELL_HH__
int applyPerHeight(int containerHeight, core::style::Length perHeight)
void correctExtremesOfChild(Widget *child, core::Extremes *extremes, bool useAdjustmentWidth)
int getAvailWidthOfChild(Widget *child, bool forceValue)
void setMaxValue(int maxValue, int value)
int applyPerWidth(int containerWidth, core::style::Length perWidth)
void correctRequisitionOfChild(Widget *child, core::Requisition *requisition, void(*splitHeightFun)(int, int *, int *), bool allowDecreaseWidth, bool allowDecreaseHeight)
int wordWrap(int wordIndex, bool wrapAll)
int getAvailHeightOfChild(Widget *child, bool forceValue)
bool adjustExtraSpaceWhenCorrectingRequisitionByOOF()
Base widget for all textblocks (sub classes of dw::Textblock), which are positioned vertically and al...
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:428
Dw is in this namespace, or sub namespaces of this one.