187 lines
35 KiB
HTML
187 lines
35 KiB
HTML
<!-- HTML header for doxygen 1.8.8-->
|
|
<!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="X-UA-Compatible" content="IE=edge">
|
|
<!-- For Mobile Devices -->
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta name="generator" content="Doxygen 1.8.12"/>
|
|
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
|
<title>Ewol: Ewol Widget in OpenGl: framework/atria-soft/ewol/ewol/widget/Gird.hpp Source File</title>
|
|
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
|
<script type="text/javascript" src="doxy-boot.js"></script>
|
|
</head>
|
|
<body>
|
|
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<a class="navbar-brand">Ewol: Ewol Widget in OpenGl 0.10.0</a>
|
|
</div>
|
|
<div id="navbar" class="navbar-collapse collapse">
|
|
<ul class="nav navbar-nav">
|
|
<li><a href="index.html">Main Page</a></li>
|
|
<li><a href="pages.html">Related Pages</a></li>
|
|
<li><a href="namespaces.html">Namespaces</a></li>
|
|
<li><a href="annotated.html">Classes</a></li>
|
|
<li><a href="files.html">Files</a></li>
|
|
</ul>
|
|
<ul class="nav navbar-nav navbar-right">
|
|
<li class="dropdown">
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
|
Link-libs<span class="caret"></span>
|
|
</a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
|
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
|
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
|
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
|
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
|
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
|
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
|
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
|
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
|
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
|
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
|
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
|
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
|
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
|
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
|
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
|
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
|
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
|
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
|
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
|
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
|
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div id="search-box" class="input-group">
|
|
<div class="input-group-btn">
|
|
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
|
<span class="glyphicon glyphicon-search"></span>
|
|
<span class="caret"></span>
|
|
</button>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="#">All</a></li>
|
|
<li><a href="#">Classes</a></li>
|
|
<li><a href="#">Namespaces</a></li>
|
|
<li><a href="#">Files</a></li>
|
|
<li><a href="#">Functions</a></li>
|
|
<li><a href="#">Variables</a></li>
|
|
<li><a href="#">Typedefs</a></li>
|
|
<li><a href="#">Enumerations</a></li>
|
|
<li><a href="#">Enumerator</a></li>
|
|
<li><a href="#">Friends</a></li>
|
|
<li><a href="#">Macros</a></li>
|
|
<li><a href="#">Pages</a></li>
|
|
</ul>
|
|
</div>
|
|
<button id="search-close" type="button" class="close" aria-label="Close">
|
|
<span aria-hidden="true"></span>
|
|
</button>
|
|
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
|
</div>
|
|
</div><!--/.nav-collapse -->
|
|
</div>
|
|
</nav>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div class="content" id="content">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
|
<div style="margin-bottom: 15px;margin-top: 60px;">
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.12 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_644e041c3a6521da7b27eba0e4eb2b95.html">framework</a></li><li class="navelem"><a class="el" href="dir_a094892b17be858f66bf3446bbb755c7.html">atria-soft</a></li><li class="navelem"><a class="el" href="dir_90b06c1c445cb1731bd6346c36eb6f0c.html">ewol</a></li><li class="navelem"><a class="el" href="dir_b91da374a1ab60ee2d83a750c3a335b8.html">ewol</a></li><li class="navelem"><a class="el" href="dir_7f8e63c4a8103cf6be6e72e26b36725d.html">widget</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">Gird.hpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="_gird_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include <<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/types__8hpp.html">etk/types.hpp</a>></span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include <ewol/debug.hpp></span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include <<a class="code" href="_widget_8hpp.html">ewol/widget/Widget.hpp</a>></span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <<a class="code" href="widget_2_manager_8hpp.html">ewol/widget/Manager.hpp</a>></span></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="keyword">namespace </span><a class="code" href="namespaceewol.html">ewol</a> {</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  <span class="keyword">namespace </span>widget {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  <span class="keyword">class </span>Gird;</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <span class="keyword">using</span> GirdShared = <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr<ewol::widget::Gird></a>;</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  <span class="keyword">using</span> GirdWeak = <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_weak_ptr.html">ememory::WeakPtr<ewol::widget::Gird></a>;</div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="classewol_1_1widget_1_1_gird.html"> 22</a></span>  <span class="keyword">class </span><a class="code" href="classewol_1_1widget_1_1_gird.html">Gird</a> :<span class="keyword">public</span> <a class="code" href="classewol_1_1_widget.html">ewol::Widget</a> {</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keyword">class </span>GirdProperties {</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ewol::WidgetShared</a> widget;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  int32_t row;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  int32_t col;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  };</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  int32_t m_sizeRow; </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  int32_t m_uniformSizeRow;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  std::vector<int32_t> m_sizeCol; </div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  std::vector<GirdProperties> m_subWidget; </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ewol::WidgetShared</a> m_tmpWidget; </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keywordtype">bool</span> m_gavityButtom;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <a class="code" href="classewol_1_1widget_1_1_gird.html#a0bba259964bed070ab87b1d086fe9080">Gird</a>();</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  DECLARE_WIDGET_FACTORY(<a class="code" href="classewol_1_1widget_1_1_gird.html">Gird</a>, <span class="stringliteral">"Gird"</span>);</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">virtual</span> <a class="code" href="classewol_1_1widget_1_1_gird.html#a6941c2effcfda5157bbb4e36def393d7">~Gird</a>();</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_gird.html#aa1d0cf62ce64b1f8f125c087d1514183">setColNumber</a>(int32_t _colNumber);</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_gird.html#a8346580e5f3bc2359439f52e29997448">setColSize</a>(int32_t _colId, int32_t _size);</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_gird.html#ae14c984dc77d0429b065fe857a559582">setRowSize</a>(int32_t _size);</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  int32_t <a class="code" href="classewol_1_1widget_1_1_gird.html#a40aa69f92204167931d238762908315d">getColSize</a>(int32_t _colId);</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  int32_t <a class="code" href="classewol_1_1widget_1_1_gird.html#ae8899e2d2493fc654cbcaae1bb2f6d55">getRowSize</a>();</div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="classewol_1_1widget_1_1_gird.html#aa0292c851d43e2ffeb6a2a59439d723c"> 77</a></span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_gird.html#aa0292c851d43e2ffeb6a2a59439d723c">setGravityButtom</a>() {</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  m_gavityButtom = <span class="keyword">true</span>;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <a class="code" href="classewol_1_1_widget.html#a9d111b158727ad7559ac2f78b434ef6f">markToRedraw</a>();</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  }</div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="classewol_1_1widget_1_1_gird.html#a7d509e182d931d1c2126bd24b1d8b685"> 84</a></span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_gird.html#a7d509e182d931d1c2126bd24b1d8b685">setGravityTop</a>() {</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  m_gavityButtom = <span class="keyword">false</span>;</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="classewol_1_1_widget.html#a9d111b158727ad7559ac2f78b434ef6f">markToRedraw</a>();</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  }</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_gird.html#a9af36d0eee2a581b77b69db4d13a5f63">subWidgetRemoveAll</a>();</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_gird.html#a80c16b88d31aaf0bc18a7a1259344f11">subWidgetAdd</a>(int32_t _colId, int32_t _rowId, <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ewol::WidgetShared</a> _newWidget);</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_gird.html#ab811f954ddd2dbcdbd45646a4447d414">subWidgetRemove</a>(<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ewol::WidgetShared</a> _newWidget);</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_gird.html#ab811f954ddd2dbcdbd45646a4447d414">subWidgetRemove</a>(int32_t _colId, int32_t _rowId);</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_gird.html#a3d83fd83db5f807319fe2d6213daa9d4">subWidgetUnLink</a>(<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ewol::WidgetShared</a> _newWidget);</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_gird.html#a3d83fd83db5f807319fe2d6213daa9d4">subWidgetUnLink</a>(int32_t _colId, int32_t _rowId);</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="comment">// TODO : property</span></div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">ivec2</a> m_borderSize; </div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_gird.html#aa9649b2cb1c9f4bc6385bad0a765012e">setBorderSize</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">ivec2</a>& _newBorderSize);</div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="classewol_1_1widget_1_1_gird.html#a790c737792f334966733683ca3c9a3d1"> 135</a></span>  <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">ivec2</a>& <a class="code" href="classewol_1_1widget_1_1_gird.html#a790c737792f334966733683ca3c9a3d1">getBorderSize</a>() {</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keywordflow">return</span> m_borderSize;</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  };</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_gird.html#a29ce877fe4c5f23517175fcc738b442f">systemDraw</a>(<span class="keyword">const</span> <a class="code" href="classewol_1_1_draw_property.html">ewol::DrawProperty</a>& _displayProp) <span class="keyword">override</span>;</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_gird.html#af6c7c2a3ef8bba0a3e888f91b334020c">onRegenerateDisplay</a>() <span class="keyword">override</span>;</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keyword">virtual</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ewol::WidgetShared</a> <a class="code" href="classewol_1_1widget_1_1_gird.html#a3619df30b6ecdab6519b38687dceff21">getWidgetAtPos</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>& pos) <span class="keyword">override</span>;</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_gird.html#ae204147713c849f1e63469f6bd8914b8">onChangeSize</a>() <span class="keyword">override</span>;</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_gird.html#a6afa25cb3b7882446236bb6b15d011ca">calculateMinMaxSize</a>() <span class="keyword">override</span>;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  };</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  };</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span> };</div><div class="ttc" id="classememory_1_1_weak_ptr_html"><div class="ttname"><a href="http://atria-soft.github.io/ememory/classememory_1_1_weak_ptr.html">ememory::WeakPtr</a></div></div>
|
|
<div class="ttc" id="classewol_1_1_draw_property_html"><div class="ttname"><a href="classewol_1_1_draw_property.html">ewol::DrawProperty</a></div><div class="ttdef"><b>Definition:</b> DrawProperty.hpp:15</div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_gird_html_ae8899e2d2493fc654cbcaae1bb2f6d55"><div class="ttname"><a href="classewol_1_1widget_1_1_gird.html#ae8899e2d2493fc654cbcaae1bb2f6d55">ewol::widget::Gird::getRowSize</a></div><div class="ttdeci">int32_t getRowSize()</div><div class="ttdoc">get the size view of the lines. </div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_gird_html_a40aa69f92204167931d238762908315d"><div class="ttname"><a href="classewol_1_1widget_1_1_gird.html#a40aa69f92204167931d238762908315d">ewol::widget::Gird::getColSize</a></div><div class="ttdeci">int32_t getColSize(int32_t _colId)</div><div class="ttdoc">get the size view of a colomn. </div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_gird_html_aa1d0cf62ce64b1f8f125c087d1514183"><div class="ttname"><a href="classewol_1_1widget_1_1_gird.html#aa1d0cf62ce64b1f8f125c087d1514183">ewol::widget::Gird::setColNumber</a></div><div class="ttdeci">void setColNumber(int32_t _colNumber)</div><div class="ttdoc">set the number of colomn </div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_gird_html_a29ce877fe4c5f23517175fcc738b442f"><div class="ttname"><a href="classewol_1_1widget_1_1_gird.html#a29ce877fe4c5f23517175fcc738b442f">ewol::widget::Gird::systemDraw</a></div><div class="ttdeci">virtual void systemDraw(const ewol::DrawProperty &_displayProp) override</div><div class="ttdoc">{SYSTEM} extern interface to request a draw ... (called by the drawing thread [Android, X11, ...]) This function generate a clipping with the viewport openGL system. Like this a widget draw can not draw over an other widget </div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_gird_html_aa9649b2cb1c9f4bc6385bad0a765012e"><div class="ttname"><a href="classewol_1_1widget_1_1_gird.html#aa9649b2cb1c9f4bc6385bad0a765012e">ewol::widget::Gird::setBorderSize</a></div><div class="ttdeci">void setBorderSize(const ivec2 &_newBorderSize)</div><div class="ttdoc">set the current border size of the current element: </div></div>
|
|
<div class="ttc" id="_widget_8hpp_html"><div class="ttname"><a href="_widget_8hpp.html">Widget.hpp</a></div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_gird_html_ae14c984dc77d0429b065fe857a559582"><div class="ttname"><a href="classewol_1_1widget_1_1_gird.html#ae14c984dc77d0429b065fe857a559582">ewol::widget::Gird::setRowSize</a></div><div class="ttdeci">void setRowSize(int32_t _size)</div><div class="ttdoc">change a size view of a line. </div></div>
|
|
<div class="ttc" id="types__8hpp_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/types__8hpp.html">types.hpp</a></div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_gird_html_a8346580e5f3bc2359439f52e29997448"><div class="ttname"><a href="classewol_1_1widget_1_1_gird.html#a8346580e5f3bc2359439f52e29997448">ewol::widget::Gird::setColSize</a></div><div class="ttdeci">void setColSize(int32_t _colId, int32_t _size)</div><div class="ttdoc">change a size view of a colomn. </div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_gird_html_a790c737792f334966733683ca3c9a3d1"><div class="ttname"><a href="classewol_1_1widget_1_1_gird.html#a790c737792f334966733683ca3c9a3d1">ewol::widget::Gird::getBorderSize</a></div><div class="ttdeci">const ivec2 & getBorderSize()</div><div class="ttdoc">get the current border size of the current element: </div><div class="ttdef"><b>Definition:</b> Gird.hpp:135</div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_gird_html"><div class="ttname"><a href="classewol_1_1widget_1_1_gird.html">ewol::widget::Gird</a></div><div class="ttdef"><b>Definition:</b> Gird.hpp:22</div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_gird_html_aa0292c851d43e2ffeb6a2a59439d723c"><div class="ttname"><a href="classewol_1_1widget_1_1_gird.html#aa0292c851d43e2ffeb6a2a59439d723c">ewol::widget::Gird::setGravityButtom</a></div><div class="ttdeci">void setGravityButtom()</div><div class="ttdoc">set the gravity of the widget on the Button (index 0 is on buttom) </div><div class="ttdef"><b>Definition:</b> Gird.hpp:77</div></div>
|
|
<div class="ttc" id="namespaceewol_html"><div class="ttname"><a href="namespaceewol.html">ewol</a></div><div class="ttdef"><b>Definition:</b> Area.hpp:16</div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_gird_html_a6941c2effcfda5157bbb4e36def393d7"><div class="ttname"><a href="classewol_1_1widget_1_1_gird.html#a6941c2effcfda5157bbb4e36def393d7">ewol::widget::Gird::~Gird</a></div><div class="ttdeci">virtual ~Gird()</div><div class="ttdoc">Desstructor. </div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_gird_html_ab811f954ddd2dbcdbd45646a4447d414"><div class="ttname"><a href="classewol_1_1widget_1_1_gird.html#ab811f954ddd2dbcdbd45646a4447d414">ewol::widget::Gird::subWidgetRemove</a></div><div class="ttdeci">virtual void subWidgetRemove(ewol::WidgetShared _newWidget)</div><div class="ttdoc">remove definitly a widget from the system and this Gird. </div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_gird_html_a9af36d0eee2a581b77b69db4d13a5f63"><div class="ttname"><a href="classewol_1_1widget_1_1_gird.html#a9af36d0eee2a581b77b69db4d13a5f63">ewol::widget::Gird::subWidgetRemoveAll</a></div><div class="ttdeci">virtual void subWidgetRemoveAll()</div><div class="ttdoc">remove all sub element from the widget. </div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_gird_html_a3619df30b6ecdab6519b38687dceff21"><div class="ttname"><a href="classewol_1_1widget_1_1_gird.html#a3619df30b6ecdab6519b38687dceff21">ewol::widget::Gird::getWidgetAtPos</a></div><div class="ttdeci">virtual ewol::WidgetShared getWidgetAtPos(const vec2 &pos) override</div><div class="ttdoc">get the widget at the specific windows absolute position </div></div>
|
|
<div class="ttc" id="classetk_1_1_vector2_d_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">etk::Vector2D< int32_t ></a></div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_gird_html_a6afa25cb3b7882446236bb6b15d011ca"><div class="ttname"><a href="classewol_1_1widget_1_1_gird.html#a6afa25cb3b7882446236bb6b15d011ca">ewol::widget::Gird::calculateMinMaxSize</a></div><div class="ttdeci">virtual void calculateMinMaxSize() override</div><div class="ttdoc">calculate the minimum and maximum size (need to estimate expend properties of the widget) ...</div></div>
|
|
<div class="ttc" id="classememory_1_1_shared_ptr_html"><div class="ttname"><a href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr</a></div></div>
|
|
<div class="ttc" id="classewol_1_1_widget_html_a9d111b158727ad7559ac2f78b434ef6f"><div class="ttname"><a href="classewol_1_1_widget.html#a9d111b158727ad7559ac2f78b434ef6f">ewol::Widget::markToRedraw</a></div><div class="ttdeci">virtual void markToRedraw()</div><div class="ttdoc">The widget mark itself that it need to regenerate the nest time. </div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_gird_html_a80c16b88d31aaf0bc18a7a1259344f11"><div class="ttname"><a href="classewol_1_1widget_1_1_gird.html#a80c16b88d31aaf0bc18a7a1259344f11">ewol::widget::Gird::subWidgetAdd</a></div><div class="ttdeci">virtual void subWidgetAdd(int32_t _colId, int32_t _rowId, ewol::WidgetShared _newWidget)</div><div class="ttdoc">add at end position a Widget (note : This system use an inverted phylisophie (button to top...</div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_gird_html_ae204147713c849f1e63469f6bd8914b8"><div class="ttname"><a href="classewol_1_1widget_1_1_gird.html#ae204147713c849f1e63469f6bd8914b8">ewol::widget::Gird::onChangeSize</a></div><div class="ttdeci">virtual void onChangeSize() override</div><div class="ttdoc">Parent have set the size and the origin. the container need to update the subwidget property...</div></div>
|
|
<div class="ttc" id="classewol_1_1_widget_html"><div class="ttname"><a href="classewol_1_1_widget.html">ewol::Widget</a></div><div class="ttdoc">Widget class is the main widget interface, it hase some generic properties: :** known his parent :** ...</div><div class="ttdef"><b>Definition:</b> Widget.hpp:73</div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_gird_html_a0bba259964bed070ab87b1d086fe9080"><div class="ttname"><a href="classewol_1_1widget_1_1_gird.html#a0bba259964bed070ab87b1d086fe9080">ewol::widget::Gird::Gird</a></div><div class="ttdeci">Gird()</div><div class="ttdoc">Constructor. </div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_gird_html_a7d509e182d931d1c2126bd24b1d8b685"><div class="ttname"><a href="classewol_1_1widget_1_1_gird.html#a7d509e182d931d1c2126bd24b1d8b685">ewol::widget::Gird::setGravityTop</a></div><div class="ttdeci">void setGravityTop()</div><div class="ttdoc">set the gravity of the widget on the Top (index 0 is on top) </div><div class="ttdef"><b>Definition:</b> Gird.hpp:84</div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_gird_html_a3d83fd83db5f807319fe2d6213daa9d4"><div class="ttname"><a href="classewol_1_1widget_1_1_gird.html#a3d83fd83db5f807319fe2d6213daa9d4">ewol::widget::Gird::subWidgetUnLink</a></div><div class="ttdeci">virtual void subWidgetUnLink(ewol::WidgetShared _newWidget)</div><div class="ttdoc">Just unlick the specify widget, this function does not remove it from the system (if you can...</div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_gird_html_af6c7c2a3ef8bba0a3e888f91b334020c"><div class="ttname"><a href="classewol_1_1widget_1_1_gird.html#af6c7c2a3ef8bba0a3e888f91b334020c">ewol::widget::Gird::onRegenerateDisplay</a></div><div class="ttdeci">virtual void onRegenerateDisplay() override</div><div class="ttdoc">Event generated when a redraw is needed. </div></div>
|
|
<div class="ttc" id="widget_2_manager_8hpp_html"><div class="ttname"><a href="widget_2_manager_8hpp.html">Manager.hpp</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- HTML footer for doxygen 1.8.8-->
|
|
<!-- start footer part -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Mon Oct 24 2016 15:35:52 for Ewol: Ewol Widget in OpenGl by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.12
|
|
</small></address>
|
|
</body>
|
|
</html>
|