1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>Dillo: dw/simpletablecell.hh Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="https://www.dillo.org/dw/html/jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Dillo
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>File Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_fdc4064fcda8ca976b3af3f83c9eca4d.html">dw</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">simpletablecell.hh</div> </div>
</div><!--header-->
<div class="contents">
<a href="simpletablecell_8hh.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef __DW_SIMPLETABLECELL_HH__</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define __DW_SIMPLETABLECELL_HH__</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> </div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include "<a class="code" href="textblock_8hh.html">textblock.hh</a>"</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> </div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="keyword">namespace </span><a class="code" href="namespacedw.html">dw</a> {</div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div>
<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="classdw_1_1SimpleTableCell.html"> 8</a></span> <span class="keyword">class </span><a class="code" href="classdw_1_1SimpleTableCell.html">SimpleTableCell</a>: <span class="keyword">public</span> <a class="code" href="classdw_1_1Textblock.html">Textblock</a></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> {</div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  <span class="keywordtype">int</span> <a class="code" href="classdw_1_1SimpleTableCell.html#a3d9c4cab84afd39cf2a296188473c5d6">getAvailWidthOfChild</a> (<a class="code" href="classdw_1_1core_1_1Widget.html#a4c6b915525836850ed70736e394acc2a">Widget</a> *child, <span class="keywordtype">bool</span> forceValue);</div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  <span class="keywordtype">int</span> <a class="code" href="classdw_1_1SimpleTableCell.html#a477e216b37e6b188fba5ebd27bea9e46">getAvailHeightOfChild</a> (<a class="code" href="classdw_1_1core_1_1Widget.html#a4c6b915525836850ed70736e394acc2a">Widget</a> *child, <span class="keywordtype">bool</span> forceValue);</div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  <span class="keywordtype">void</span> <a class="code" href="classdw_1_1SimpleTableCell.html#a8068d7dc2e365bcf9581d67dbda2e3a0">correctRequisitionOfChild</a> (<a class="code" href="classdw_1_1core_1_1Widget.html#a4c6b915525836850ed70736e394acc2a">Widget</a> *child,</div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  <a class="code" href="structdw_1_1core_1_1Requisition.html">core::Requisition</a> *<a class="code" href="classdw_1_1core_1_1Widget.html#a5c1423c3261dbaa0fc837d824db0dc99">requisition</a>,</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  <span class="keywordtype">void</span> (*splitHeightFun) (<span class="keywordtype">int</span>, <span class="keywordtype">int</span>*, <span class="keywordtype">int</span>*),</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <span class="keywordtype">bool</span> allowDecreaseWidth,</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  <span class="keywordtype">bool</span> allowDecreaseHeight);</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <span class="keywordtype">void</span> <a class="code" href="classdw_1_1SimpleTableCell.html#a23cba3792404e256217bb5ae6777ccf8">correctExtremesOfChild</a> (<a class="code" href="classdw_1_1core_1_1Widget.html#a4c6b915525836850ed70736e394acc2a">Widget</a> *child, <a class="code" href="structdw_1_1core_1_1Extremes.html">core::Extremes</a> *<a class="code" href="classdw_1_1core_1_1Widget.html#a1a08dcfa5c228e2f31de9cea56cccaf1">extremes</a>,</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="keywordtype">bool</span> useAdjustmentWidth);</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="keywordtype">bool</span> <a class="code" href="classdw_1_1SimpleTableCell.html#a0369ae45460e84a1af8625afa6fffa89">getAdjustMinWidth</a> ();</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keywordtype">bool</span> <a class="code" href="classdw_1_1SimpleTableCell.html#a9776607b47083c5b8f1c31f5cee2cb2d">adjustExtraSpaceWhenCorrectingRequisitionByOOF</a> ();</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classdw_1_1SimpleTableCell.html#ac84771bd69e08581d6f79ee0e6d43784"> 27</a></span>  <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="classdw_1_1SimpleTableCell.html#ac84771bd69e08581d6f79ee0e6d43784">CLASS_ID</a>;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <a class="code" href="classdw_1_1SimpleTableCell.html#acb291e2bcf7fcb79280292328846b8b5">SimpleTableCell</a> (<span class="keywordtype">bool</span> <a class="code" href="classdw_1_1Textblock.html#a6d3b59ab5aad172d0dcfc7fa52473da5">limitTextWidth</a>);</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <a class="code" href="classdw_1_1SimpleTableCell.html#acd65dc63d199dd24cd602930de840763">~SimpleTableCell</a> ();</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keywordtype">int</span> <a class="code" href="classdw_1_1SimpleTableCell.html#ad916d30d9dc50bd72f5f6edcfb3e80fb">applyPerWidth</a> (<span class="keywordtype">int</span> containerWidth, <a class="code" href="namespacedw_1_1core_1_1style.html#a65610d57c89e5bee02e4e539fdc989de">core::style::Length</a> perWidth);</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordtype">int</span> <a class="code" href="classdw_1_1SimpleTableCell.html#a9b549e7123c30244cb0322d57e40611d">applyPerHeight</a> (<span class="keywordtype">int</span> containerHeight, <a class="code" href="namespacedw_1_1core_1_1style.html#a65610d57c89e5bee02e4e539fdc989de">core::style::Length</a> perHeight);</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keywordtype">bool</span> <a class="code" href="classdw_1_1SimpleTableCell.html#a2ad6153524101447ced7488cdeafae06">isBlockLevel</a> ();</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordtype">bool</span> <a class="code" href="classdw_1_1SimpleTableCell.html#a26aca07fb300a4439ee3c5d565c5976a">usesMaxGeneratorWidth</a> ();</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> };</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> } <span class="comment">// namespace dw</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor">#endif // __DW_SIMPLETABLECELL_HH__</span></div>
<div class="ttc" id="classdw_1_1SimpleTableCell_html_a9b549e7123c30244cb0322d57e40611d"><div class="ttname"><a href="classdw_1_1SimpleTableCell.html#a9b549e7123c30244cb0322d57e40611d">dw::SimpleTableCell::applyPerHeight</a></div><div class="ttdeci">int applyPerHeight(int containerHeight, core::style::Length perHeight)</div><div class="ttdef"><b>Definition:</b> simpletablecell.cc:132</div></div>
<div class="ttc" id="classdw_1_1core_1_1Widget_html_a1a08dcfa5c228e2f31de9cea56cccaf1"><div class="ttname"><a href="classdw_1_1core_1_1Widget.html#a1a08dcfa5c228e2f31de9cea56cccaf1">dw::core::Widget::extremes</a></div><div class="ttdeci">Extremes extremes</div><div class="ttdoc">Analogue to dw::core::Widget::requisition. </div><div class="ttdef"><b>Definition:</b> widget.hh:146</div></div>
<div class="ttc" id="classdw_1_1Textblock_html"><div class="ttname"><a href="classdw_1_1Textblock.html">dw::Textblock</a></div><div class="ttdoc">A Widget for rendering text blocks, i.e. paragraphs or sequences of paragraphs. </div><div class="ttdef"><b>Definition:</b> textblock.hh:205</div></div>
<div class="ttc" id="textblock_8hh_html"><div class="ttname"><a href="textblock_8hh.html">textblock.hh</a></div></div>
<div class="ttc" id="classdw_1_1core_1_1Widget_html_a5c1423c3261dbaa0fc837d824db0dc99"><div class="ttname"><a href="classdw_1_1core_1_1Widget.html#a5c1423c3261dbaa0fc837d824db0dc99">dw::core::Widget::requisition</a></div><div class="ttdeci">Requisition requisition</div><div class="ttdoc">Size_request() stores the result of the last call of size_request_impl(). </div><div class="ttdef"><b>Definition:</b> widget.hh:140</div></div>
<div class="ttc" id="classdw_1_1SimpleTableCell_html_ad916d30d9dc50bd72f5f6edcfb3e80fb"><div class="ttname"><a href="classdw_1_1SimpleTableCell.html#ad916d30d9dc50bd72f5f6edcfb3e80fb">dw::SimpleTableCell::applyPerWidth</a></div><div class="ttdeci">int applyPerWidth(int containerWidth, core::style::Length perWidth)</div><div class="ttdef"><b>Definition:</b> simpletablecell.cc:126</div></div>
<div class="ttc" id="classdw_1_1SimpleTableCell_html_acb291e2bcf7fcb79280292328846b8b5"><div class="ttname"><a href="classdw_1_1SimpleTableCell.html#acb291e2bcf7fcb79280292328846b8b5">dw::SimpleTableCell::SimpleTableCell</a></div><div class="ttdeci">SimpleTableCell(bool limitTextWidth)</div><div class="ttdef"><b>Definition:</b> simpletablecell.cc:32</div></div>
<div class="ttc" id="classdw_1_1Textblock_html_a6d3b59ab5aad172d0dcfc7fa52473da5"><div class="ttname"><a href="classdw_1_1Textblock.html#a6d3b59ab5aad172d0dcfc7fa52473da5">dw::Textblock::limitTextWidth</a></div><div class="ttdeci">bool limitTextWidth</div><div class="ttdef"><b>Definition:</b> textblock.hh:573</div></div>
<div class="ttc" id="classdw_1_1SimpleTableCell_html_a3d9c4cab84afd39cf2a296188473c5d6"><div class="ttname"><a href="classdw_1_1SimpleTableCell.html#a3d9c4cab84afd39cf2a296188473c5d6">dw::SimpleTableCell::getAvailWidthOfChild</a></div><div class="ttdeci">int getAvailWidthOfChild(Widget *child, bool forceValue)</div><div class="ttdef"><b>Definition:</b> simpletablecell.cc:59</div></div>
<div class="ttc" id="classdw_1_1SimpleTableCell_html_a2ad6153524101447ced7488cdeafae06"><div class="ttname"><a href="classdw_1_1SimpleTableCell.html#a2ad6153524101447ced7488cdeafae06">dw::SimpleTableCell::isBlockLevel</a></div><div class="ttdeci">bool isBlockLevel()</div><div class="ttdef"><b>Definition:</b> simpletablecell.cc:49</div></div>
<div class="ttc" id="structdw_1_1core_1_1Requisition_html"><div class="ttname"><a href="structdw_1_1core_1_1Requisition.html">dw::core::Requisition</a></div><div class="ttdef"><b>Definition:</b> types.hh:172</div></div>
<div class="ttc" id="classdw_1_1SimpleTableCell_html_a0369ae45460e84a1af8625afa6fffa89"><div class="ttname"><a href="classdw_1_1SimpleTableCell.html#a0369ae45460e84a1af8625afa6fffa89">dw::SimpleTableCell::getAdjustMinWidth</a></div><div class="ttdeci">bool getAdjustMinWidth()</div><div class="ttdef"><b>Definition:</b> simpletablecell.cc:44</div></div>
<div class="ttc" id="classdw_1_1SimpleTableCell_html"><div class="ttname"><a href="classdw_1_1SimpleTableCell.html">dw::SimpleTableCell</a></div><div class="ttdef"><b>Definition:</b> simpletablecell.hh:8</div></div>
<div class="ttc" id="classdw_1_1SimpleTableCell_html_ac84771bd69e08581d6f79ee0e6d43784"><div class="ttname"><a href="classdw_1_1SimpleTableCell.html#ac84771bd69e08581d6f79ee0e6d43784">dw::SimpleTableCell::CLASS_ID</a></div><div class="ttdeci">static int CLASS_ID</div><div class="ttdef"><b>Definition:</b> simpletablecell.hh:27</div></div>
<div class="ttc" id="structdw_1_1core_1_1Extremes_html"><div class="ttname"><a href="structdw_1_1core_1_1Extremes.html">dw::core::Extremes</a></div><div class="ttdef"><b>Definition:</b> types.hh:179</div></div>
<div class="ttc" id="classdw_1_1SimpleTableCell_html_a23cba3792404e256217bb5ae6777ccf8"><div class="ttname"><a href="classdw_1_1SimpleTableCell.html#a23cba3792404e256217bb5ae6777ccf8">dw::SimpleTableCell::correctExtremesOfChild</a></div><div class="ttdeci">void correctExtremesOfChild(Widget *child, core::Extremes *extremes, bool useAdjustmentWidth)</div><div class="ttdef"><b>Definition:</b> simpletablecell.cc:110</div></div>
<div class="ttc" id="namespacedw_html"><div class="ttname"><a href="namespacedw.html">dw</a></div><div class="ttdoc">Dw is in this namespace, or sub namespaces of this one. </div><div class="ttdef"><b>Definition:</b> alignedtablecell.cc:28</div></div>
<div class="ttc" id="classdw_1_1core_1_1Widget_html_a4c6b915525836850ed70736e394acc2a"><div class="ttname"><a href="classdw_1_1core_1_1Widget.html#a4c6b915525836850ed70736e394acc2a">dw::core::Widget::Widget</a></div><div class="ttdeci">Widget()</div><div class="ttdef"><b>Definition:</b> widget.cc:67</div></div>
<div class="ttc" id="classdw_1_1SimpleTableCell_html_acd65dc63d199dd24cd602930de840763"><div class="ttname"><a href="classdw_1_1SimpleTableCell.html#acd65dc63d199dd24cd602930de840763">dw::SimpleTableCell::~SimpleTableCell</a></div><div class="ttdeci">~SimpleTableCell()</div><div class="ttdef"><b>Definition:</b> simpletablecell.cc:39</div></div>
<div class="ttc" id="classdw_1_1SimpleTableCell_html_a8068d7dc2e365bcf9581d67dbda2e3a0"><div class="ttname"><a href="classdw_1_1SimpleTableCell.html#a8068d7dc2e365bcf9581d67dbda2e3a0">dw::SimpleTableCell::correctRequisitionOfChild</a></div><div class="ttdeci">void correctRequisitionOfChild(Widget *child, core::Requisition *requisition, void(*splitHeightFun)(int, int *, int *), bool allowDecreaseWidth, bool allowDecreaseHeight)</div><div class="ttdef"><b>Definition:</b> simpletablecell.cc:85</div></div>
<div class="ttc" id="classdw_1_1SimpleTableCell_html_a9776607b47083c5b8f1c31f5cee2cb2d"><div class="ttname"><a href="classdw_1_1SimpleTableCell.html#a9776607b47083c5b8f1c31f5cee2cb2d">dw::SimpleTableCell::adjustExtraSpaceWhenCorrectingRequisitionByOOF</a></div><div class="ttdeci">bool adjustExtraSpaceWhenCorrectingRequisitionByOOF()</div><div class="ttdef"><b>Definition:</b> simpletablecell.cc:138</div></div>
<div class="ttc" id="namespacedw_1_1core_1_1style_html_a65610d57c89e5bee02e4e539fdc989de"><div class="ttname"><a href="namespacedw_1_1core_1_1style.html#a65610d57c89e5bee02e4e539fdc989de">dw::core::style::Length</a></div><div class="ttdeci">int Length</div><div class="ttdoc">Type for representing all lengths within dw::core::style. </div><div class="ttdef"><b>Definition:</b> style.hh:428</div></div>
<div class="ttc" id="classdw_1_1SimpleTableCell_html_a26aca07fb300a4439ee3c5d565c5976a"><div class="ttname"><a href="classdw_1_1SimpleTableCell.html#a26aca07fb300a4439ee3c5d565c5976a">dw::SimpleTableCell::usesMaxGeneratorWidth</a></div><div class="ttdeci">bool usesMaxGeneratorWidth()</div><div class="ttdef"><b>Definition:</b> simpletablecell.cc:54</div></div>
<div class="ttc" id="classdw_1_1SimpleTableCell_html_a477e216b37e6b188fba5ebd27bea9e46"><div class="ttname"><a href="classdw_1_1SimpleTableCell.html#a477e216b37e6b188fba5ebd27bea9e46">dw::SimpleTableCell::getAvailHeightOfChild</a></div><div class="ttdeci">int getAvailHeightOfChild(Widget *child, bool forceValue)</div><div class="ttdef"><b>Definition:</b> simpletablecell.cc:72</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat May 28 2016 11:47:42 for Dillo by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>
|