ewol/class_ewol__compositing__TextBase.html
2014-10-18 09:23:18 +02:00

852 lines
81 KiB
HTML
Raw Blame History

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>ewol Library</title>
<link rel="stylesheet" href="base.css">
<link rel="stylesheet" href="menu.css">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="container">
<h1><a href="index.html">ewol library</a></h1>
<h4><a href="http://github.com/heeroyui/ewol/">&nbsp;&nbsp;&nbsp;[ sources ]</a></h4>
<h3>API:</h3> <div id="menu">
<ul class="niveau1">
<li class="sousmenu"><a href="namespace_ewol.html">ewol</a>
<ul class="niveau2">
<li><a href="namespace_ewol__translate.html">translate</a>
</li>
<li><a href="namespace_ewol__key.html">key</a>
</li>
<li><a href="namespace_ewol__widget.html">widget</a>
</li>
<li><a href="namespace_ewol__openGL.html">openGL</a>
</li>
<li class="sousmenu"><a href="namespace_ewol__context.html">context</a>
<ul class="niveau3">
<li><a href="namespace_ewol__context__clipBoard.html">clipBoard</a>
</li>
</ul>
</li>
<li><a href="namespace_ewol__compositing.html">compositing</a>
</li>
<li><a href="namespace_ewol__object.html">object</a>
</li>
<li><a href="namespace_ewol__resource.html">resource</a>
</li>
<li><a href="namespace_ewol__font.html">font</a>
</li>
<li><a href="namespace_ewol__event.html">event</a>
</li>
</ul>
</li>
<li><a href="namespace_MacOs.html">MacOs</a>
</li>
<li><a href="namespace_IOs.html">IOs</a>
</li>
</ul>
</div>
<h3>Documentation:</h3><div id="menu">
<ul class="niveau1"><li><a href="001_bases.html">Bases</a></li>
</ul><ul class="niveau1"><li><a href="faq.html">Faq</a></li>
</ul></div>
<h3>Tutorials:</h3><div id="menu">
<ul class="niveau1"><li><a href="tutorial_000_Build.html">Build</a></li>
</ul><ul class="niveau1"><li><a href="tutorial_001_HelloWord.html">Hello word</a></li>
</ul><ul class="niveau1"><li><a href="tutorial_010_ObjectModel.html">Object model</a></li>
</ul><ul class="niveau1"><li><a href="tutorial_011_ObjectConfig.html">Object config</a></li>
</ul><ul class="niveau1"><li><a href="tutorial_012_ObjectMessage.html">Object message</a></li>
</ul><ul class="niveau1"><li><a href="tutorial_020_FileAccess.html">File access</a></li>
</ul><ul class="niveau1"><li><a href="tutorial_021_Resources.html">Resources</a></li>
</ul><ul class="niveau1"><li><a href="tutorial_030_ConplexeXmlGui.html">Conplexe xml gui</a></li>
</ul><ul class="niveau1"><li><a href="tutorial_050_CreateCustomWidget.html">Create custom widget</a></li>
</ul><ul class="niveau1"><li><a href="tutorial_051_AddWidgetCustumInXML.html">Add widget custum in x m l</a></li>
</ul></div>
<br/><h3>Associate libraries:</h3><div id="menu">
<ul class="niveau1"><li><a href="../ejson/index.html">ejson</a></li>
</ul><ul class="niveau1"><li><a href="../egami/index.html">egami</a></li>
</ul><ul class="niveau1"><li><a href="../ege/index.html">ege</a></li>
</ul><ul class="niveau1"><li><a href="../esvg/index.html">esvg</a></li>
</ul><ul class="niveau1"><li><a href="../etk/index.html">etk</a></li>
</ul><ul class="niveau1"><li><a href="../exml/index.html">exml</a></li>
</ul></div>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
</div>
</div>
<div class="container" id="content">
<h1>class: ewol::compositing::TextBase</h1><hr/><h2>Description:</h2>
<br/><br/>
<h2>Constructor and Destructor:</h2>
<pre>
+ <a class="code-function" href="#2609">TextBase</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_shaderName</span>,<br/> <span class="code-type" >bool</span> <span class="code-argument">_loadProgram</span>);<br/>+ <span class="code-storage-keyword">virtual</span> <a class="code-function" href="#2612">~TextBase</a> ();<br/></pre>
<br/>
<h2>Synopsis:</h2>
<pre>
# <a class="code-type" href="class_ewol__compositing__Drawing.html">ewol::compositing::Drawing</a> <a class="code-member" href="#2574">m_vectorialDraw</a>;<br/>+ <span class="code-storage-keyword">virtual</span> <a class="code-type" href="class_ewol__compositing__Drawing.html">ewol::compositing::Drawing</a> & <a class="code-function" href="#2575">getDrawing</a> ();<br/># <span class="code-type" >int32_t</span> <a class="code-member" href="#2576">m_nbCharDisplayed</a>;<br/># vec3 <a class="code-member" href="#2577">m_sizeDisplayStart</a>;<br/># vec3 <a class="code-member" href="#2578">m_sizeDisplayStop</a>;<br/># <span class="code-type" >bool</span> <a class="code-member" href="#2579">m_needDisplay</a>;<br/># vec3 <a class="code-member" href="#2580">m_position</a>;<br/># vec3 <a class="code-member" href="#2581">m_clippingPosStart</a>;<br/># vec3 <a class="code-member" href="#2582">m_clippingPosStop</a>;<br/># <span class="code-type" >bool</span> <a class="code-member" href="#2583">m_clippingEnable</a>;<br/># <a class="code-type" href="class_etk__Color.html">etk::Color</a>&lt;&gt; <a class="code-member" href="#2584">m_defaultColorFg</a>;<br/># <a class="code-type" href="class_etk__Color.html">etk::Color</a>&lt;&gt; <a class="code-member" href="#2585">m_defaultColorBg</a>;<br/># <a class="code-type" href="class_etk__Color.html">etk::Color</a>&lt;&gt; <a class="code-member" href="#2586">m_color</a>;<br/># <a class="code-type" href="class_etk__Color.html">etk::Color</a>&lt;&gt; <a class="code-member" href="#2587">m_colorBg</a>;<br/># <a class="code-type" href="class_etk__Color.html">etk::Color</a>&lt;&gt; <a class="code-member" href="#2588">m_colorCursor</a>;<br/># <a class="code-type" href="class_etk__Color.html">etk::Color</a>&lt;&gt; <a class="code-member" href="#2589">m_colorSelection</a>;<br/># <span class="code-type" >bool</span> <a class="code-member" href="#2590">m_kerning</a>;<br/># <span class="code-type" >char32_t</span> <a class="code-member" href="#2591">m_previousCharcode</a>;<br/># <span class="code-type" >float</span> <a class="code-member" href="#2592">m_startTextpos</a>;<br/># <span class="code-type" >float</span> <a class="code-member" href="#2593">m_stopTextPos</a>;<br/># <a class="code-type" href="http://www.cplusplus.com/reference/memory/shared_ptr/">std::shared_ptr</a>&lt;ewol::resource::Program&gt; <a class="code-member" href="#2594">m_GLprogram</a>;<br/># <span class="code-type" >int32_t</span> <a class="code-member" href="#2595">m_GLPosition</a>;<br/># <span class="code-type" >int32_t</span> <a class="code-member" href="#2596">m_GLMatrix</a>;<br/># <span class="code-type" >int32_t</span> <a class="code-member" href="#2597">m_GLColor</a>;<br/># <span class="code-type" >int32_t</span> <a class="code-member" href="#2598">m_GLtexture</a>;<br/># <span class="code-type" >int32_t</span> <a class="code-member" href="#2599">m_GLtexID</a>;<br/># <span class="code-type" >int32_t</span> <a class="code-member" href="#2600">m_GLtextWidth</a>;<br/># <span class="code-type" >int32_t</span> <a class="code-member" href="#2601">m_GLtextHeight</a>;<br/># <span class="code-type" >int32_t</span> <a class="code-member" href="#2602">m_selectionStartPos</a>;<br/># <span class="code-type" >int32_t</span> <a class="code-member" href="#2603">m_cursorPos</a>;<br/># <a class="code-type" href="http://www.cplusplus.com/reference/vector/vector/">std::vector</a>&lt;vec3&gt; <a class="code-member" href="#2604">m_coord</a>;<br/># <a class="code-type" href="http://www.cplusplus.com/reference/vector/vector/">std::vector</a>&lt;vec2&gt; <a class="code-member" href="#2605">m_coordTex</a>;<br/># <a class="code-type" href="http://www.cplusplus.com/reference/vector/vector/">std::vector</a>&lt;etk::Color&lt;float&gt;&gt; <a class="code-member" href="#2606">m_coordColor</a>;<br/>+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >void</span> <a class="code-function" href="#2607">loadProgram</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_shaderName</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2613">translate</a> (<span class="code-storage-keyword">const</span> vec3 & <span class="code-argument">_vect</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2615">rotate</a> (<span class="code-storage-keyword">const</span> vec3 & <span class="code-argument">_vect</span>,<br/> <span class="code-type" >float</span> <span class="code-argument">_angle</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2618">scale</a> (<span class="code-storage-keyword">const</span> vec3 & <span class="code-argument">_vect</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2620">draw</a> (<span class="code-type" >bool</span> <span class="code-argument">_disableDepthTest</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2622">draw</a> (<span class="code-storage-keyword">const</span> mat4 & <span class="code-argument">_transformationMatrix</span>,<br/> <span class="code-type" >bool</span> <span class="code-argument">_enableDepthTest</span>);<br/>+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >void</span> <a class="code-function" href="#2625">drawD</a> (<span class="code-type" >bool</span> <span class="code-argument">_disableDepthTest</span>) = 0;<br/>+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >void</span> <a class="code-function" href="#2627">drawMT</a> (<span class="code-storage-keyword">const</span> mat4 & <span class="code-argument">_transformationMatrix</span>,<br/> <span class="code-type" >bool</span> <span class="code-argument">_enableDepthTest</span>) = 0;<br/>+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >void</span> <a class="code-function" href="#2630">clear</a> ();<br/>+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >void</span> <a class="code-function" href="#2631">reset</a> ();<br/>+ <span class="code-storage-keyword">const</span> vec3 & <a class="code-function" href="#2632">getPos</a> ();<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2633">setPos</a> (<span class="code-storage-keyword">const</span> vec3 & <span class="code-argument">_pos</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2635">setPos</a> (<span class="code-storage-keyword">const</span> vec2 & <span class="code-argument">_pos</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2637">setRelPos</a> (<span class="code-storage-keyword">const</span> vec3 & <span class="code-argument">_pos</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2639">setRelPos</a> (<span class="code-storage-keyword">const</span> vec2 & <span class="code-argument">_pos</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2641">setDefaultColorBg</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="class_etk__Color.html">etk::Color</a>&lt;&gt; & <span class="code-argument">_color</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2643">setDefaultColorFg</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="class_etk__Color.html">etk::Color</a>&lt;&gt; & <span class="code-argument">_color</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2645">setColor</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="class_etk__Color.html">etk::Color</a>&lt;&gt; & <span class="code-argument">_color</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2647">setColorBg</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="class_etk__Color.html">etk::Color</a>&lt;&gt; & <span class="code-argument">_color</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2649">setClippingWidth</a> (<span class="code-storage-keyword">const</span> vec3 & <span class="code-argument">_pos</span>,<br/> <span class="code-storage-keyword">const</span> vec3 & <span class="code-argument">_width</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2652">setClippingWidth</a> (<span class="code-storage-keyword">const</span> vec2 & <span class="code-argument">_pos</span>,<br/> <span class="code-storage-keyword">const</span> vec2 & <span class="code-argument">_width</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2655">setClipping</a> (<span class="code-storage-keyword">const</span> vec3 & <span class="code-argument">_pos</span>,<br/> <span class="code-storage-keyword">const</span> vec3 & <span class="code-argument">_posEnd</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2658">setClipping</a> (<span class="code-storage-keyword">const</span> vec2 & <span class="code-argument">_pos</span>,<br/> <span class="code-storage-keyword">const</span> vec2 & <span class="code-argument">_posEnd</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2661">setClippingMode</a> (<span class="code-type" >bool</span> <span class="code-argument">_newMode</span>);<br/>+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >void</span> <a class="code-function" href="#2663">setFontSize</a> (<span class="code-type" >int32_t</span> <span class="code-argument">_fontSize</span>) = 0;<br/>+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >void</span> <a class="code-function" href="#2665">setFontName</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_fontName</span>) = 0;<br/>+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >void</span> <a class="code-function" href="#2667">setFont</a> (<a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> <span class="code-argument">_fontName</span>,<br/> <span class="code-type" >int32_t</span> <span class="code-argument">_fontSize</span>) = 0;<br/>+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >void</span> <a class="code-function" href="#2670">setFontMode</a> (<span class="code-storage-keyword">enum</span> <a class="code-type" href="enum_ewol__font__mode.html">ewol::font::mode</a> <span class="code-argument">_mode</span>) = 0;<br/>+ <span class="code-storage-keyword">enum</span> <a class="code-type" href="enum_ewol__font__mode.html">ewol::font::mode</a> <a class="code-function" href="#2672">getFontMode</a> ();<br/>+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >float</span> <a class="code-function" href="#2673">getHeight</a> () = 0;<br/>+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >float</span> <a class="code-function" href="#2674">getSize</a> () = 0;<br/>+ <span class="code-storage-keyword">virtual</span> <a class="code-type" href="class_ewol__GlyphProperty.html">ewol::GlyphProperty</a>* <a class="code-function" href="#2675">getGlyphPointer</a> (<span class="code-type" >char32_t</span> <span class="code-argument">_charcode</span>) = 0;<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2677">setFontBold</a> (<span class="code-type" >bool</span> <span class="code-argument">_status</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2679">setFontItalic</a> (<span class="code-type" >bool</span> <span class="code-argument">_status</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2681">setKerningMode</a> (<span class="code-type" >bool</span> <span class="code-argument">_newMode</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2683">print</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_text</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2685">print</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/u32string/">std::u32string</a> & <span class="code-argument">_text</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2687">printDecorated</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_text</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2689">printDecorated</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/u32string/">std::u32string</a> & <span class="code-argument">_text</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2691">printHTML</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_text</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2693">printHTML</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/u32string/">std::u32string</a> & <span class="code-argument">_text</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2695">print</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_text</span>,<br/> <span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/vector/vector/">std::vector</a>&lt;TextDecoration&gt; & <span class="code-argument">_decoration</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2698">print</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/u32string/">std::u32string</a> & <span class="code-argument">_text</span>,<br/> <span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/vector/vector/">std::vector</a>&lt;TextDecoration&gt; & <span class="code-argument">_decoration</span>);<br/>+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >void</span> <a class="code-function" href="#2701">printChar</a> (<span class="code-storage-keyword">const</span> <span class="code-type" >char32_t</span> & <span class="code-argument">_charcode</span>) = 0;<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2703">forceLineReturn</a> ();<br/># <span class="code-type" >void</span> <a class="code-function" href="#2704">parseHtmlNode</a> (<a class="code-type" href="class_exml__Element.html">exml::Element</a>* <span class="code-argument">_element</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2706">setTextAlignement</a> (<span class="code-type" >float</span> <span class="code-argument">_startTextpos</span>,<br/> <span class="code-type" >float</span> <span class="code-argument">_stopTextPos</span>,<br/> <span class="code-storage-keyword">enum</span> <a class="code-type" href="enum_ewol__compositing__aligneMode.html">ewol::compositing::aligneMode</a> <span class="code-argument">_alignement</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2710">disableAlignement</a> ();<br/>+ <span class="code-storage-keyword">enum</span> <a class="code-type" href="enum_ewol__compositing__aligneMode.html">ewol::compositing::aligneMode</a> <a class="code-function" href="#2711">getAlignement</a> ();<br/>+ vec3 <a class="code-function" href="#2712">calculateSizeHTML</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_text</span>);<br/>+ vec3 <a class="code-function" href="#2714">calculateSizeHTML</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/u32string/">std::u32string</a> & <span class="code-argument">_text</span>);<br/>+ vec3 <a class="code-function" href="#2716">calculateSizeDecorated</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_text</span>);<br/>+ vec3 <a class="code-function" href="#2718">calculateSizeDecorated</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/u32string/">std::u32string</a> & <span class="code-argument">_text</span>);<br/>+ vec3 <a class="code-function" href="#2720">calculateSize</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_text</span>);<br/>+ vec3 <a class="code-function" href="#2722">calculateSize</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/u32string/">std::u32string</a> & <span class="code-argument">_text</span>);<br/>+ vec3 <a class="code-function" href="#2724">calculateSize</a> (<span class="code-storage-keyword">const</span> <span class="code-type" >char32_t</span> & <span class="code-argument">_charcode</span>);<br/># <span class="code-storage-keyword">virtual</span> vec3 <a class="code-function" href="#2726">calculateSizeChar</a> (<span class="code-storage-keyword">const</span> <span class="code-type" >char32_t</span> & <span class="code-argument">_charcode</span>) = 0;<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2728">printCursor</a> (<span class="code-type" >bool</span> <span class="code-argument">_isInsertMode</span>,<br/> <span class="code-type" >float</span> <span class="code-argument">_cursorSize</span>);<br/># <span class="code-type" >bool</span> <a class="code-function" href="#2731">extrapolateLastId</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_text</span>,<br/> <span class="code-storage-keyword">const</span> <span class="code-type" >int32_t</span> <span class="code-argument">_start</span>,<br/> <span class="code-type" >int32_t</span> & <span class="code-argument">_stop</span>,<br/> <span class="code-type" >int32_t</span> & <span class="code-argument">_space</span>,<br/> <span class="code-type" >int32_t</span> & <span class="code-argument">_freeSpace</span>);<br/># <span class="code-type" >bool</span> <a class="code-function" href="#2737">extrapolateLastId</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/u32string/">std::u32string</a> & <span class="code-argument">_text</span>,<br/> <span class="code-storage-keyword">const</span> <span class="code-type" >int32_t</span> <span class="code-argument">_start</span>,<br/> <span class="code-type" >int32_t</span> & <span class="code-argument">_stop</span>,<br/> <span class="code-type" >int32_t</span> & <span class="code-argument">_space</span>,<br/> <span class="code-type" >int32_t</span> & <span class="code-argument">_freeSpace</span>);<br/># <a class="code-type" href="http://www.cplusplus.com/reference/string/u32string/">std::u32string</a> <a class="code-member" href="#2743">m_htmlCurrrentLine</a>;<br/># <a class="code-type" href="http://www.cplusplus.com/reference/vector/vector/">std::vector</a>&lt;TextDecoration&gt; <a class="code-member" href="#2744">m_htmlDecoration</a>;<br/># TextDecoration <a class="code-member" href="#2745">m_htmlDecoTmp</a>;<br/># <span class="code-type" >void</span> <a class="code-function" href="#2746">htmlAddData</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/u32string/">std::u32string</a> & <span class="code-argument">_data</span>);<br/># <span class="code-type" >void</span> <a class="code-function" href="#2748">htmlFlush</a> ();<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2749">disableCursor</a> ();<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2750">setCursorPos</a> (<span class="code-type" >int32_t</span> <span class="code-argument">_cursorPos</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2752">setCursorSelection</a> (<span class="code-type" >int32_t</span> <span class="code-argument">_cursorPos</span>,<br/> <span class="code-type" >int32_t</span> <span class="code-argument">_selectionStartPos</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2755">setSelectionColor</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="class_etk__Color.html">etk::Color</a>&lt;&gt; & <span class="code-argument">_color</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#2757">setCursorColor</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="class_etk__Color.html">etk::Color</a>&lt;&gt; & <span class="code-argument">_color</span>);<br/></pre>
<br/>
<h2>Object Hierarchy:<h2>
<pre>
+<a href="class_ewol__Compositing.html">ewol::Compositing</a><br/> +--> ewol::compositing::TextBase<br/> +--> <a href="class_ewol__compositing__TextDF.html">ewol::compositing::TextDF</a><br/> +--> <a href="class_ewol__compositing__Text.html">ewol::compositing::Text</a><br/></pre>
<h2>Detail:</h2>
<a id="2574"/><a id="2575"/><h3>m_vectorialDraw</h3><pre>
# <a class="code-type" href="class_ewol__compositing__Drawing.html">ewol::compositing::Drawing</a> <span class="code-member">m_vectorialDraw</span>;<br/></pre>
This is used to draw background selection and other things ...<br/>
<br/>
<hr/>
<a id="2576"/><h3>getDrawing</h3><pre>
+ <span class="code-storage-keyword">virtual</span> <a class="code-type" href="class_ewol__compositing__Drawing.html">ewol::compositing::Drawing</a> & <span class="code-function">getDrawing</span> ();<br/></pre>
<br/>
<br/>
<hr/>
<a id="2577"/><h3>m_nbCharDisplayed</h3><pre>
# <span class="code-type" >int32_t</span> <span class="code-member">m_nbCharDisplayed</span>;<br/></pre>
prevent some error in calculation size.<br/>
<br/>
<hr/>
<a id="2578"/><h3>m_sizeDisplayStart</h3><pre>
# vec3 <span class="code-member">m_sizeDisplayStart</span>;<br/></pre>
The start windows of the display.<br/>
<br/>
<hr/>
<a id="2579"/><h3>m_sizeDisplayStop</h3><pre>
# vec3 <span class="code-member">m_sizeDisplayStop</span>;<br/></pre>
The end windows of the display.<br/>
<br/>
<hr/>
<a id="2580"/><h3>m_needDisplay</h3><pre>
# <span class="code-type" >bool</span> <span class="code-member">m_needDisplay</span>;<br/></pre>
This just need the display and not the size rendering.<br/>
<br/>
<hr/>
<a id="2581"/><h3>m_position</h3><pre>
# vec3 <span class="code-member">m_position</span>;<br/></pre>
The current position to draw<br/>
<br/>
<hr/>
<a id="2582"/><h3>m_clippingPosStart</h3><pre>
# vec3 <span class="code-member">m_clippingPosStart</span>;<br/></pre>
Clipping start position<br/>
<br/>
<hr/>
<a id="2583"/><h3>m_clippingPosStop</h3><pre>
# vec3 <span class="code-member">m_clippingPosStop</span>;<br/></pre>
Clipping stop position<br/>
<br/>
<hr/>
<a id="2584"/><h3>m_clippingEnable</h3><pre>
# <span class="code-type" >bool</span> <span class="code-member">m_clippingEnable</span>;<br/></pre>
true if the clipping must be activated<br/>
<br/>
<hr/>
<a id="2585"/><h3>m_defaultColorFg</h3><pre>
# <a class="code-type" href="class_etk__Color.html">etk::Color</a>&lt;&gt; <span class="code-member">m_defaultColorFg</span>;<br/></pre>
The text foreground color<br/>
<br/>
<hr/>
<a id="2586"/><h3>m_defaultColorBg</h3><pre>
# <a class="code-type" href="class_etk__Color.html">etk::Color</a>&lt;&gt; <span class="code-member">m_defaultColorBg</span>;<br/></pre>
The text background color<br/>
<br/>
<hr/>
<a id="2587"/><h3>m_color</h3><pre>
# <a class="code-type" href="class_etk__Color.html">etk::Color</a>&lt;&gt; <span class="code-member">m_color</span>;<br/></pre>
The text foreground color<br/>
<br/>
<hr/>
<a id="2588"/><h3>m_colorBg</h3><pre>
# <a class="code-type" href="class_etk__Color.html">etk::Color</a>&lt;&gt; <span class="code-member">m_colorBg</span>;<br/></pre>
The text background color<br/>
<br/>
<hr/>
<a id="2589"/><h3>m_colorCursor</h3><pre>
# <a class="code-type" href="class_etk__Color.html">etk::Color</a>&lt;&gt; <span class="code-member">m_colorCursor</span>;<br/></pre>
The text cursor color<br/>
<br/>
<hr/>
<a id="2590"/><h3>m_colorSelection</h3><pre>
# <a class="code-type" href="class_etk__Color.html">etk::Color</a>&lt;&gt; <span class="code-member">m_colorSelection</span>;<br/></pre>
The text Selection color
font display property : Regular/Bold/Italic/BoldItalic<br/>
<br/>
<hr/>
<a id="2591"/><h3>m_kerning</h3><pre>
# <span class="code-type" >bool</span> <span class="code-member">m_kerning</span>;<br/></pre>
Kerning enable or disable on the next elements displayed<br/>
<br/>
<hr/>
<a id="2592"/><h3>m_previousCharcode</h3><pre>
# <span class="code-type" >char32_t</span> <span class="code-member">m_previousCharcode</span>;<br/></pre>
<br/>
<hr/>
<a id="2593"/><h3>m_startTextpos</h3><pre>
# <span class="code-type" >float</span> <span class="code-member">m_startTextpos</span>;<br/></pre>
start position of the Alignement (when \n the text return at this position)<br/>
<br/>
<hr/>
<a id="2594"/><h3>m_stopTextPos</h3><pre>
# <span class="code-type" >float</span> <span class="code-member">m_stopTextPos</span>;<br/></pre>
end of the alignement (when a string is too hight it cut at the word previously this virtual line and the center is perform with this one)
Current Alignement mode (justify/left/right ...)<br/>
<br/>
<hr/>
<a id="2595"/><h3>m_GLprogram</h3><pre>
# <a class="code-type" href="http://www.cplusplus.com/reference/memory/shared_ptr/">std::shared_ptr</a>&lt;ewol::resource::Program&gt; <span class="code-member">m_GLprogram</span>;<br/></pre>
pointer on the opengl display program<br/>
<br/>
<hr/>
<a id="2596"/><h3>m_GLPosition</h3><pre>
# <span class="code-type" >int32_t</span> <span class="code-member">m_GLPosition</span>;<br/></pre>
openGL id on the element (vertex buffer)<br/>
<br/>
<hr/>
<a id="2597"/><h3>m_GLMatrix</h3><pre>
# <span class="code-type" >int32_t</span> <span class="code-member">m_GLMatrix</span>;<br/></pre>
openGL id on the element (transformation matrix)<br/>
<br/>
<hr/>
<a id="2598"/><h3>m_GLColor</h3><pre>
# <span class="code-type" >int32_t</span> <span class="code-member">m_GLColor</span>;<br/></pre>
openGL id on the element (color buffer)<br/>
<br/>
<hr/>
<a id="2599"/><h3>m_GLtexture</h3><pre>
# <span class="code-type" >int32_t</span> <span class="code-member">m_GLtexture</span>;<br/></pre>
openGL id on the element (Texture position)<br/>
<br/>
<hr/>
<a id="2600"/><h3>m_GLtexID</h3><pre>
# <span class="code-type" >int32_t</span> <span class="code-member">m_GLtexID</span>;<br/></pre>
openGL id on the element (texture ID)<br/>
<br/>
<hr/>
<a id="2601"/><h3>m_GLtextWidth</h3><pre>
# <span class="code-type" >int32_t</span> <span class="code-member">m_GLtextWidth</span>;<br/></pre>
openGL Id on the texture width<br/>
<br/>
<hr/>
<a id="2602"/><h3>m_GLtextHeight</h3><pre>
# <span class="code-type" >int32_t</span> <span class="code-member">m_GLtextHeight</span>;<br/></pre>
openGL Id on the texture height<br/>
<br/>
<hr/>
<a id="2603"/><h3>m_selectionStartPos</h3><pre>
# <span class="code-type" >int32_t</span> <span class="code-member">m_selectionStartPos</span>;<br/></pre>
start position of the Selection (if == m_cursorPos ==&gt; no selection)<br/>
<br/>
<hr/>
<a id="2604"/><h3>m_cursorPos</h3><pre>
# <span class="code-type" >int32_t</span> <span class="code-member">m_cursorPos</span>;<br/></pre>
Cursor position (default no cursor == &gt; -100)<br/>
<br/>
<hr/>
<a id="2605"/><h3>m_coord</h3><pre>
# <a class="code-type" href="http://www.cplusplus.com/reference/vector/vector/">std::vector</a>&lt;vec3&gt; <span class="code-member">m_coord</span>;<br/></pre>
internal coord of the object<br/>
<br/>
<hr/>
<a id="2606"/><h3>m_coordTex</h3><pre>
# <a class="code-type" href="http://www.cplusplus.com/reference/vector/vector/">std::vector</a>&lt;vec2&gt; <span class="code-member">m_coordTex</span>;<br/></pre>
internal texture coordinate for every point<br/>
<br/>
<hr/>
<a id="2607"/><h3>m_coordColor</h3><pre>
# <a class="code-type" href="http://www.cplusplus.com/reference/vector/vector/">std::vector</a>&lt;etk::Color&lt;float&gt;&gt; <span class="code-member">m_coordColor</span>;<br/></pre>
internal color of the different point<br/>
<br/>
<hr/>
<a id="2609"/><h3>loadProgram</h3><pre>
+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >void</span> <span class="code-function">loadProgram</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_shaderName</span>);<br/></pre>
load the openGL program and get all the ID needed<br/>
<br/>
<hr/>
<a id="2612"/><h3>TextBase</h3><pre>
+ <span class="code-function">TextBase</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_shaderName</span>,<br/> <span class="code-type" >bool</span> <span class="code-argument">_loadProgram</span>);<br/></pre>
generic constructor<br/>
<br/>
<hr/>
<a id="2613"/><h3>~TextBase</h3><pre>
+ <span class="code-storage-keyword">virtual</span> <span class="code-function">~TextBase</span> ();<br/></pre>
generic destructor<br/>
<br/>
<hr/>
<a id="2615"/><h3>translate</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">translate</span> (<span class="code-storage-keyword">const</span> vec3 & <span class="code-argument">_vect</span>);<br/></pre>
translate the current display of this element<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_vect</span> </td><td> The translation vector to apply at the transformation matrix</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2618"/><h3>rotate</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">rotate</span> (<span class="code-storage-keyword">const</span> vec3 & <span class="code-argument">_vect</span>,<br/> <span class="code-type" >float</span> <span class="code-argument">_angle</span>);<br/></pre>
rotate the curent display of this element<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_vect</span> </td><td> The rotation vector to apply at the transformation matrix</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2620"/><h3>scale</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">scale</span> (<span class="code-storage-keyword">const</span> vec3 & <span class="code-argument">_vect</span>);<br/></pre>
scale the current diaplsy of this element<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_vect</span> </td><td> The scaling vector to apply at the transformation matrix</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2622"/><a id="2625"/><h3>draw</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">draw</span> (<span class="code-type" >bool</span> <span class="code-argument">_disableDepthTest</span>);<br/>+ <span class="code-type" >void</span> <span class="code-function">draw</span> (<span class="code-storage-keyword">const</span> mat4 & <span class="code-argument">_transformationMatrix</span>,<br/> <span class="code-type" >bool</span> <span class="code-argument">_enableDepthTest</span>);<br/></pre>
draw All the refistered text in the current element on openGL<br/>
<br/>
<hr/>
<a id="2627"/><a id="2630"/><h3>drawD</h3><pre>
+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >void</span> <span class="code-function">drawD</span> (<span class="code-type" >bool</span> <span class="code-argument">_disableDepthTest</span>) = 0;<br/>+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >void</span> <span class="code-function">drawMT</span> (<span class="code-storage-keyword">const</span> mat4 & <span class="code-argument">_transformationMatrix</span>,<br/> <span class="code-type" >bool</span> <span class="code-argument">_enableDepthTest</span>) = 0;<br/></pre>
draw All the refistered text in the current element on openGL<br/>
<br/>
<hr/>
<a id="2631"/><h3>clear</h3><pre>
+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >void</span> <span class="code-function">clear</span> ();<br/></pre>
clear all the registered element in the current element<br/>
<br/>
<hr/>
<a id="2632"/><h3>reset</h3><pre>
+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >void</span> <span class="code-function">reset</span> ();<br/></pre>
clear all the intermediate result detween 2 prints<br/>
<br/>
<hr/>
<a id="2633"/><h3>getPos</h3><pre>
+ <span class="code-storage-keyword">const</span> vec3 & <span class="code-function">getPos</span> ();<br/></pre>
get the current display position (sometime needed in the gui control)<br/><ul>
<table class="parameter-list">
<tr><td><b>Return: </b></td><td></td><td>the current position.</td></tr></table>
</ul>
<br/>
<hr/>
<a id="2635"/><a id="2637"/><h3>setPos</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setPos</span> (<span class="code-storage-keyword">const</span> vec3 & <span class="code-argument">_pos</span>);<br/>+ <span class="code-type" >void</span> <span class="code-function">setPos</span> (<span class="code-storage-keyword">const</span> vec2 & <span class="code-argument">_pos</span>);<br/></pre>
set position for the next text writen<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_pos</span> </td><td> Position of the text (in 3D)</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2639"/><a id="2641"/><h3>setRelPos</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setRelPos</span> (<span class="code-storage-keyword">const</span> vec3 & <span class="code-argument">_pos</span>);<br/>+ <span class="code-type" >void</span> <span class="code-function">setRelPos</span> (<span class="code-storage-keyword">const</span> vec2 & <span class="code-argument">_pos</span>);<br/></pre>
set relative position for the next text writen<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_pos</span> </td><td> ofset apply of the text (in 3D)</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2643"/><h3>setDefaultColorBg</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setDefaultColorBg</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="class_etk__Color.html">etk::Color</a>&lt;&gt; & <span class="code-argument">_color</span>);<br/></pre>
set the default background color of the font (when reset, set this value ...)<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_color</span> </td><td> Color to set on background</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2645"/><h3>setDefaultColorFg</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setDefaultColorFg</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="class_etk__Color.html">etk::Color</a>&lt;&gt; & <span class="code-argument">_color</span>);<br/></pre>
set the default Foreground color of the font (when reset, set this value ...)<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_color</span> </td><td> Color to set on foreground</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2647"/><h3>setColor</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setColor</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="class_etk__Color.html">etk::Color</a>&lt;&gt; & <span class="code-argument">_color</span>);<br/></pre>
set the Color of the current foreground font<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_color</span> </td><td> Color to set on foreground (for next print)</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2649"/><h3>setColorBg</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setColorBg</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="class_etk__Color.html">etk::Color</a>&lt;&gt; & <span class="code-argument">_color</span>);<br/></pre>
set the background color of the font (for selected Text (not the global BG))<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_color</span> </td><td> Color to set on background (for next print)</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2652"/><a id="2655"/><h3>setClippingWidth</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setClippingWidth</span> (<span class="code-storage-keyword">const</span> vec3 & <span class="code-argument">_pos</span>,<br/> <span class="code-storage-keyword">const</span> vec3 & <span class="code-argument">_width</span>);<br/>+ <span class="code-type" >void</span> <span class="code-function">setClippingWidth</span> (<span class="code-storage-keyword">const</span> vec2 & <span class="code-argument">_pos</span>,<br/> <span class="code-storage-keyword">const</span> vec2 & <span class="code-argument">_width</span>);<br/></pre>
Request a clipping area for the text (next draw only)<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_pos</span> </td><td> Start position of the clipping</td></tr>
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_width</span> </td><td> Width size of the clipping</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2658"/><a id="2661"/><h3>setClipping</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setClipping</span> (<span class="code-storage-keyword">const</span> vec3 & <span class="code-argument">_pos</span>,<br/> <span class="code-storage-keyword">const</span> vec3 & <span class="code-argument">_posEnd</span>);<br/>+ <span class="code-type" >void</span> <span class="code-function">setClipping</span> (<span class="code-storage-keyword">const</span> vec2 & <span class="code-argument">_pos</span>,<br/> <span class="code-storage-keyword">const</span> vec2 & <span class="code-argument">_posEnd</span>);<br/></pre>
Request a clipping area for the text (next draw only)<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_pos</span> </td><td> Start position of the clipping</td></tr>
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_posEnd</span> </td><td> End position of the clipping</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2663"/><h3>setClippingMode</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setClippingMode</span> (<span class="code-type" >bool</span> <span class="code-argument">_newMode</span>);<br/></pre>
enable/Disable the clipping (without lose the current clipping position)<br/>_newMode The new status of the clipping<br/>
<br/>
<hr/>
<a id="2665"/><h3>setFontSize</h3><pre>
+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >void</span> <span class="code-function">setFontSize</span> (<span class="code-type" >int32_t</span> <span class="code-argument">_fontSize</span>) = 0;<br/></pre>
Specify the font size (this reset the internal element of the current text (system requirement)<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_fontSize</span> </td><td> New font size</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2667"/><h3>setFontName</h3><pre>
+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >void</span> <span class="code-function">setFontName</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_fontName</span>) = 0;<br/></pre>
Specify the font name (this reset the internal element of the current text (system requirement)<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_fontName</span> </td><td> Current name of the selected font</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2670"/><h3>setFont</h3><pre>
+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >void</span> <span class="code-function">setFont</span> (<a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> <span class="code-argument">_fontName</span>,<br/> <span class="code-type" >int32_t</span> <span class="code-argument">_fontSize</span>) = 0;<br/></pre>
Specify the font property (this reset the internal element of the current text (system requirement)<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">fontName</span> </td><td> Current name of the selected font</td></tr>
<td><b>Parameter [input]:</b></td><td><span class="code-argument">fontSize</span> </td><td> New font size</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2672"/><h3>setFontMode</h3><pre>
+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >void</span> <span class="code-function">setFontMode</span> (<span class="code-storage-keyword">enum</span> <a class="code-type" href="enum_ewol__font__mode.html">ewol::font::mode</a> <span class="code-argument">_mode</span>) = 0;<br/></pre>
Specify the font mode for the next @ref print<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">mode</span> </td><td> The font mode requested</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2673"/><h3>getFontMode</h3><pre>
+ <span class="code-storage-keyword">enum</span> <a class="code-type" href="enum_ewol__font__mode.html">ewol::font::mode</a> <span class="code-function">getFontMode</span> ();<br/></pre>
get the current font mode<br/><ul>
<table class="parameter-list">
<tr><td><b>Return: </b></td><td></td><td>The font mode applied</td></tr></table>
</ul>
<br/>
<hr/>
<a id="2674"/><h3>getHeight</h3><pre>
+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >float</span> <span class="code-function">getHeight</span> () = 0;<br/></pre>
<br/>
<br/>
<hr/>
<a id="2675"/><h3>getSize</h3><pre>
+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >float</span> <span class="code-function">getSize</span> () = 0;<br/></pre>
<br/>
<br/>
<hr/>
<a id="2677"/><h3>getGlyphPointer</h3><pre>
+ <span class="code-storage-keyword">virtual</span> <a class="code-type" href="class_ewol__GlyphProperty.html">ewol::GlyphProperty</a>* <span class="code-function">getGlyphPointer</span> (<span class="code-type" >char32_t</span> <span class="code-argument">_charcode</span>) = 0;<br/></pre>
<br/>
<br/>
<hr/>
<a id="2679"/><h3>setFontBold</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setFontBold</span> (<span class="code-type" >bool</span> <span class="code-argument">_status</span>);<br/></pre>
enable or disable the bold mode<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_status</span> </td><td> The new status for this display property</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2681"/><h3>setFontItalic</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setFontItalic</span> (<span class="code-type" >bool</span> <span class="code-argument">_status</span>);<br/></pre>
enable or disable the italic mode<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_status</span> </td><td> The new status for this display property</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2683"/><h3>setKerningMode</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setKerningMode</span> (<span class="code-type" >bool</span> <span class="code-argument">_newMode</span>);<br/></pre>
set the activation of the Kerning for the display (if it existed)<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_newMode</span> </td><td> enable/Diasable the kerning on this font.</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2685"/><a id="2687"/><h3>print</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">print</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_text</span>);<br/>+ <span class="code-type" >void</span> <span class="code-function">print</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/u32string/">std::u32string</a> & <span class="code-argument">_text</span>);<br/></pre>
display a compleat string in the current element.<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_text</span> </td><td> The string to display.</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2689"/><a id="2691"/><h3>printDecorated</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">printDecorated</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_text</span>);<br/>+ <span class="code-type" >void</span> <span class="code-function">printDecorated</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/u32string/">std::u32string</a> & <span class="code-argument">_text</span>);<br/></pre>
display a compleat string in the current element with the generic decoration specification. (basic html data)<br/>
<pre>
<span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span>
<span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span><span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span><span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span>
<span class="code-function-name">&lt;center</span><span class="code-function-name">&gt;</span>
text exemple <span class="code-function-name">&lt;b</span><span class="code-function-name">&gt;</span>in bold<span class="code-function-name">&lt;/b</span><span class="code-function-name">&gt;</span> other text <span class="code-function-name">&lt;b</span><span class="code-function-name">&gt;</span>bold part <span class="code-function-name">&lt;i</span><span class="code-function-name">&gt;</span>boldItalic part<span class="code-function-name">&lt;/i</span><span class="code-function-name">&gt;</span><span class="code-function-name">&lt;/b</span><span class="code-function-name">&gt;</span> an other thext
<span class="code-function-name">&lt;font</span> color=<span class="code-text-quote">"#FF0000"</span><span class="code-function-name">&gt;</span>colored text <span class="code-function-name">&lt;b</span><span class="code-function-name">&gt;</span>bold color text<span class="code-function-name">&lt;/b</span><span class="code-function-name">&gt;</span> <span class="code-function-name">&lt;i</span><span class="code-function-name">&gt;</span>bold italic text<span class="code-function-name">&lt;/i</span><span class="code-function-name">&gt;</span> normal color text<span class="code-function-name">&lt;/font</span><span class="code-function-name">&gt;</span> the end of the string<span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span>
an an other thext
<span class="code-function-name">&lt;/center</span><span class="code-function-name">&gt;</span>
<span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span><span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span><span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span>
<span class="code-function-name">&lt;left</span><span class="code-function-name">&gt;</span>
plop 1
<span class="code-function-name">&lt;/left</span><span class="code-function-name">&gt;</span>
<span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span><span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span><span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span>
<span class="code-function-name">&lt;right</span><span class="code-function-name">&gt;</span>
plop 2
<span class="code-function-name">&lt;/right</span><span class="code-function-name">&gt;</span>
<span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span><span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span><span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span>
<span class="code-function-name">&lt;justify</span><span class="code-function-name">&gt;</span>
Un exemple de text
<span class="code-function-name">&lt;/justify</span><span class="code-function-name">&gt;</span>
</pre>
<br/><b>Note:</b> This is parsed with tiny xml, then be carfull that the XML is correct, and all balises are closed ... otherwite the display can not be done<br/> <ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_text</span> </td><td> The string to display.</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2693"/><a id="2695"/><h3>printHTML</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">printHTML</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_text</span>);<br/>+ <span class="code-type" >void</span> <span class="code-function">printHTML</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/u32string/">std::u32string</a> & <span class="code-argument">_text</span>);<br/></pre>
display a compleat string in the current element with the generic decoration specification. (basic html data)<br/>
<pre>
<span class="code-function-name">&lt;html</span><span class="code-function-name">&gt;</span>
<span class="code-function-name">&lt;body</span><span class="code-function-name">&gt;</span>
<span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span>
<span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span><span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span><span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span>
<span class="code-function-name">&lt;center</span><span class="code-function-name">&gt;</span>
text exemple <span class="code-function-name">&lt;b</span><span class="code-function-name">&gt;</span>in bold<span class="code-function-name">&lt;/b</span><span class="code-function-name">&gt;</span> other text <span class="code-function-name">&lt;b</span><span class="code-function-name">&gt;</span>bold part <span class="code-function-name">&lt;i</span><span class="code-function-name">&gt;</span>boldItalic part<span class="code-function-name">&lt;/i</span><span class="code-function-name">&gt;</span><span class="code-function-name">&lt;/b</span><span class="code-function-name">&gt;</span> an other thext
<span class="code-function-name">&lt;font</span> color=<span class="code-text-quote">"#FF0000"</span><span class="code-function-name">&gt;</span>colored text <span class="code-function-name">&lt;b</span><span class="code-function-name">&gt;</span>bold color text<span class="code-function-name">&lt;/b</span><span class="code-function-name">&gt;</span> <span class="code-function-name">&lt;i</span><span class="code-function-name">&gt;</span>bold italic text<span class="code-function-name">&lt;/i</span><span class="code-function-name">&gt;</span> normal color text<span class="code-function-name">&lt;/font</span><span class="code-function-name">&gt;</span> the end of the string<span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span>
an an other thext
<span class="code-function-name">&lt;/center</span><span class="code-function-name">&gt;</span>
<span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span><span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span><span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span>
<span class="code-function-name">&lt;left</span><span class="code-function-name">&gt;</span>
plop 1
<span class="code-function-name">&lt;/left</span><span class="code-function-name">&gt;</span>
<span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span><span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span><span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span>
<span class="code-function-name">&lt;right</span><span class="code-function-name">&gt;</span>
plop 2
<span class="code-function-name">&lt;/right</span><span class="code-function-name">&gt;</span>
<span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span><span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span><span class="code-function-name">&lt;br</span><span class="code-function-name">/&gt;</span>
<span class="code-function-name">&lt;justify</span><span class="code-function-name">&gt;</span>
Un exemple de text
<span class="code-function-name">&lt;/justify</span><span class="code-function-name">&gt;</span>
<span class="code-function-name">&lt;/body</span><span class="code-function-name">&gt;</span>
<span class="code-function-name">&lt;/html</span><span class="code-function-name">&gt;</span>
</pre>
<br/><b>Note:</b> This is parsed with tiny xml, then be carfull that the XML is correct, and all balises are closed ... otherwite the display can not be done<br/> <ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_text</span> </td><td> The string to display.</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2698"/><a id="2701"/><h3>print</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">print</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_text</span>,<br/> <span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/vector/vector/">std::vector</a>&lt;TextDecoration&gt; & <span class="code-argument">_decoration</span>);<br/>+ <span class="code-type" >void</span> <span class="code-function">print</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/u32string/">std::u32string</a> & <span class="code-argument">_text</span>,<br/> <span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/vector/vector/">std::vector</a>&lt;TextDecoration&gt; & <span class="code-argument">_decoration</span>);<br/></pre>
display a compleat string in the current element whith specific decorations (advence mode).<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_text</span> </td><td> The string to display.</td></tr>
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_decoration</span> </td><td> The text decoration for the text that might be display (if the vector is smaller, the last parameter is get)</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2703"/><h3>printChar</h3><pre>
+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >void</span> <span class="code-function">printChar</span> (<span class="code-storage-keyword">const</span> <span class="code-type" >char32_t</span> & <span class="code-argument">_charcode</span>) = 0;<br/></pre>
display the current char in the current element (note that the kerning is availlable if the position is not changed)<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_charcode</span> </td><td> Char that might be dispalyed</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2704"/><h3>forceLineReturn</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">forceLineReturn</span> ();<br/></pre>
This generate the line return == &gt; it return to the alignement position start and at the correct line position ==&gt; it might be use to not know the line height<br/>
<br/>
<hr/>
<a id="2706"/><h3>parseHtmlNode</h3><pre>
# <span class="code-type" >void</span> <span class="code-function">parseHtmlNode</span> (<a class="code-type" href="class_exml__Element.html">exml::Element</a>* <span class="code-argument">_element</span>);<br/></pre>
This parse a tinyXML node (void pointer to permit to hide tiny XML in include).<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_element</span> </td><td> the exml element.</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2710"/><h3>setTextAlignement</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setTextAlignement</span> (<span class="code-type" >float</span> <span class="code-argument">_startTextpos</span>,<br/> <span class="code-type" >float</span> <span class="code-argument">_stopTextPos</span>,<br/> <span class="code-storage-keyword">enum</span> <a class="code-type" href="enum_ewol__compositing__aligneMode.html">ewol::compositing::aligneMode</a> <span class="code-argument">_alignement</span>);<br/></pre>
This generate the possibility to generate the big text property<br/><b>Note:</b> The text align in center change of line every display done (even if it was just a char)<br/> <ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_startTextpos</span> </td><td> The x text start position of the display.</td></tr>
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_stopTextPos</span> </td><td> The x text stop position of the display.</td></tr>
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_alignement</span> </td><td> mode of alignement for the Text.</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2711"/><h3>disableAlignement</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">disableAlignement</span> ();<br/></pre>
disable the alignement system<br/>
<br/>
<hr/>
<a id="2712"/><h3>getAlignement</h3><pre>
+ <span class="code-storage-keyword">enum</span> <a class="code-type" href="enum_ewol__compositing__aligneMode.html">ewol::compositing::aligneMode</a> <span class="code-function">getAlignement</span> ();<br/></pre>
get the current alignement property<br/><ul>
<table class="parameter-list">
<tr><td><b>Return: </b></td><td></td><td>the curent alignement type</td></tr></table>
</ul>
<br/>
<hr/>
<a id="2714"/><a id="2716"/><h3>calculateSizeHTML</h3><pre>
+ vec3 <span class="code-function">calculateSizeHTML</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_text</span>);<br/>+ vec3 <span class="code-function">calculateSizeHTML</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/u32string/">std::u32string</a> & <span class="code-argument">_text</span>);<br/></pre>
calculate a theoric text size<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_text</span> </td><td> The string to calculate dimention.</td></tr>
<tr><td><b>Return: </b></td><td></td><td>The theoric size used.</td></tr></table>
</ul>
<br/>
<hr/>
<a id="2718"/><a id="2720"/><h3>calculateSizeDecorated</h3><pre>
+ vec3 <span class="code-function">calculateSizeDecorated</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_text</span>);<br/>+ vec3 <span class="code-function">calculateSizeDecorated</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/u32string/">std::u32string</a> & <span class="code-argument">_text</span>);<br/></pre>
calculate a theoric text size<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_text</span> </td><td> The string to calculate dimention.</td></tr>
<tr><td><b>Return: </b></td><td></td><td>The theoric size used.</td></tr></table>
</ul>
<br/>
<hr/>
<a id="2722"/><a id="2724"/><h3>calculateSize</h3><pre>
+ vec3 <span class="code-function">calculateSize</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_text</span>);<br/>+ vec3 <span class="code-function">calculateSize</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/u32string/">std::u32string</a> & <span class="code-argument">_text</span>);<br/></pre>
calculate a theoric text size<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_text</span> </td><td> The string to calculate dimention.</td></tr>
<tr><td><b>Return: </b></td><td></td><td>The theoric size used.</td></tr></table>
</ul>
<br/>
<hr/>
<a id="2726"/><a id="2728"/><h3>calculateSize</h3><pre>
+ vec3 <span class="code-function">calculateSize</span> (<span class="code-storage-keyword">const</span> <span class="code-type" >char32_t</span> & <span class="code-argument">_charcode</span>);<br/># <span class="code-storage-keyword">virtual</span> vec3 <span class="code-function">calculateSizeChar</span> (<span class="code-storage-keyword">const</span> <span class="code-type" >char32_t</span> & <span class="code-argument">_charcode</span>) = 0;<br/></pre>
calculate a theoric charcode size<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_charcode</span> </td><td> The <20>Unicode value to calculate dimention.</td></tr>
<tr><td><b>Return: </b></td><td></td><td>The theoric size used.</td></tr></table>
</ul>
<br/>
<hr/>
<a id="2731"/><h3>printCursor</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">printCursor</span> (<span class="code-type" >bool</span> <span class="code-argument">_isInsertMode</span>,<br/> <span class="code-type" >float</span> <span class="code-argument">_cursorSize</span>);<br/></pre>
draw a cursor at the specify position<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_isInsertMode</span> </td><td> True if the insert mode is activated</td></tr>
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_cursorSize</span> </td><td> The sizae of the cursor that might be set when insert mode is set [default 20]</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2737"/><a id="2743"/><h3>extrapolateLastId</h3><pre>
# <span class="code-type" >bool</span> <span class="code-function">extrapolateLastId</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_text</span>,<br/> <span class="code-storage-keyword">const</span> <span class="code-type" >int32_t</span> <span class="code-argument">_start</span>,<br/> <span class="code-type" >int32_t</span> & <span class="code-argument">_stop</span>,<br/> <span class="code-type" >int32_t</span> & <span class="code-argument">_space</span>,<br/> <span class="code-type" >int32_t</span> & <span class="code-argument">_freeSpace</span>);<br/># <span class="code-type" >bool</span> <span class="code-function">extrapolateLastId</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/u32string/">std::u32string</a> & <span class="code-argument">_text</span>,<br/> <span class="code-storage-keyword">const</span> <span class="code-type" >int32_t</span> <span class="code-argument">_start</span>,<br/> <span class="code-type" >int32_t</span> & <span class="code-argument">_stop</span>,<br/> <span class="code-type" >int32_t</span> & <span class="code-argument">_space</span>,<br/> <span class="code-type" >int32_t</span> & <span class="code-argument">_freeSpace</span>);<br/></pre>
calculate the element number that is the first out the alignement range
(start at the specify ID, and use start pos with current one)<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_text</span> </td><td> The string that might be parsed.</td></tr>
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_start</span> </td><td> The first elemnt that might be used to calculate.</td></tr>
<td><b>Parameter [output]:</b></td><td><span class="code-argument">_stop</span> </td><td> The last Id availlable in the current string.</td></tr>
<td><b>Parameter [output]:</b></td><td><span class="code-argument">_space</span> </td><td> Number of space in the string.</td></tr>
<td><b>Parameter [output]:</b></td><td><span class="code-argument">_freespace</span> </td><td> This represent the number of pixel present in the right white space.</td></tr>
<tr><td><b>Return: </b></td><td></td><td>true if the rifht has free space that can be use for jystify.&lt;br/&gt;false if we find '\n'</td></tr></table>
</ul>
<br/>
<hr/>
<a id="2744"/><h3>m_htmlCurrrentLine</h3><pre>
# <a class="code-type" href="http://www.cplusplus.com/reference/string/u32string/">std::u32string</a> <span class="code-member">m_htmlCurrrentLine</span>;<br/></pre>
current line for HTML display<br/>
<br/>
<hr/>
<a id="2745"/><h3>m_htmlDecoration</h3><pre>
# <a class="code-type" href="http://www.cplusplus.com/reference/vector/vector/">std::vector</a>&lt;TextDecoration&gt; <span class="code-member">m_htmlDecoration</span>;<br/></pre>
current decoration for the HTML display<br/>
<br/>
<hr/>
<a id="2746"/><h3>m_htmlDecoTmp</h3><pre>
# TextDecoration <span class="code-member">m_htmlDecoTmp</span>;<br/></pre>
current decoration<br/>
<br/>
<hr/>
<a id="2748"/><h3>htmlAddData</h3><pre>
# <span class="code-type" >void</span> <span class="code-function">htmlAddData</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/u32string/">std::u32string</a> & <span class="code-argument">_data</span>);<br/></pre>
add a line with the current m_htmlDecoTmp decoration<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_data</span> </td><td> The cuurent data to add.</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2749"/><h3>htmlFlush</h3><pre>
# <span class="code-type" >void</span> <span class="code-function">htmlFlush</span> ();<br/></pre>
draw the current line<br/>
<br/>
<hr/>
<a id="2750"/><h3>disableCursor</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">disableCursor</span> ();<br/></pre>
remove the cursor display<br/>
<br/>
<hr/>
<a id="2752"/><h3>setCursorPos</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setCursorPos</span> (<span class="code-type" >int32_t</span> <span class="code-argument">_cursorPos</span>);<br/></pre>
set a cursor at a specific position:<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_cursorPos</span> </td><td> id of the cursor position</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2755"/><h3>setCursorSelection</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setCursorSelection</span> (<span class="code-type" >int32_t</span> <span class="code-argument">_cursorPos</span>,<br/> <span class="code-type" >int32_t</span> <span class="code-argument">_selectionStartPos</span>);<br/></pre>
set a cursor at a specific position with his associated selection:<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_cursorPos</span> </td><td> id of the cursor position</td></tr>
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_selectionStartPos</span> </td><td> id of the starting of the selection</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="2757"/><h3>setSelectionColor</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setSelectionColor</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="class_etk__Color.html">etk::Color</a>&lt;&gt; & <span class="code-argument">_color</span>);<br/></pre>
change the selection color<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_color</span> </td><td> New color for the Selection</td></tr>
</table>
</ul>
<br/>
<hr/>
<h3>setCursorColor</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setCursorColor</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="class_etk__Color.html">etk::Color</a>&lt;&gt; & <span class="code-argument">_color</span>);<br/></pre>
change the cursor color<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_color</span> </td><td> New color for the Selection</td></tr>
</table>
</ul>
<br/>
<hr/>
</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-46753803-1', 'heeroyui.github.io');
ga('send', 'pageview');
</script>
</body>
</html>