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
6
namespace
dw
{
7
8
class
SimpleTableCell
:
public
Textblock
9
{
10
protected
:
11
int
getAvailWidthOfChild
(
Widget
*child,
bool
forceValue);
12
int
getAvailHeightOfChild
(
Widget
*child,
bool
forceValue);
13
14
void
correctRequisitionOfChild
(
Widget
*child,
15
core::Requisition
*
requisition
,
16
void
(*splitHeightFun) (
int
,
int
*,
int
*),
17
bool
allowDecreaseWidth,
18
bool
allowDecreaseHeight);
19
void
correctExtremesOfChild
(
Widget
*child,
core::Extremes
*
extremes
,
20
bool
useAdjustmentWidth);
21
22
bool
getAdjustMinWidth
();
23
24
bool
adjustExtraSpaceWhenCorrectingRequisitionByOOF
();
25
26
public
:
27
static
int
CLASS_ID
;
28
29
SimpleTableCell
(
bool
limitTextWidth
);
30
~SimpleTableCell
();
31
32
int
applyPerWidth
(
int
containerWidth,
core::style::Length
perWidth);
33
int
applyPerHeight
(
int
containerHeight,
core::style::Length
perHeight);
34
35
bool
isBlockLevel
();
36
37
bool
usesMaxGeneratorWidth
();
38
};
39
40
}
// namespace dw
41
42
#endif
// __DW_SIMPLETABLECELL_HH__
dw::SimpleTableCell
Definition
simpletablecell.hh:9
dw::SimpleTableCell::getAdjustMinWidth
bool getAdjustMinWidth()
Definition
simpletablecell.cc:44
dw::SimpleTableCell::correctExtremesOfChild
void correctExtremesOfChild(Widget *child, core::Extremes *extremes, bool useAdjustmentWidth)
Definition
simpletablecell.cc:110
dw::SimpleTableCell::usesMaxGeneratorWidth
bool usesMaxGeneratorWidth()
Definition
simpletablecell.cc:54
dw::SimpleTableCell::isBlockLevel
bool isBlockLevel()
Definition
simpletablecell.cc:49
dw::SimpleTableCell::getAvailWidthOfChild
int getAvailWidthOfChild(Widget *child, bool forceValue)
Definition
simpletablecell.cc:59
dw::SimpleTableCell::getAvailHeightOfChild
int getAvailHeightOfChild(Widget *child, bool forceValue)
Definition
simpletablecell.cc:72
dw::SimpleTableCell::correctRequisitionOfChild
void correctRequisitionOfChild(Widget *child, core::Requisition *requisition, void(*splitHeightFun)(int, int *, int *), bool allowDecreaseWidth, bool allowDecreaseHeight)
Definition
simpletablecell.cc:85
dw::SimpleTableCell::adjustExtraSpaceWhenCorrectingRequisitionByOOF
bool adjustExtraSpaceWhenCorrectingRequisitionByOOF()
Definition
simpletablecell.cc:138
dw::SimpleTableCell::applyPerHeight
int applyPerHeight(int containerHeight, core::style::Length perHeight)
Definition
simpletablecell.cc:132
dw::SimpleTableCell::CLASS_ID
static int CLASS_ID
Definition
simpletablecell.hh:27
dw::SimpleTableCell::~SimpleTableCell
~SimpleTableCell()
Definition
simpletablecell.cc:39
dw::SimpleTableCell::applyPerWidth
int applyPerWidth(int containerWidth, core::style::Length perWidth)
Definition
simpletablecell.cc:126
dw::Textblock
A Widget for rendering text blocks, i.e.
Definition
textblock.hh:206
dw::Textblock::limitTextWidth
bool limitTextWidth
Definition
textblock.hh:572
dw::core::Widget::extremes
Extremes extremes
Analogue to dw::core::Widget::requisition.
Definition
widget.hh:166
dw::core::Widget::Widget
Widget()
Definition
widget.cc:78
dw::core::Widget::requisition
Requisition requisition
Size_request() stores the result of the last call of size_request_impl().
Definition
widget.hh:160
dw::core::style::Length
int Length
Type for representing all lengths within dw::core::style.
Definition
style.hh:429
dw
Dw is in this namespace, or sub namespaces of this one.
Definition
alignedtablecell.cc:28
dw::core::Extremes
Definition
types.hh:180
dw::core::Requisition
Definition
types.hh:173
textblock.hh
dw
simpletablecell.hh
Generated on Sun Dec 22 2024 15:53:58 for Dillo by
1.9.8