Files
FTXUI/en/v0.10/screen_8hpp_source.html
2025-11-12 12:56:59 +00:00

316 lines
42 KiB
HTML

<!-- HTML header for doxygen 1.8.14-->
<!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="cache-control" content="max-age=86400"/>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>FTXUI: include/ftxui/screen/screen.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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="doxygen_extra.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">FTXUI
&#160;<span id="projectnumber">0.10.0</span>
</div>
<div id="projectbrief">C++ functional terminal UI.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search',true);
$(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('screen_8hpp_source.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="headertitle"><div class="title">screen.hpp</div></div>
</div><!--header-->
<div class="contents">
<a href="screen_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#ifndef FTXUI_SCREEN_SCREEN</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define FTXUI_SCREEN_SCREEN</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include &lt;memory&gt;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include &lt;string&gt;</span> <span class="comment">// for string, allocator, basic_string</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &lt;vector&gt;</span> <span class="comment">// for vector</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span> </div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include &quot;<a class="code" href="box_8hpp.html">ftxui/screen/box.hpp</a>&quot;</span> <span class="comment">// for Box</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include &quot;<a class="code" href="color_8hpp.html">ftxui/screen/color.hpp</a>&quot;</span> <span class="comment">// for Color, Color::Default</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include &quot;<a class="code" href="terminal_8hpp.html">ftxui/screen/terminal.hpp</a>&quot;</span> <span class="comment">// for Dimensions</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> </div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceftxui.html">ftxui</a> {</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="comment"></span> </div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="comment">/// @brief A unicode character and its associated style.</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment">/// @ingroup screen</span></div>
<div class="foldopen" id="foldopen00016" data-start="{" data-end="};">
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"><a class="line" href="structftxui_1_1Pixel.html"> 16</a></span><span class="comment"></span><span class="keyword">struct </span><a class="code hl_struct" href="structftxui_1_1Pixel.html">Pixel</a> {</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> <span class="comment">// The graphemes stored into the pixel. To support combining characters,</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> <span class="comment">// like: a⃦, this can potentially contains multiple codepoitns.</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="structftxui_1_1Pixel.html#a3bbcd6a381555ea201dbe4251a9aafb3"> 19</a></span> std::string <a class="code hl_variable" href="structftxui_1_1Pixel.html#a3bbcd6a381555ea201dbe4251a9aafb3">character</a> = <span class="stringliteral">&quot; &quot;</span>;</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> <span class="comment">// Colors:</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="structftxui_1_1Pixel.html#a3af4612678da78558adccf47e17164bb"> 22</a></span> <a class="code hl_class" href="classftxui_1_1Color.html">Color</a> <a class="code hl_variable" href="structftxui_1_1Pixel.html#a3af4612678da78558adccf47e17164bb">background_color</a> = <a class="code hl_enumvalue" href="classftxui_1_1Color.html#aa4be56f94fc180d7b070df23c235b0c7a79935518a3889663d8688b6b01fff051">Color::Default</a>;</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="structftxui_1_1Pixel.html#a2ce82adc1d02baf22df658b903dcb351"> 23</a></span> <a class="code hl_class" href="classftxui_1_1Color.html">Color</a> <a class="code hl_variable" href="structftxui_1_1Pixel.html#a2ce82adc1d02baf22df658b903dcb351">foreground_color</a> = <a class="code hl_enumvalue" href="classftxui_1_1Color.html#aa4be56f94fc180d7b070df23c235b0c7a79935518a3889663d8688b6b01fff051">Color::Default</a>;</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> <span class="comment">// A bit field representing the style:</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="structftxui_1_1Pixel.html#a399ff0c757d88aeaa2439212f073f380"> 26</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structftxui_1_1Pixel.html#a399ff0c757d88aeaa2439212f073f380">blink</a> : 1;</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="structftxui_1_1Pixel.html#a7a210a24d67146bd143c013d1da0f2dd"> 27</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structftxui_1_1Pixel.html#a7a210a24d67146bd143c013d1da0f2dd">bold</a> : 1;</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="structftxui_1_1Pixel.html#a3cecb006e0ca185024cd89f9ea2ea69a"> 28</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structftxui_1_1Pixel.html#a3cecb006e0ca185024cd89f9ea2ea69a">dim</a> : 1;</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="structftxui_1_1Pixel.html#a19bbb3c355941d56eccf70be7f7ed9e1"> 29</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structftxui_1_1Pixel.html#a19bbb3c355941d56eccf70be7f7ed9e1">inverted</a> : 1;</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="structftxui_1_1Pixel.html#a7c8849e8321ea248cd4991ea8ef198eb"> 30</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structftxui_1_1Pixel.html#a7c8849e8321ea248cd4991ea8ef198eb">underlined</a> : 1;</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
<div class="foldopen" id="foldopen00032" data-start="{" data-end="}">
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="structftxui_1_1Pixel.html#a3d22dc2630f1c1c69ec973cd4648b5d5"> 32</a></span> <a class="code hl_function" href="structftxui_1_1Pixel.html#a3d22dc2630f1c1c69ec973cd4648b5d5">Pixel</a>()</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> : <a class="code hl_variable" href="structftxui_1_1Pixel.html#a399ff0c757d88aeaa2439212f073f380">blink</a>(false),</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> <a class="code hl_variable" href="structftxui_1_1Pixel.html#a7a210a24d67146bd143c013d1da0f2dd">bold</a>(false),</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> <a class="code hl_variable" href="structftxui_1_1Pixel.html#a3cecb006e0ca185024cd89f9ea2ea69a">dim</a>(false),</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> <a class="code hl_variable" href="structftxui_1_1Pixel.html#a19bbb3c355941d56eccf70be7f7ed9e1">inverted</a>(false),</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> <a class="code hl_variable" href="structftxui_1_1Pixel.html#a7c8849e8321ea248cd4991ea8ef198eb">underlined</a>(false) {}</div>
</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span>};</div>
</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="comment"></span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="comment">/// @brief Define how the Screen&#39;s dimensions should look like.</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span><span class="comment">/// @ingroup screen</span></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span><span class="comment"></span><span class="keyword">namespace </span>Dimension {</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="namespaceftxui_1_1Dimension.html#a36e539ed36f88d7f01233974da485937"> 43</a></span><a class="code hl_struct" href="namespaceftxui.html#structftxui_1_1Dimensions">Dimensions</a> <a class="code hl_function" href="namespaceftxui_1_1Dimension.html#a36e539ed36f88d7f01233974da485937">Fixed</a>(<span class="keywordtype">int</span>);</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="namespaceftxui_1_1Dimension.html#af795790b995132f62de607ddfd07f9fa"> 44</a></span><a class="code hl_struct" href="namespaceftxui.html#structftxui_1_1Dimensions">Dimensions</a> <a class="code hl_function" href="namespaceftxui_1_1Dimension.html#af795790b995132f62de607ddfd07f9fa">Full</a>();</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span>} <span class="comment">// namespace Dimension</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span><span class="comment"></span> </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span><span class="comment">/// @brief A rectangular grid of Pixel.</span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span><span class="comment">/// @ingroup screen</span></div>
<div class="foldopen" id="foldopen00049" data-start="{" data-end="};">
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="classftxui_1_1Screen.html"> 49</a></span><span class="comment"></span><span class="keyword">class </span><a class="code hl_class" href="classftxui_1_1Screen.html">Screen</a> {</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <span class="keyword">public</span>:</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <span class="comment">// Constructors:</span></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <a class="code hl_function" href="classftxui_1_1Screen.html#a7ecf7c5fb3d90a1620098a60cfafc215">Screen</a>(<span class="keywordtype">int</span> <a class="code hl_function" href="classftxui_1_1Screen.html#a68da0292dcd44d701eabf5ef2bfb1cd3">dimx</a>, <span class="keywordtype">int</span> <a class="code hl_function" href="classftxui_1_1Screen.html#a234a0b4d7a133cc569054a9789453ba3">dimy</a>);</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <span class="keyword">static</span> <a class="code hl_class" href="classftxui_1_1Screen.html">Screen</a> <a class="code hl_function" href="classftxui_1_1Screen.html#a32b98be0603ace46d6dc9d05b330a9fd">Create</a>(<a class="code hl_struct" href="namespaceftxui.html#structftxui_1_1Dimensions">Dimensions</a> dimension);</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <span class="keyword">static</span> <a class="code hl_class" href="classftxui_1_1Screen.html">Screen</a> <a class="code hl_function" href="classftxui_1_1Screen.html#a32b98be0603ace46d6dc9d05b330a9fd">Create</a>(<a class="code hl_struct" href="namespaceftxui.html#structftxui_1_1Dimensions">Dimensions</a> width, <a class="code hl_struct" href="namespaceftxui.html#structftxui_1_1Dimensions">Dimensions</a> height);</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> </div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <span class="comment">// Node write into the screen using Screen::at.</span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> std::string&amp; <a class="code hl_function" href="classftxui_1_1Screen.html#a55b0a995463c6936efb33391f29565bc">at</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> <a class="code hl_struct" href="structftxui_1_1Pixel.html">Pixel</a>&amp; <a class="code hl_function" href="classftxui_1_1Screen.html#a483f8ee1967e200cfc9e277b3ce00174">PixelAt</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> </div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <span class="comment">// Convert the screen into a printable string in the terminal.</span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> std::string <a class="code hl_function" href="classftxui_1_1Screen.html#a7ef596a0c429a1a74709cf14d8fa15d2">ToString</a>();</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classftxui_1_1Screen.html#a9dcac18006ce057b8d78c847174c1362">Print</a>();</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <span class="comment">// Get screen dimensions.</span></div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="classftxui_1_1Screen.html#a68da0292dcd44d701eabf5ef2bfb1cd3"> 65</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="classftxui_1_1Screen.html#a68da0292dcd44d701eabf5ef2bfb1cd3">dimx</a>() { <span class="keywordflow">return</span> <a class="code hl_variable" href="classftxui_1_1Screen.html#a1b254c3faacd432c325efff4268ca683">dimx_</a>; }</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"><a class="line" href="classftxui_1_1Screen.html#a234a0b4d7a133cc569054a9789453ba3"> 66</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="classftxui_1_1Screen.html#a234a0b4d7a133cc569054a9789453ba3">dimy</a>() { <span class="keywordflow">return</span> <a class="code hl_variable" href="classftxui_1_1Screen.html#a9e9d5df4b41aaa5eca27cdcaca6d4574">dimy_</a>; }</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <span class="comment">// Move the terminal cursor n-lines up with n = dimy().</span></div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> std::string <a class="code hl_function" href="classftxui_1_1Screen.html#a24db27bb981537bb24b3246e7cc2501f">ResetPosition</a>(<span class="keywordtype">bool</span> clear = <span class="keyword">false</span>);</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> </div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> <span class="comment">// Fill with space.</span></div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classftxui_1_1Screen.html#aa71d36872f416feaa853788a7a7a7ef8">Clear</a>();</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> </div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classftxui_1_1Screen.html#a04d18c0cb0df3ed7a01ca5c3b8711ff7">ApplyShader</a>();</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="classftxui_1_1Screen.html#a92cacd07ba30909855f19edc01192ff0"> 75</a></span> <a class="code hl_struct" href="structftxui_1_1Box.html">Box</a> <a class="code hl_variable" href="classftxui_1_1Screen.html#a92cacd07ba30909855f19edc01192ff0">stencil</a>;</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> </div>
<div class="foldopen" id="foldopen00077" data-start="{" data-end="};">
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="classftxui_1_1Screen.html"> 77</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="classftxui_1_1Screen.html#structftxui_1_1Screen_1_1Cursor">Cursor</a> {</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"><a class="line" href="classftxui_1_1Screen.html#a6150e0515f7202e2fb518f7206ed97dc"> 78</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="classftxui_1_1Screen.html#a6150e0515f7202e2fb518f7206ed97dc">x</a> = 0;</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"><a class="line" href="classftxui_1_1Screen.html#a0a2f84ed7838f07779ae24c5a9086d33"> 79</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="classftxui_1_1Screen.html#a0a2f84ed7838f07779ae24c5a9086d33">y</a> = 0;</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> };</div>
</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"><a class="line" href="classftxui_1_1Screen.html#a94febaac347b83267ff6a10b7837d612"> 81</a></span> <a class="code hl_struct" href="classftxui_1_1Screen.html#structftxui_1_1Screen_1_1Cursor">Cursor</a> <a class="code hl_function" href="classftxui_1_1Screen.html#a94febaac347b83267ff6a10b7837d612">cursor</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="classftxui_1_1Screen.html#a9df9d1ae7ed66857ca987963b2365904">cursor_</a>; }</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="classftxui_1_1Screen.html#a1aa24862a3d050b3aea2ade1300d51a7"> 82</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classftxui_1_1Screen.html#a1aa24862a3d050b3aea2ade1300d51a7">SetCursor</a>(<a class="code hl_struct" href="classftxui_1_1Screen.html#structftxui_1_1Screen_1_1Cursor">Cursor</a> <a class="code hl_function" href="classftxui_1_1Screen.html#a94febaac347b83267ff6a10b7837d612">cursor</a>) { <a class="code hl_variable" href="classftxui_1_1Screen.html#a9df9d1ae7ed66857ca987963b2365904">cursor_</a> = <a class="code hl_function" href="classftxui_1_1Screen.html#a94febaac347b83267ff6a10b7837d612">cursor</a>; }</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> </div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> <span class="keyword">protected</span>:</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"><a class="line" href="classftxui_1_1Screen.html#a1b254c3faacd432c325efff4268ca683"> 85</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="classftxui_1_1Screen.html#a1b254c3faacd432c325efff4268ca683">dimx_</a>;</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"><a class="line" href="classftxui_1_1Screen.html#a9e9d5df4b41aaa5eca27cdcaca6d4574"> 86</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="classftxui_1_1Screen.html#a9e9d5df4b41aaa5eca27cdcaca6d4574">dimy_</a>;</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"><a class="line" href="classftxui_1_1Screen.html#aeab8c1788b3f2c7403749c3be95a68ae"> 87</a></span> std::vector&lt;std::vector&lt;Pixel&gt;&gt; <a class="code hl_variable" href="classftxui_1_1Screen.html#aeab8c1788b3f2c7403749c3be95a68ae">pixels_</a>;</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"><a class="line" href="classftxui_1_1Screen.html#a9df9d1ae7ed66857ca987963b2365904"> 88</a></span> <a class="code hl_struct" href="classftxui_1_1Screen.html#structftxui_1_1Screen_1_1Cursor">Cursor</a> <a class="code hl_variable" href="classftxui_1_1Screen.html#a9df9d1ae7ed66857ca987963b2365904">cursor_</a>;</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span>};</div>
</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> </div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span>} <span class="comment">// namespace ftxui</span></div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> </div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span><span class="preprocessor">#endif </span><span class="comment">/* end of include guard: FTXUI_SCREEN_SCREEN */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> </div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span><span class="comment">// Copyright 2020 Arthur Sonzogni. All rights reserved.</span></div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span><span class="comment">// Use of this source code is governed by the MIT license that can be found in</span></div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span><span class="comment">// the LICENSE file.</span></div>
<div class="ttc" id="abox_8hpp_html"><div class="ttname"><a href="box_8hpp.html">box.hpp</a></div></div>
<div class="ttc" id="aclassftxui_1_1Color_html"><div class="ttname"><a href="classftxui_1_1Color.html">ftxui::Color</a></div><div class="ttdoc">A class representing terminal colors.</div><div class="ttdef"><b>Definition</b> <a href="color_8hpp_source.html#l00017">color.hpp:17</a></div></div>
<div class="ttc" id="aclassftxui_1_1Color_html_aa4be56f94fc180d7b070df23c235b0c7a79935518a3889663d8688b6b01fff051"><div class="ttname"><a href="classftxui_1_1Color.html#aa4be56f94fc180d7b070df23c235b0c7a79935518a3889663d8688b6b01fff051">ftxui::Color::Default</a></div><div class="ttdeci">@ Default</div><div class="ttdef"><b>Definition</b> <a href="color_8hpp_source.html#l00036">color.hpp:36</a></div></div>
<div class="ttc" id="aclassftxui_1_1Screen_html"><div class="ttname"><a href="classftxui_1_1Screen.html">ftxui::Screen</a></div><div class="ttdoc">A rectangular grid of Pixel.</div><div class="ttdef"><b>Definition</b> <a href="#l00049">screen.hpp:49</a></div></div>
<div class="ttc" id="aclassftxui_1_1Screen_html_a04d18c0cb0df3ed7a01ca5c3b8711ff7"><div class="ttname"><a href="classftxui_1_1Screen.html#a04d18c0cb0df3ed7a01ca5c3b8711ff7">ftxui::Screen::ApplyShader</a></div><div class="ttdeci">void ApplyShader()</div><div class="ttdef"><b>Definition</b> <a href="screen_8cpp_source.html#l00456">screen.cpp:456</a></div></div>
<div class="ttc" id="aclassftxui_1_1Screen_html_a0a2f84ed7838f07779ae24c5a9086d33"><div class="ttname"><a href="classftxui_1_1Screen.html#a0a2f84ed7838f07779ae24c5a9086d33">ftxui::Screen::Cursor::y</a></div><div class="ttdeci">int y</div><div class="ttdef"><b>Definition</b> <a href="#l00079">screen.hpp:79</a></div></div>
<div class="ttc" id="aclassftxui_1_1Screen_html_a1aa24862a3d050b3aea2ade1300d51a7"><div class="ttname"><a href="classftxui_1_1Screen.html#a1aa24862a3d050b3aea2ade1300d51a7">ftxui::Screen::SetCursor</a></div><div class="ttdeci">void SetCursor(Cursor cursor)</div><div class="ttdef"><b>Definition</b> <a href="#l00082">screen.hpp:82</a></div></div>
<div class="ttc" id="aclassftxui_1_1Screen_html_a1b254c3faacd432c325efff4268ca683"><div class="ttname"><a href="classftxui_1_1Screen.html#a1b254c3faacd432c325efff4268ca683">ftxui::Screen::dimx_</a></div><div class="ttdeci">int dimx_</div><div class="ttdef"><b>Definition</b> <a href="#l00085">screen.hpp:85</a></div></div>
<div class="ttc" id="aclassftxui_1_1Screen_html_a234a0b4d7a133cc569054a9789453ba3"><div class="ttname"><a href="classftxui_1_1Screen.html#a234a0b4d7a133cc569054a9789453ba3">ftxui::Screen::dimy</a></div><div class="ttdeci">int dimy()</div><div class="ttdef"><b>Definition</b> <a href="#l00066">screen.hpp:66</a></div></div>
<div class="ttc" id="aclassftxui_1_1Screen_html_a24db27bb981537bb24b3246e7cc2501f"><div class="ttname"><a href="classftxui_1_1Screen.html#a24db27bb981537bb24b3246e7cc2501f">ftxui::Screen::ResetPosition</a></div><div class="ttdeci">std::string ResetPosition(bool clear=false)</div><div class="ttdoc">Return a string to be printed in order to reset the cursor position to the beginning of the screen.</div><div class="ttdef"><b>Definition</b> <a href="screen_8cpp_source.html#l00431">screen.cpp:431</a></div></div>
<div class="ttc" id="aclassftxui_1_1Screen_html_a32b98be0603ace46d6dc9d05b330a9fd"><div class="ttname"><a href="classftxui_1_1Screen.html#a32b98be0603ace46d6dc9d05b330a9fd">ftxui::Screen::Create</a></div><div class="ttdeci">static Screen Create(Dimensions dimension)</div><div class="ttdoc">Create a screen with the given dimension.</div><div class="ttdef"><b>Definition</b> <a href="screen_8cpp_source.html#l00345">screen.cpp:345</a></div></div>
<div class="ttc" id="aclassftxui_1_1Screen_html_a483f8ee1967e200cfc9e277b3ce00174"><div class="ttname"><a href="classftxui_1_1Screen.html#a483f8ee1967e200cfc9e277b3ce00174">ftxui::Screen::PixelAt</a></div><div class="ttdeci">Pixel &amp; PixelAt(int x, int y)</div><div class="ttdoc">Access a Pixel at a given position.</div><div class="ttdef"><b>Definition</b> <a href="screen_8cpp_source.html#l00408">screen.cpp:408</a></div></div>
<div class="ttc" id="aclassftxui_1_1Screen_html_a55b0a995463c6936efb33391f29565bc"><div class="ttname"><a href="classftxui_1_1Screen.html#a55b0a995463c6936efb33391f29565bc">ftxui::Screen::at</a></div><div class="ttdeci">std::string &amp; at(int x, int y)</div><div class="ttdoc">Access a character a given position.</div><div class="ttdef"><b>Definition</b> <a href="screen_8cpp_source.html#l00401">screen.cpp:401</a></div></div>
<div class="ttc" id="aclassftxui_1_1Screen_html_a6150e0515f7202e2fb518f7206ed97dc"><div class="ttname"><a href="classftxui_1_1Screen.html#a6150e0515f7202e2fb518f7206ed97dc">ftxui::Screen::Cursor::x</a></div><div class="ttdeci">int x</div><div class="ttdef"><b>Definition</b> <a href="#l00078">screen.hpp:78</a></div></div>
<div class="ttc" id="aclassftxui_1_1Screen_html_a68da0292dcd44d701eabf5ef2bfb1cd3"><div class="ttname"><a href="classftxui_1_1Screen.html#a68da0292dcd44d701eabf5ef2bfb1cd3">ftxui::Screen::dimx</a></div><div class="ttdeci">int dimx()</div><div class="ttdef"><b>Definition</b> <a href="#l00065">screen.hpp:65</a></div></div>
<div class="ttc" id="aclassftxui_1_1Screen_html_a7ecf7c5fb3d90a1620098a60cfafc215"><div class="ttname"><a href="classftxui_1_1Screen.html#a7ecf7c5fb3d90a1620098a60cfafc215">ftxui::Screen::Screen</a></div><div class="ttdeci">Screen(int dimx, int dimy)</div><div class="ttdef"><b>Definition</b> <a href="screen_8cpp_source.html#l00349">screen.cpp:349</a></div></div>
<div class="ttc" id="aclassftxui_1_1Screen_html_a7ef596a0c429a1a74709cf14d8fa15d2"><div class="ttname"><a href="classftxui_1_1Screen.html#a7ef596a0c429a1a74709cf14d8fa15d2">ftxui::Screen::ToString</a></div><div class="ttdeci">std::string ToString()</div><div class="ttdef"><b>Definition</b> <a href="screen_8cpp_source.html#l00368">screen.cpp:368</a></div></div>
<div class="ttc" id="aclassftxui_1_1Screen_html_a92cacd07ba30909855f19edc01192ff0"><div class="ttname"><a href="classftxui_1_1Screen.html#a92cacd07ba30909855f19edc01192ff0">ftxui::Screen::stencil</a></div><div class="ttdeci">Box stencil</div><div class="ttdef"><b>Definition</b> <a href="#l00075">screen.hpp:75</a></div></div>
<div class="ttc" id="aclassftxui_1_1Screen_html_a94febaac347b83267ff6a10b7837d612"><div class="ttname"><a href="classftxui_1_1Screen.html#a94febaac347b83267ff6a10b7837d612">ftxui::Screen::cursor</a></div><div class="ttdeci">Cursor cursor() const</div><div class="ttdef"><b>Definition</b> <a href="#l00081">screen.hpp:81</a></div></div>
<div class="ttc" id="aclassftxui_1_1Screen_html_a9dcac18006ce057b8d78c847174c1362"><div class="ttname"><a href="classftxui_1_1Screen.html#a9dcac18006ce057b8d78c847174c1362">ftxui::Screen::Print</a></div><div class="ttdeci">void Print()</div><div class="ttdef"><b>Definition</b> <a href="screen_8cpp_source.html#l00394">screen.cpp:394</a></div></div>
<div class="ttc" id="aclassftxui_1_1Screen_html_a9df9d1ae7ed66857ca987963b2365904"><div class="ttname"><a href="classftxui_1_1Screen.html#a9df9d1ae7ed66857ca987963b2365904">ftxui::Screen::cursor_</a></div><div class="ttdeci">Cursor cursor_</div><div class="ttdef"><b>Definition</b> <a href="#l00088">screen.hpp:88</a></div></div>
<div class="ttc" id="aclassftxui_1_1Screen_html_a9e9d5df4b41aaa5eca27cdcaca6d4574"><div class="ttname"><a href="classftxui_1_1Screen.html#a9e9d5df4b41aaa5eca27cdcaca6d4574">ftxui::Screen::dimy_</a></div><div class="ttdeci">int dimy_</div><div class="ttdef"><b>Definition</b> <a href="#l00086">screen.hpp:86</a></div></div>
<div class="ttc" id="aclassftxui_1_1Screen_html_aa71d36872f416feaa853788a7a7a7ef8"><div class="ttname"><a href="classftxui_1_1Screen.html#aa71d36872f416feaa853788a7a7a7ef8">ftxui::Screen::Clear</a></div><div class="ttdeci">void Clear()</div><div class="ttdoc">Clear all the pixel from the screen.</div><div class="ttdef"><b>Definition</b> <a href="screen_8cpp_source.html#l00448">screen.cpp:448</a></div></div>
<div class="ttc" id="aclassftxui_1_1Screen_html_aeab8c1788b3f2c7403749c3be95a68ae"><div class="ttname"><a href="classftxui_1_1Screen.html#aeab8c1788b3f2c7403749c3be95a68ae">ftxui::Screen::pixels_</a></div><div class="ttdeci">std::vector&lt; std::vector&lt; Pixel &gt; &gt; pixels_</div><div class="ttdef"><b>Definition</b> <a href="#l00087">screen.hpp:87</a></div></div>
<div class="ttc" id="aclassftxui_1_1Screen_html_structftxui_1_1Screen_1_1Cursor"><div class="ttname"><a href="classftxui_1_1Screen.html#structftxui_1_1Screen_1_1Cursor">ftxui::Screen::Cursor</a></div><div class="ttdef"><b>Definition</b> <a href="#l00077">screen.hpp:77</a></div></div>
<div class="ttc" id="acolor_8hpp_html"><div class="ttname"><a href="color_8hpp.html">color.hpp</a></div></div>
<div class="ttc" id="anamespaceftxui_1_1Dimension_html_a36e539ed36f88d7f01233974da485937"><div class="ttname"><a href="namespaceftxui_1_1Dimension.html#a36e539ed36f88d7f01233974da485937">ftxui::Dimension::Fixed</a></div><div class="ttdeci">Dimensions Fixed(int)</div></div>
<div class="ttc" id="anamespaceftxui_1_1Dimension_html_af795790b995132f62de607ddfd07f9fa"><div class="ttname"><a href="namespaceftxui_1_1Dimension.html#af795790b995132f62de607ddfd07f9fa">ftxui::Dimension::Full</a></div><div class="ttdeci">Dimensions Full()</div></div>
<div class="ttc" id="anamespaceftxui_html"><div class="ttname"><a href="namespaceftxui.html">ftxui</a></div><div class="ttdef"><b>Definition</b> <a href="captured__mouse_8hpp_source.html#l00006">captured_mouse.hpp:6</a></div></div>
<div class="ttc" id="anamespaceftxui_html_structftxui_1_1Dimensions"><div class="ttname"><a href="namespaceftxui.html#structftxui_1_1Dimensions">ftxui::Dimensions</a></div><div class="ttdef"><b>Definition</b> <a href="terminal_8hpp_source.html#l00005">terminal.hpp:5</a></div></div>
<div class="ttc" id="astructftxui_1_1Box_html"><div class="ttname"><a href="structftxui_1_1Box.html">ftxui::Box</a></div><div class="ttdef"><b>Definition</b> <a href="box_8hpp_source.html#l00006">box.hpp:6</a></div></div>
<div class="ttc" id="astructftxui_1_1Pixel_html"><div class="ttname"><a href="structftxui_1_1Pixel.html">ftxui::Pixel</a></div><div class="ttdoc">A unicode character and its associated style.</div><div class="ttdef"><b>Definition</b> <a href="#l00016">screen.hpp:16</a></div></div>
<div class="ttc" id="astructftxui_1_1Pixel_html_a19bbb3c355941d56eccf70be7f7ed9e1"><div class="ttname"><a href="structftxui_1_1Pixel.html#a19bbb3c355941d56eccf70be7f7ed9e1">ftxui::Pixel::inverted</a></div><div class="ttdeci">bool inverted</div><div class="ttdef"><b>Definition</b> <a href="#l00029">screen.hpp:29</a></div></div>
<div class="ttc" id="astructftxui_1_1Pixel_html_a2ce82adc1d02baf22df658b903dcb351"><div class="ttname"><a href="structftxui_1_1Pixel.html#a2ce82adc1d02baf22df658b903dcb351">ftxui::Pixel::foreground_color</a></div><div class="ttdeci">Color foreground_color</div><div class="ttdef"><b>Definition</b> <a href="#l00023">screen.hpp:23</a></div></div>
<div class="ttc" id="astructftxui_1_1Pixel_html_a399ff0c757d88aeaa2439212f073f380"><div class="ttname"><a href="structftxui_1_1Pixel.html#a399ff0c757d88aeaa2439212f073f380">ftxui::Pixel::blink</a></div><div class="ttdeci">bool blink</div><div class="ttdef"><b>Definition</b> <a href="#l00026">screen.hpp:26</a></div></div>
<div class="ttc" id="astructftxui_1_1Pixel_html_a3af4612678da78558adccf47e17164bb"><div class="ttname"><a href="structftxui_1_1Pixel.html#a3af4612678da78558adccf47e17164bb">ftxui::Pixel::background_color</a></div><div class="ttdeci">Color background_color</div><div class="ttdef"><b>Definition</b> <a href="#l00022">screen.hpp:22</a></div></div>
<div class="ttc" id="astructftxui_1_1Pixel_html_a3bbcd6a381555ea201dbe4251a9aafb3"><div class="ttname"><a href="structftxui_1_1Pixel.html#a3bbcd6a381555ea201dbe4251a9aafb3">ftxui::Pixel::character</a></div><div class="ttdeci">std::string character</div><div class="ttdef"><b>Definition</b> <a href="#l00019">screen.hpp:19</a></div></div>
<div class="ttc" id="astructftxui_1_1Pixel_html_a3cecb006e0ca185024cd89f9ea2ea69a"><div class="ttname"><a href="structftxui_1_1Pixel.html#a3cecb006e0ca185024cd89f9ea2ea69a">ftxui::Pixel::dim</a></div><div class="ttdeci">bool dim</div><div class="ttdef"><b>Definition</b> <a href="#l00028">screen.hpp:28</a></div></div>
<div class="ttc" id="astructftxui_1_1Pixel_html_a3d22dc2630f1c1c69ec973cd4648b5d5"><div class="ttname"><a href="structftxui_1_1Pixel.html#a3d22dc2630f1c1c69ec973cd4648b5d5">ftxui::Pixel::Pixel</a></div><div class="ttdeci">Pixel()</div><div class="ttdef"><b>Definition</b> <a href="#l00032">screen.hpp:32</a></div></div>
<div class="ttc" id="astructftxui_1_1Pixel_html_a7a210a24d67146bd143c013d1da0f2dd"><div class="ttname"><a href="structftxui_1_1Pixel.html#a7a210a24d67146bd143c013d1da0f2dd">ftxui::Pixel::bold</a></div><div class="ttdeci">bool bold</div><div class="ttdef"><b>Definition</b> <a href="#l00027">screen.hpp:27</a></div></div>
<div class="ttc" id="astructftxui_1_1Pixel_html_a7c8849e8321ea248cd4991ea8ef198eb"><div class="ttname"><a href="structftxui_1_1Pixel.html#a7c8849e8321ea248cd4991ea8ef198eb">ftxui::Pixel::underlined</a></div><div class="ttdeci">bool underlined</div><div class="ttdef"><b>Definition</b> <a href="#l00030">screen.hpp:30</a></div></div>
<div class="ttc" id="aterminal_8hpp_html"><div class="ttname"><a href="terminal_8hpp.html">terminal.hpp</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
const projectNumber = document.getElementById('projectnumber');
if (!projectNumber) {
console.warn('Doxygen element with ID "projectnumber" not found. Cannot add version switcher.');
return;
}
const versions = ["main", "v6.1.9", "v6.1.8", "v6.1.7", "v6.1.6", "v6.1.5", "v6.1.4", "v6.1.3", "v6.1.2", "v6.1.1", "v6.1.0", "v6.0.2", "v6.0.1", "v6.0.0", "v5.0.0", "v4.1.1", "v4.1.0", "v4.0.0", "v3.0.0", "v2.0.0", "v0.9", "v0.11", "v0.10"];
const version_paths = {"main": "../../index.html", "v6.1.9": "../v6.1.9/index.html", "v6.1.8": "../v6.1.8/index.html", "v6.1.7": "../v6.1.7/index.html", "v6.1.6": "../v6.1.6/index.html", "v6.1.5": "../v6.1.5/index.html", "v6.1.4": "../v6.1.4/index.html", "v6.1.3": "../v6.1.3/index.html", "v6.1.2": "../v6.1.2/index.html", "v6.1.1": "../v6.1.1/index.html", "v6.1.0": "../v6.1.0/index.html", "v6.0.2": "../v6.0.2/index.html", "v6.0.1": "../v6.0.1/index.html", "v6.0.0": "../v6.0.0/index.html", "v5.0.0": "../v5.0.0/index.html", "v4.1.1": "../v4.1.1/index.html", "v4.1.0": "../v4.1.0/index.html", "v4.0.0": "../v4.0.0/index.html", "v3.0.0": "../v3.0.0/index.html", "v2.0.0": "../v2.0.0/index.html", "v0.9": "../v0.9/index.html", "v0.11": "../v0.11/index.html", "v0.10": "index.html"};
const currentVersion = "v0.10";
// Sort versions: 'main' first, then others numerically descending.
versions.sort((a, b) => {
if (a === 'main') return -1;
if (b === 'main') return 1;
return b.localeCompare(a, undefined, { numeric: true, sensitivity: 'base' });
});
const select = document.createElement('select');
select.onchange = function() {
const selectedVersion = this.value;
// Navigate directly to the pre-calculated relative path.
if (selectedVersion !== currentVersion) {
window.location.href = version_paths[selectedVersion];
}
};
versions.forEach(v => {
const option = document.createElement('option');
option.value = v;
option.textContent = v;
if (v === currentVersion) {
option.selected = true;
}
select.appendChild(option);
});
// Replace the Doxygen project number element with our dropdown.
projectNumber.replaceWith(select);
// Apply some styling to make it look good.
Object.assign(select.style, {
backgroundColor: 'rgba(0, 0, 0, 0.8)',
color: 'white',
border: '1px solid rgba(255, 255, 255, 0.2)',
padding: '5px',
borderRadius: '5px',
fontSize: '14px',
fontFamily: 'inherit',
marginLeft: '10px',
cursor: 'pointer'
});
});
</script>
</body>
</html>