summaryrefslogtreecommitdiff
path: root/old/dw/html/tablecell_8hh_source.html
blob: d3720f22f63149dc6c75004ff133db92e063b9b6 (plain)
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
<!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/tablecell.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&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;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">tablecell.hh</div>  </div>
</div><!--header-->
<div class="contents">
<a href="tablecell_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>&#160;<span class="preprocessor">#ifndef __DW_TABLECELL_HH__</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define __DW_TABLECELL_HH__</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="core_8hh.html">core.hh</a>&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;</div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<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>&#160;</div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="keyword">namespace </span>tablecell {</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;</div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="namespacedw_1_1tablecell.html#ad4f4b2060b8b8ac3bd4df2167c230283">   10</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespacedw_1_1tablecell.html#ad4f4b2060b8b8ac3bd4df2167c230283">usesMaxGeneratorWidth</a> () { <span class="keywordflow">return</span> <span class="keyword">true</span>; }</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="namespacedw_1_1tablecell.html#a41cecde3aaf3a974b1a38e7fe94b4644">getAdjustMinWidth</a> ();</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="namespacedw_1_1tablecell.html#aa9c0e42fbc6e18cf13a09683e9f282b5">isBlockLevel</a> ();</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="keywordtype">int</span> <a class="code" href="namespacedw_1_1tablecell.html#aa92a76d1c21cee68f14b6231bfca7a6c">correctAvailWidthOfChild</a> (<a class="code" href="classdw_1_1core_1_1Widget.html">core::Widget</a> *widget, <a class="code" href="classdw_1_1core_1_1Widget.html">core::Widget</a> *child,</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;                              <span class="keywordtype">int</span> width, <span class="keywordtype">bool</span> forceValue);</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="keywordtype">int</span> <a class="code" href="namespacedw_1_1tablecell.html#a1d5dcd75dfed9a43e4e95d1ddbf38990">correctAvailHeightOfChild</a> (<a class="code" href="classdw_1_1core_1_1Widget.html">core::Widget</a> *widget, <a class="code" href="classdw_1_1core_1_1Widget.html">core::Widget</a> *child,</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;                               <span class="keywordtype">int</span> height, <span class="keywordtype">bool</span> forceValue);</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespacedw_1_1tablecell.html#ae3fa7aab856ceddf5a4508c63d67a5fe">correctCorrectedRequisitionOfChild</a> (<a class="code" href="classdw_1_1core_1_1Widget.html">core::Widget</a> *widget,</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;                                         <a class="code" href="classdw_1_1core_1_1Widget.html">core::Widget</a> *child,</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;                                         <a class="code" href="structdw_1_1core_1_1Requisition.html">core::Requisition</a> *requisition,</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;                                         <span class="keywordtype">void</span> (*splitHeightFun) (<span class="keywordtype">int</span>, <span class="keywordtype">int</span>*,</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;                                                                 <span class="keywordtype">int</span>*),</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;                                         <span class="keywordtype">bool</span> allowDecreaseWidth,</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;                                         <span class="keywordtype">bool</span> allowDecreaseHeight);</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespacedw_1_1tablecell.html#ae5f9f3061f86697658fa2a86f8c8bcfd">correctCorrectedExtremesOfChild</a> (<a class="code" href="classdw_1_1core_1_1Widget.html">core::Widget</a> *widget, <a class="code" href="classdw_1_1core_1_1Widget.html">core::Widget</a> *child,</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;                                      <a class="code" href="structdw_1_1core_1_1Extremes.html">core::Extremes</a> *extremes,</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;                                      <span class="keywordtype">bool</span> useAdjustmentWidth);</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="keywordtype">int</span> <a class="code" href="namespacedw_1_1tablecell.html#a82eab0ebf70f3ef15d2a82d1359eeca4">applyPerWidth</a> (<a class="code" href="classdw_1_1core_1_1Widget.html">core::Widget</a> *widget, <span class="keywordtype">int</span> containerWidth,</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;                   <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>&#160;<span class="keywordtype">int</span> <a class="code" href="namespacedw_1_1tablecell.html#a08d75563317a285704d97e12520ff0bb">applyPerHeight</a> (<a class="code" href="classdw_1_1core_1_1Widget.html">core::Widget</a> *widget, <span class="keywordtype">int</span> containerHeight,</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;                    <a class="code" href="namespacedw_1_1core_1_1style.html#a65610d57c89e5bee02e4e539fdc989de">core::style::Length</a> perHeight);</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="namespacedw_1_1tablecell.html#a2b7ed4c2a0ce7f6cb7c1b0dde94aecfa">   36</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespacedw_1_1tablecell.html#a2b7ed4c2a0ce7f6cb7c1b0dde94aecfa">adjustExtraSpaceWhenCorrectingRequisitionByOOF</a> () { <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;} <span class="comment">// namespace dw</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;} <span class="comment">// namespace dw</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#endif // __DW_TABLECELL_HH__</span></div>
<div class="ttc" id="namespacedw_1_1tablecell_html_ae3fa7aab856ceddf5a4508c63d67a5fe"><div class="ttname"><a href="namespacedw_1_1tablecell.html#ae3fa7aab856ceddf5a4508c63d67a5fe">dw::tablecell::correctCorrectedRequisitionOfChild</a></div><div class="ttdeci">void correctCorrectedRequisitionOfChild(core::Widget *widget, core::Widget *child, core::Requisition *requisition, void(*splitHeightFun)(int, int *, int *), bool allowDecreaseWidth, bool allowDecreaseHeight)</div><div class="ttdef"><b>Definition:</b> tablecell.cc:79</div></div>
<div class="ttc" id="namespacedw_1_1tablecell_html_aa9c0e42fbc6e18cf13a09683e9f282b5"><div class="ttname"><a href="namespacedw_1_1tablecell.html#aa9c0e42fbc6e18cf13a09683e9f282b5">dw::tablecell::isBlockLevel</a></div><div class="ttdeci">bool isBlockLevel()</div><div class="ttdef"><b>Definition:</b> tablecell.cc:42</div></div>
<div class="ttc" id="namespacedw_1_1tablecell_html_aa92a76d1c21cee68f14b6231bfca7a6c"><div class="ttname"><a href="namespacedw_1_1tablecell.html#aa92a76d1c21cee68f14b6231bfca7a6c">dw::tablecell::correctAvailWidthOfChild</a></div><div class="ttdeci">int correctAvailWidthOfChild(core::Widget *widget, core::Widget *child, int width, bool forceValue)</div><div class="ttdef"><b>Definition:</b> tablecell.cc:47</div></div>
<div class="ttc" id="namespacedw_1_1tablecell_html_ad4f4b2060b8b8ac3bd4df2167c230283"><div class="ttname"><a href="namespacedw_1_1tablecell.html#ad4f4b2060b8b8ac3bd4df2167c230283">dw::tablecell::usesMaxGeneratorWidth</a></div><div class="ttdeci">bool usesMaxGeneratorWidth()</div><div class="ttdef"><b>Definition:</b> tablecell.hh:10</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_1core_1_1Widget_html"><div class="ttname"><a href="classdw_1_1core_1_1Widget.html">dw::core::Widget</a></div><div class="ttdoc">The base class of all dillo widgets. </div><div class="ttdef"><b>Definition:</b> widget.hh:23</div></div>
<div class="ttc" id="namespacedw_1_1tablecell_html_a82eab0ebf70f3ef15d2a82d1359eeca4"><div class="ttname"><a href="namespacedw_1_1tablecell.html#a82eab0ebf70f3ef15d2a82d1359eeca4">dw::tablecell::applyPerWidth</a></div><div class="ttdeci">int applyPerWidth(core::Widget *widget, int containerWidth, core::style::Length perWidth)</div><div class="ttdef"><b>Definition:</b> tablecell.cc:115</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="core_8hh_html"><div class="ttname"><a href="core_8hh.html">core.hh</a></div></div>
<div class="ttc" id="namespacedw_1_1tablecell_html_a41cecde3aaf3a974b1a38e7fe94b4644"><div class="ttname"><a href="namespacedw_1_1tablecell.html#a41cecde3aaf3a974b1a38e7fe94b4644">dw::tablecell::getAdjustMinWidth</a></div><div class="ttdeci">bool getAdjustMinWidth()</div><div class="ttdef"><b>Definition:</b> tablecell.cc:37</div></div>
<div class="ttc" id="namespacedw_1_1tablecell_html_a2b7ed4c2a0ce7f6cb7c1b0dde94aecfa"><div class="ttname"><a href="namespacedw_1_1tablecell.html#a2b7ed4c2a0ce7f6cb7c1b0dde94aecfa">dw::tablecell::adjustExtraSpaceWhenCorrectingRequisitionByOOF</a></div><div class="ttdeci">bool adjustExtraSpaceWhenCorrectingRequisitionByOOF()</div><div class="ttdef"><b>Definition:</b> tablecell.hh:36</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="namespacedw_1_1tablecell_html_a08d75563317a285704d97e12520ff0bb"><div class="ttname"><a href="namespacedw_1_1tablecell.html#a08d75563317a285704d97e12520ff0bb">dw::tablecell::applyPerHeight</a></div><div class="ttdeci">int applyPerHeight(core::Widget *widget, int containerHeight, core::style::Length perHeight)</div><div class="ttdef"><b>Definition:</b> tablecell.cc:121</div></div>
<div class="ttc" id="namespacedw_1_1tablecell_html_a1d5dcd75dfed9a43e4e95d1ddbf38990"><div class="ttname"><a href="namespacedw_1_1tablecell.html#a1d5dcd75dfed9a43e4e95d1ddbf38990">dw::tablecell::correctAvailHeightOfChild</a></div><div class="ttdeci">int correctAvailHeightOfChild(core::Widget *widget, core::Widget *child, int height, bool forceValue)</div><div class="ttdef"><b>Definition:</b> tablecell.cc:72</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="namespacedw_1_1tablecell_html_ae5f9f3061f86697658fa2a86f8c8bcfd"><div class="ttname"><a href="namespacedw_1_1tablecell.html#ae5f9f3061f86697658fa2a86f8c8bcfd">dw::tablecell::correctCorrectedExtremesOfChild</a></div><div class="ttdeci">void correctCorrectedExtremesOfChild(core::Widget *widget, core::Widget *child, core::Extremes *extremes, bool useAdjustmentWidth)</div><div class="ttdef"><b>Definition:</b> tablecell.cc:108</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 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>