192 lines
41 KiB
HTML
192 lines
41 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/WidgetScrolled.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">WidgetScrolled.hpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="_widget_scrolled_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 <ewol/debug.hpp></span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include <<a class="code" href="_widget_8hpp.html">ewol/widget/Widget.hpp</a>></span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include <<a class="code" href="_scroll_8hpp.html">ewol/widget/Scroll.hpp</a>></span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <<a class="code" href="_shaper_8hpp.html">ewol/compositing/Shaper.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="preprocessor">#define CALCULATE_SIMULTANEOUS_FINGER (5)</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="keyword">namespace </span><a class="code" href="namespaceewol.html">ewol</a> {</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <span class="keyword">namespace </span>widget {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  <span class="keyword">class </span>WidgetScrolled;</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <span class="keyword">using</span> WidgetScrolledShared = <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::WidgetScrolled></a>;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="keyword">using</span> WidgetScrolledWeak = <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::WidgetScrolled></a>;</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="classewol_1_1widget_1_1_widget_scrolled.html"> 24</a></span>  <span class="keyword">class </span><a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html">WidgetScrolled</a> : <span class="keyword">public</span> <a class="code" href="classewol_1_1_widget.html">ewol::Widget</a> {</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keyword">public</span>: <span class="comment">// properties:</span></div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classewol_1_1widget_1_1_widget_scrolled.html#a3b92b2677c1ebc6c9880f4c9fdfd1a99"> 26</a></span>  <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/eproperty.tag:http://atria-soft.github.io/eproperty/" href="http://atria-soft.github.io/eproperty/classeproperty_1_1_value.html">eproperty::Value<std::string></a> <a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html#a3b92b2677c1ebc6c9880f4c9fdfd1a99">propertyShapeVert</a>; </div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classewol_1_1widget_1_1_widget_scrolled.html#a559c650e8429fabcfce86ff8405cfe17"> 27</a></span>  <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/eproperty.tag:http://atria-soft.github.io/eproperty/" href="http://atria-soft.github.io/eproperty/classeproperty_1_1_value.html">eproperty::Value<std::string></a> <a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html#a559c650e8429fabcfce86ff8405cfe17">propertyShapeHori</a>; </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="comment">// TODO : All property</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="classewol_1_1widget_1_1_widget_scrolled.html#a43753965817dc58df78fbf0cba56da79"> 30</a></span>  <span class="keyword">enum</span> <a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html#a43753965817dc58df78fbf0cba56da79">scrollingMode</a> {</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classewol_1_1widget_1_1_widget_scrolled.html#a43753965817dc58df78fbf0cba56da79a66f6894025b3738a624b61e871861aa0"> 31</a></span>  <a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html#a43753965817dc58df78fbf0cba56da79a66f6894025b3738a624b61e871861aa0">scroolModeNormal</a>, </div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classewol_1_1widget_1_1_widget_scrolled.html#a43753965817dc58df78fbf0cba56da79ac21d18de6043663ebdbb8d0fb76538bd"> 32</a></span>  <a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html#a43753965817dc58df78fbf0cba56da79ac21d18de6043663ebdbb8d0fb76538bd">scroolModeCenter</a>, </div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classewol_1_1widget_1_1_widget_scrolled.html#a43753965817dc58df78fbf0cba56da79ad07e3be61a616525a63e3a5ef7040085"> 33</a></span>  <a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html#a43753965817dc58df78fbf0cba56da79ad07e3be61a616525a63e3a5ef7040085">scroolModeGame</a>, </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="keyword">private</span>:</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <a class="code" href="classewol_1_1compositing_1_1_shaper.html">ewol::compositing::Shaper</a> m_shaperH; </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <a class="code" href="classewol_1_1compositing_1_1_shaper.html">ewol::compositing::Shaper</a> m_shaperV; </div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classewol_1_1widget_1_1_widget_scrolled.html#a42ef20ac20e225f848d3e2a3ed6970a2"> 39</a></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> <a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html#a42ef20ac20e225f848d3e2a3ed6970a2">m_originScrooled</a>; </div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classewol_1_1widget_1_1_widget_scrolled.html#aaea7d535a4d5e230dc3381197700238f"> 40</a></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> <a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html#aaea7d535a4d5e230dc3381197700238f">m_maxSize</a>; </div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="classewol_1_1widget_1_1_widget_scrolled.html#a199d635a56b7f947106c413f4abf2e79"> 41</a></span>  <span class="keywordtype">float</span> <a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html#a199d635a56b7f947106c413f4abf2e79">m_limitScrolling</a>; </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keyword">private</span>: <span class="comment">// Mouse section :</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">enum</span> <a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html#a43753965817dc58df78fbf0cba56da79">scrollingMode</a> m_scroollingMode; </div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordtype">float</span> m_pixelScrolling;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</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> m_highSpeedStartPos;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">enum</span> Scroll::highSpeedMode m_highSpeedMode;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  int32_t m_highSpeedButton;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keyword">enum</span> gale::key::type m_highSpeedType;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keyword">private</span>: <span class="comment">// finger section:</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordtype">bool</span> m_singleFingerMode; </div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html#ae02287b143ea03d8f788012d3b23d08b">setSingleFinger</a>(<span class="keywordtype">bool</span> _status);</div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classewol_1_1widget_1_1_widget_scrolled.html#a66c86d9b4c71d12b34db14fbce9e2478"> 62</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html#a66c86d9b4c71d12b34db14fbce9e2478">getSingleFinger</a>() {</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">return</span> m_singleFingerMode;</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  }</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordtype">bool</span> m_fingerPresent[CALCULATE_SIMULTANEOUS_FINGER];</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordtype">bool</span> m_fingerScoolActivated;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</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> m_fingerMoveStartPos[CALCULATE_SIMULTANEOUS_FINGER];</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html#a1d2ea24e8146793b0489b7809adbe07e">WidgetScrolled</a>();</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordtype">void</span> init() <span class="keyword">override</span>;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  DECLARE_WIDGET_FACTORY(<a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html">WidgetScrolled</a>, <span class="stringliteral">"WidgetScrolled"</span>);</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keyword">virtual</span> <a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html#ac6ded899dde1311afcb154c45fd6c078">~WidgetScrolled</a>();</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html#aa7f2a24dabe3a664830a7786669d82c9">onDraw</a>() <span class="keyword">override</span>;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html#a7e8c0694067df7c4241ff9c3a105c724">onRegenerateDisplay</a>() <span class="keyword">override</span>;</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordtype">bool</span> <a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html#ac7cdbe9654d916300ca241a1733964be">onEventInput</a>(<span class="keyword">const</span> <a class="code" href="classewol_1_1event_1_1_input.html">ewol::event::Input</a>& _event) <span class="keyword">override</span>;</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html#ab96221e70f9a2a5c5dae7c7d79c4cf28">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="l00088"></a><span class="lineno"> 88</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="classewol_1_1widget_1_1_widget_scrolled.html#a3743b4fd8ea3012171d020a8da7758b4"> 93</a></span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html#a3743b4fd8ea3012171d020a8da7758b4">setScrollingSize</a>(<span class="keywordtype">float</span> _nbPixel) {</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  m_pixelScrolling = _nbPixel;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  };</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html#a7045a1193e1f300c760e058a03870602">scroolingMode</a>(<span class="keyword">enum</span> <a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html#a43753965817dc58df78fbf0cba56da79">scrollingMode</a> _newMode);</div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="classewol_1_1widget_1_1_widget_scrolled.html#a54b1b04bedc18b95055f31d58ef590db"> 105</a></span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html#a54b1b04bedc18b95055f31d58ef590db">setMaxSize</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>& _localSize) {</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  m_maxSize = _localSize;</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  };</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html#a0f260e97909241d22e14215073901ba8">setScrollingPositionDynamic</a>(<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> _borderWidth, <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>& _currentPosition, <span class="keywordtype">bool</span> _center = <span class="keyword">false</span>);</div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="classewol_1_1widget_1_1_widget_scrolled.html#a71827619f7e9822a0d1b683b22304306"> 119</a></span>  <span class="keywordtype">void</span> <a class="code" href="classewol_1_1widget_1_1_widget_scrolled.html#a71827619f7e9822a0d1b683b22304306">setLimitScrolling</a>(<span class="keywordtype">float</span> _poucentageLimit) {</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  m_limitScrolling = std::avg(0.1f, _poucentageLimit,0.9f);</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  };</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> onChangePropertyShapeVert();</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> onChangePropertyShapeHori();</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  };</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  }</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> }</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</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_widget_scrolled_html_a1d2ea24e8146793b0489b7809adbe07e"><div class="ttname"><a href="classewol_1_1widget_1_1_widget_scrolled.html#a1d2ea24e8146793b0489b7809adbe07e">ewol::widget::WidgetScrolled::WidgetScrolled</a></div><div class="ttdeci">WidgetScrolled()</div><div class="ttdoc">Scroll Widget main constructor to be herited from an other widget (this is not a stand-alone widget) ...</div></div>
|
|
<div class="ttc" id="classewol_1_1event_1_1_input_html"><div class="ttname"><a href="classewol_1_1event_1_1_input.html">ewol::event::Input</a></div><div class="ttdef"><b>Definition:</b> Input.hpp:12</div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_widget_scrolled_html_a43753965817dc58df78fbf0cba56da79a66f6894025b3738a624b61e871861aa0"><div class="ttname"><a href="classewol_1_1widget_1_1_widget_scrolled.html#a43753965817dc58df78fbf0cba56da79a66f6894025b3738a624b61e871861aa0">ewol::widget::WidgetScrolled::scroolModeNormal</a></div><div class="ttdoc">No Zoom , can UP and down, left and right. </div><div class="ttdef"><b>Definition:</b> WidgetScrolled.hpp:31</div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_widget_scrolled_html_a0f260e97909241d22e14215073901ba8"><div class="ttname"><a href="classewol_1_1widget_1_1_widget_scrolled.html#a0f260e97909241d22e14215073901ba8">ewol::widget::WidgetScrolled::setScrollingPositionDynamic</a></div><div class="ttdeci">void setScrollingPositionDynamic(vec2 _borderWidth, const vec2 &_currentPosition, bool _center=false)</div><div class="ttdoc">Request a specific position for the scrolling of the current windows. </div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_widget_scrolled_html_a559c650e8429fabcfce86ff8405cfe17"><div class="ttname"><a href="classewol_1_1widget_1_1_widget_scrolled.html#a559c650e8429fabcfce86ff8405cfe17">ewol::widget::WidgetScrolled::propertyShapeHori</a></div><div class="ttdeci">eproperty::Value< std::string > propertyShapeHori</div><div class="ttdoc">Horizontal shaper name. </div><div class="ttdef"><b>Definition:</b> WidgetScrolled.hpp:27</div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_widget_scrolled_html_a43753965817dc58df78fbf0cba56da79ad07e3be61a616525a63e3a5ef7040085"><div class="ttname"><a href="classewol_1_1widget_1_1_widget_scrolled.html#a43753965817dc58df78fbf0cba56da79ad07e3be61a616525a63e3a5ef7040085">ewol::widget::WidgetScrolled::scroolModeGame</a></div><div class="ttdoc">Zoom enable, no move left and right. </div><div class="ttdef"><b>Definition:</b> WidgetScrolled.hpp:33</div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_widget_scrolled_html"><div class="ttname"><a href="classewol_1_1widget_1_1_widget_scrolled.html">ewol::widget::WidgetScrolled</a></div><div class="ttdoc">Widget to integrate a scrool bar in a widget. This is not a stadalone widget. </div><div class="ttdef"><b>Definition:</b> WidgetScrolled.hpp:24</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_widget_scrolled_html_ac7cdbe9654d916300ca241a1733964be"><div class="ttname"><a href="classewol_1_1widget_1_1_widget_scrolled.html#ac7cdbe9654d916300ca241a1733964be">ewol::widget::WidgetScrolled::onEventInput</a></div><div class="ttdeci">bool onEventInput(const ewol::event::Input &_event) override</div><div class="ttdoc">Event on an input of this Widget (finger, mouse, stilet) </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_widget_scrolled_html_a66c86d9b4c71d12b34db14fbce9e2478"><div class="ttname"><a href="classewol_1_1widget_1_1_widget_scrolled.html#a66c86d9b4c71d12b34db14fbce9e2478">ewol::widget::WidgetScrolled::getSingleFinger</a></div><div class="ttdeci">bool getSingleFinger()</div><div class="ttdoc">Get the single finger capabilities. </div><div class="ttdef"><b>Definition:</b> WidgetScrolled.hpp:62</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_widget_scrolled_html_a71827619f7e9822a0d1b683b22304306"><div class="ttname"><a href="classewol_1_1widget_1_1_widget_scrolled.html#a71827619f7e9822a0d1b683b22304306">ewol::widget::WidgetScrolled::setLimitScrolling</a></div><div class="ttdeci">void setLimitScrolling(float _poucentageLimit)</div><div class="ttdoc">set the scrolling limit when arriving at he end of the widget </div><div class="ttdef"><b>Definition:</b> WidgetScrolled.hpp:119</div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_widget_scrolled_html_a54b1b04bedc18b95055f31d58ef590db"><div class="ttname"><a href="classewol_1_1widget_1_1_widget_scrolled.html#a54b1b04bedc18b95055f31d58ef590db">ewol::widget::WidgetScrolled::setMaxSize</a></div><div class="ttdeci">void setMaxSize(const vec2 &_localSize)</div><div class="ttdoc">set the specific mawimum size of the widget </div><div class="ttdef"><b>Definition:</b> WidgetScrolled.hpp:105</div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_widget_scrolled_html_a7045a1193e1f300c760e058a03870602"><div class="ttname"><a href="classewol_1_1widget_1_1_widget_scrolled.html#a7045a1193e1f300c760e058a03870602">ewol::widget::WidgetScrolled::scroolingMode</a></div><div class="ttdeci">void scroolingMode(enum scrollingMode _newMode)</div><div class="ttdoc">Specify the mode of scrolling for this windows. </div></div>
|
|
<div class="ttc" id="_scroll_8hpp_html"><div class="ttname"><a href="_scroll_8hpp.html">Scroll.hpp</a></div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_widget_scrolled_html_a42ef20ac20e225f848d3e2a3ed6970a2"><div class="ttname"><a href="classewol_1_1widget_1_1_widget_scrolled.html#a42ef20ac20e225f848d3e2a3ed6970a2">ewol::widget::WidgetScrolled::m_originScrooled</a></div><div class="ttdeci">vec2 m_originScrooled</div><div class="ttdoc">pixel distance from the origin of the display (Bottum left) </div><div class="ttdef"><b>Definition:</b> WidgetScrolled.hpp:39</div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_widget_scrolled_html_a3b92b2677c1ebc6c9880f4c9fdfd1a99"><div class="ttname"><a href="classewol_1_1widget_1_1_widget_scrolled.html#a3b92b2677c1ebc6c9880f4c9fdfd1a99">ewol::widget::WidgetScrolled::propertyShapeVert</a></div><div class="ttdeci">eproperty::Value< std::string > propertyShapeVert</div><div class="ttdoc">Vertical shaper name. </div><div class="ttdef"><b>Definition:</b> WidgetScrolled.hpp:26</div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_widget_scrolled_html_a3743b4fd8ea3012171d020a8da7758b4"><div class="ttname"><a href="classewol_1_1widget_1_1_widget_scrolled.html#a3743b4fd8ea3012171d020a8da7758b4">ewol::widget::WidgetScrolled::setScrollingSize</a></div><div class="ttdeci">void setScrollingSize(float _nbPixel)</div><div class="ttdoc">For mouse event when we have a scrolling UP and dows, specify the number of pixel that we scrooled...</div><div class="ttdef"><b>Definition:</b> WidgetScrolled.hpp:93</div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_widget_scrolled_html_aa7f2a24dabe3a664830a7786669d82c9"><div class="ttname"><a href="classewol_1_1widget_1_1_widget_scrolled.html#aa7f2a24dabe3a664830a7786669d82c9">ewol::widget::WidgetScrolled::onDraw</a></div><div class="ttdeci">void onDraw() override</div><div class="ttdoc">Common widget drawing function (called by the drawing thread [Android, X11, ...]) ...</div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_widget_scrolled_html_a7e8c0694067df7c4241ff9c3a105c724"><div class="ttname"><a href="classewol_1_1widget_1_1_widget_scrolled.html#a7e8c0694067df7c4241ff9c3a105c724">ewol::widget::WidgetScrolled::onRegenerateDisplay</a></div><div class="ttdeci">void onRegenerateDisplay() override</div><div class="ttdoc">Event generated when a redraw is needed. </div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_widget_scrolled_html_aaea7d535a4d5e230dc3381197700238f"><div class="ttname"><a href="classewol_1_1widget_1_1_widget_scrolled.html#aaea7d535a4d5e230dc3381197700238f">ewol::widget::WidgetScrolled::m_maxSize</a></div><div class="ttdeci">vec2 m_maxSize</div><div class="ttdoc">Maximum size of the Widget ==> to display scrollbar. </div><div class="ttdef"><b>Definition:</b> WidgetScrolled.hpp:40</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< float ></a></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"><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="classeproperty_1_1_value_html"><div class="ttname"><a href="http://atria-soft.github.io/eproperty/classeproperty_1_1_value.html">eproperty::Value< std::string ></a></div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_widget_scrolled_html_a199d635a56b7f947106c413f4abf2e79"><div class="ttname"><a href="classewol_1_1widget_1_1_widget_scrolled.html#a199d635a56b7f947106c413f4abf2e79">ewol::widget::WidgetScrolled::m_limitScrolling</a></div><div class="ttdeci">float m_limitScrolling</div><div class="ttdoc">Mimit scrolling represent the propertion of the minimel scrolling activate (0.2 ==> 20% migt all time...</div><div class="ttdef"><b>Definition:</b> WidgetScrolled.hpp:41</div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_widget_scrolled_html_a43753965817dc58df78fbf0cba56da79"><div class="ttname"><a href="classewol_1_1widget_1_1_widget_scrolled.html#a43753965817dc58df78fbf0cba56da79">ewol::widget::WidgetScrolled::scrollingMode</a></div><div class="ttdeci">scrollingMode</div><div class="ttdef"><b>Definition:</b> WidgetScrolled.hpp:30</div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_widget_scrolled_html_ae02287b143ea03d8f788012d3b23d08b"><div class="ttname"><a href="classewol_1_1widget_1_1_widget_scrolled.html#ae02287b143ea03d8f788012d3b23d08b">ewol::widget::WidgetScrolled::setSingleFinger</a></div><div class="ttdeci">void setSingleFinger(bool _status)</div><div class="ttdoc">Set the single finger capabilities/. </div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_widget_scrolled_html_ab96221e70f9a2a5c5dae7c7d79c4cf28"><div class="ttname"><a href="classewol_1_1widget_1_1_widget_scrolled.html#ab96221e70f9a2a5c5dae7c7d79c4cf28">ewol::widget::WidgetScrolled::systemDraw</a></div><div class="ttdeci">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_1compositing_1_1_shaper_html"><div class="ttname"><a href="classewol_1_1compositing_1_1_shaper.html">ewol::compositing::Shaper</a></div><div class="ttdoc">the Shaper system is a basic theme configuration for every widget, it corespond at a background displ...</div><div class="ttdef"><b>Definition:</b> Shaper.hpp:39</div></div>
|
|
<div class="ttc" id="_shaper_8hpp_html"><div class="ttname"><a href="_shaper_8hpp.html">Shaper.hpp</a></div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_widget_scrolled_html_a43753965817dc58df78fbf0cba56da79ac21d18de6043663ebdbb8d0fb76538bd"><div class="ttname"><a href="classewol_1_1widget_1_1_widget_scrolled.html#a43753965817dc58df78fbf0cba56da79ac21d18de6043663ebdbb8d0fb76538bd">ewol::widget::WidgetScrolled::scroolModeCenter</a></div><div class="ttdoc">Zoom enable, no move left and right. </div><div class="ttdef"><b>Definition:</b> WidgetScrolled.hpp:32</div></div>
|
|
<div class="ttc" id="classewol_1_1widget_1_1_widget_scrolled_html_ac6ded899dde1311afcb154c45fd6c078"><div class="ttname"><a href="classewol_1_1widget_1_1_widget_scrolled.html#ac6ded899dde1311afcb154c45fd6c078">ewol::widget::WidgetScrolled::~WidgetScrolled</a></div><div class="ttdeci">virtual ~WidgetScrolled()</div><div class="ttdoc">Scroll widget destructor. </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>
|