mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-11-15 11:38:56 +08:00
397 lines
38 KiB
HTML
397 lines
38 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/dom/node.hpp File Reference</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
|
|
 <span id="projectnumber">4.1.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&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&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&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&dn=expat.txt MIT */
|
|
$(function(){initNavTree('node_8hpp.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="summary">
|
|
<a href="#nested-classes">Data Structures</a> |
|
|
<a href="#namespaces">Namespaces</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle"><div class="title">node.hpp File Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><div id="dynsection-0" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
|
|
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> This graph shows which files directly or indirectly include this file:</div>
|
|
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
|
|
</div>
|
|
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
|
|
<div class="center"><img src="node_8hpp__dep__incl.png" border="0" usemap="#ainclude_2ftxui_2dom_2node_8hppdep" alt=""/></div>
|
|
<map name="ainclude_2ftxui_2dom_2node_8hppdep" id="ainclude_2ftxui_2dom_2node_8hppdep">
|
|
<area shape="rect" title=" " alt="" coords="4407,5,4605,31"/>
|
|
<area shape="rect" href="elements_8hpp.html" title=" " alt="" coords="2551,79,2779,104"/>
|
|
<area shape="poly" title=" " alt="" coords="4393,24,3718,41,3262,58,2798,81,2779,83,2779,77,2798,76,3262,53,3718,36,4393,19"/>
|
|
<area shape="rect" href="maybe_8cpp.html" title=" " alt="" coords="5,416,156,456"/>
|
|
<area shape="poly" title=" " alt="" coords="4393,22,3590,27,2385,37,1220,55,791,67,538,81,458,83,378,76,229,57,168,58,143,64,121,73,103,88,90,109,82,136,79,171,79,261,83,416,77,416,74,261,74,171,77,135,86,106,99,85,118,69,141,59,168,53,230,52,378,70,459,78,538,76,791,62,1220,50,2385,32,3590,22,4393,17"/>
|
|
<area shape="rect" href="screen__interactive_8cpp.html" title=" " alt="" coords="215,240,389,280"/>
|
|
<area shape="poly" title=" " alt="" coords="4393,23,3324,39,2558,57,1771,81,1662,83,1561,81,1380,67,1219,49,1069,33,922,28,847,32,769,41,687,57,601,81,508,113,409,154,379,172,353,195,316,242,312,238,349,192,376,168,406,150,506,108,599,76,686,52,768,36,847,27,922,23,1070,28,1219,44,1380,62,1561,76,1662,78,1771,76,2558,51,3324,34,4393,18"/>
|
|
<area shape="rect" href="text_8cpp.html" title=" " alt="" coords="1885,247,2049,273"/>
|
|
<area shape="poly" title=" " alt="" coords="4393,23,3783,29,2930,40,2161,58,1911,69,1838,75,1806,81,1778,104,1762,131,1759,160,1763,175,1772,190,1795,214,1823,231,1854,243,1886,250,1884,255,1852,248,1820,236,1791,218,1768,194,1758,177,1754,161,1757,129,1774,101,1804,76,1837,70,1911,63,2161,52,2930,35,3783,23,4393,18"/>
|
|
<area shape="rect" href="automerge_8cpp.html" title=" " alt="" coords="2073,247,2283,273"/>
|
|
<area shape="poly" title=" " alt="" coords="4393,22,3804,23,2980,31,2575,38,2226,48,1971,63,1891,71,1850,81,1814,103,1787,130,1779,144,1777,159,1780,175,1789,190,2108,245,2107,250,1786,194,1775,177,1771,159,1774,143,1783,127,1810,99,1848,76,1891,66,1971,57,2226,43,2575,33,2980,25,3804,18,4393,17"/>
|
|
<area shape="rect" href="blink_8cpp.html" title=" " alt="" coords="2307,247,2478,273"/>
|
|
<area shape="poly" title=" " alt="" coords="4392,23,3947,28,3323,38,2694,55,2432,67,2233,81,2164,84,2101,80,1991,69,1942,71,1895,83,1849,109,1803,154,1795,172,1796,181,1803,190,1813,197,1831,203,1886,213,2041,226,2294,237,2338,245,2337,250,2294,243,2041,231,1885,218,1830,208,1811,202,1799,194,1792,183,1789,172,1798,150,1846,105,1893,78,1941,66,1991,64,2101,75,2164,78,2233,76,2431,62,2694,50,3323,32,3947,22,4392,17"/>
|
|
<area shape="rect" href="bold_8cpp.html" title=" " alt="" coords="2553,247,2720,273"/>
|
|
<area shape="poly" title=" " alt="" coords="4393,23,3823,34,3033,57,2648,74,2319,96,2186,109,2082,123,2010,138,1988,146,1976,154,1950,175,1918,190,1884,200,1849,206,1791,207,1765,198,1776,192,1803,189,1919,190,2141,203,2490,237,2553,245,2553,250,2490,243,2140,209,1919,195,1803,195,1777,197,1771,198,1791,202,1848,200,1882,195,1916,185,1947,171,1972,150,1985,141,2008,133,2081,118,2186,104,2318,91,2648,69,3033,52,3823,29,4393,18"/>
|
|
<area shape="rect" href="border_8cpp.html" title=" " alt="" coords="3351,159,3530,185"/>
|
|
<area shape="poly" title=" " alt="" coords="4393,34,4009,81,3775,116,3542,155,3502,162,3501,157,3542,149,3775,110,4008,76,4393,29"/>
|
|
<area shape="rect" href="canvas_8cpp.html" title=" " alt="" coords="3554,159,3738,185"/>
|
|
<area shape="poly" title=" " alt="" coords="4423,36,4153,81,3708,162,3707,157,4152,76,4422,30"/>
|
|
<area shape="rect" href="clear__under_8cpp.html" title=" " alt="" coords="3404,240,3547,280"/>
|
|
<area shape="poly" title=" " alt="" coords="4619,18,5643,37,6156,54,6320,65,6369,70,6390,76,6411,105,6418,135,6411,165,6390,194,6349,204,6255,212,5934,225,5490,232,4983,236,4027,239,3560,243,3547,244,3547,239,3559,237,4027,234,4983,231,5490,227,5934,219,6254,207,6348,199,6387,190,6406,163,6412,135,6406,108,6387,81,6368,75,6320,70,6156,60,5643,42,4619,23"/>
|
|
<area shape="rect" href="dbox_8cpp.html" title=" " alt="" coords="3762,159,3933,185"/>
|
|
<area shape="poly" title=" " alt="" coords="4444,36,3898,162,3896,157,4443,31"/>
|
|
<area shape="rect" href="dim_8cpp.html" title=" " alt="" coords="3001,247,3163,273"/>
|
|
<area shape="poly" title=" " alt="" coords="4393,23,4041,31,3818,39,3589,51,3372,68,3184,90,3107,104,3044,119,2998,136,2971,154,2964,167,2964,179,2971,192,2984,204,3018,227,3054,245,3052,250,3015,232,2980,209,2967,195,2959,181,2958,165,2967,150,2995,131,3042,114,3106,98,3183,85,3371,62,3589,45,3818,33,4040,25,4393,18"/>
|
|
<area shape="rect" href="flex_8cpp.html" title=" " alt="" coords="3957,159,4119,185"/>
|
|
<area shape="poly" title=" " alt="" coords="4459,37,4074,162,4073,157,4457,32"/>
|
|
<area shape="rect" href="flexbox_8cpp.html" title=" " alt="" coords="4143,159,4330,185"/>
|
|
<area shape="poly" title=" " alt="" coords="4475,40,4258,161,4256,157,4473,35"/>
|
|
<area shape="rect" href="frame_8cpp.html" title=" " alt="" coords="4355,159,4532,185"/>
|
|
<area shape="poly" title=" " alt="" coords="4499,44,4451,160,4446,158,4494,42"/>
|
|
<area shape="rect" href="gauge_8cpp.html" title=" " alt="" coords="4557,159,4735,185"/>
|
|
<area shape="poly" title=" " alt="" coords="4528,39,4637,157,4633,161,4524,42"/>
|
|
<area shape="rect" href="graph_8cpp.html" title=" " alt="" coords="4760,159,4935,185"/>
|
|
<area shape="poly" title=" " alt="" coords="4545,34,4822,157,4820,162,4543,39"/>
|
|
<area shape="rect" href="gridbox_8cpp.html" title=" " alt="" coords="4959,159,5146,185"/>
|
|
<area shape="poly" title=" " alt="" coords="4561,32,5012,157,5011,162,4559,37"/>
|
|
<area shape="rect" href="hbox_8cpp.html" title=" " alt="" coords="5170,159,5341,185"/>
|
|
<area shape="poly" title=" " alt="" coords="4576,31,5199,157,5198,162,4575,36"/>
|
|
<area shape="rect" href="inverted_8cpp.html" title=" " alt="" coords="3187,247,3379,273"/>
|
|
<area shape="poly" title=" " alt="" coords="4619,20,5080,39,5376,55,5675,76,5799,79,5936,74,6075,66,6202,61,6305,65,6345,73,6373,85,6390,103,6392,127,6378,157,6346,194,6332,200,6303,205,6205,213,5870,226,5406,234,4877,238,3879,240,3392,243,3340,250,3339,245,3391,237,3879,235,4877,232,5406,228,5870,220,6204,208,6303,199,6331,195,6343,190,6373,154,6386,126,6385,105,6370,89,6343,78,6305,71,6202,66,6075,71,5937,79,5799,84,5675,81,5376,61,5080,44,4619,26"/>
|
|
<area shape="rect" href="node__decorator_8hpp.html" title=" " alt="" coords="2981,152,3124,192"/>
|
|
<area shape="poly" title=" " alt="" coords="4393,31,3834,81,3433,126,3125,164,3124,159,3432,121,3834,76,4393,26"/>
|
|
<area shape="rect" href="node__decorator_8cpp.html" title=" " alt="" coords="5387,240,5529,280"/>
|
|
<area shape="poly" title=" " alt="" coords="4619,18,5099,24,5740,36,6308,53,6491,64,6545,70,6569,76,6590,105,6598,135,6592,165,6572,194,6556,201,6525,208,6426,220,6127,239,5789,252,5530,260,5530,254,5788,247,6126,234,6426,215,6524,203,6554,196,6568,190,6587,163,6592,135,6585,107,6566,81,6544,75,6491,69,6308,58,5740,41,5098,29,4619,23"/>
|
|
<area shape="rect" href="scroll__indicator_8cpp.html" title=" " alt="" coords="3571,240,3718,280"/>
|
|
<area shape="poly" title=" " alt="" coords="4619,18,5671,37,6199,54,6369,64,6419,70,6441,76,6462,105,6468,135,6462,165,6441,194,6401,204,6311,212,6004,224,5579,231,5093,236,4177,239,3730,243,3718,244,3718,239,3730,237,4177,234,5093,230,5579,226,6004,218,6311,206,6401,199,6438,190,6457,163,6463,135,6457,108,6438,81,6418,75,6368,70,6199,59,5670,42,4619,23"/>
|
|
<area shape="rect" href="strikethrough_8cpp.html" title=" " alt="" coords="3742,247,3966,273"/>
|
|
<area shape="poly" title=" " alt="" coords="4619,18,5083,24,5699,36,6243,53,6418,64,6469,70,6492,76,6512,105,6519,135,6512,165,6491,194,6455,203,6371,211,6087,222,5692,230,5242,235,4393,240,3978,243,3919,250,3918,245,3978,237,4393,234,5242,230,5692,225,6087,217,6371,205,6454,198,6489,190,6507,163,6514,135,6507,108,6488,81,6468,75,6417,69,6242,59,5698,41,5083,30,4619,23"/>
|
|
<area shape="rect" href="underlined_8cpp.html" title=" " alt="" coords="3991,247,4197,273"/>
|
|
<area shape="poly" title=" " alt="" coords="4619,18,5093,24,5726,36,6286,53,6466,64,6519,70,6542,76,6563,105,6570,135,6563,165,6542,194,6453,203,6231,213,5535,232,4197,259,4197,254,5535,227,6231,207,6453,198,6539,190,6558,163,6564,135,6558,108,6539,81,6518,75,6465,69,6285,58,5725,41,5092,29,4619,23"/>
|
|
<area shape="rect" href="underlined__double_8cpp.html" title=" " alt="" coords="2796,240,2976,280"/>
|
|
<area shape="poly" title=" " alt="" coords="4393,24,3679,43,3314,60,3183,70,3105,81,3060,93,3025,106,2993,125,2957,154,2937,175,2921,198,2897,241,2892,239,2916,195,2933,171,2954,150,2990,120,3023,101,3058,88,3104,76,3182,65,3314,55,3678,38,4393,19"/>
|
|
<area shape="rect" href="reflect_8cpp.html" title=" " alt="" coords="5365,159,5543,185"/>
|
|
<area shape="poly" title=" " alt="" coords="4597,30,4930,81,5353,149,5394,157,5393,162,5352,155,4929,86,4596,35"/>
|
|
<area shape="rect" href="separator_8cpp.html" title=" " alt="" coords="5568,159,5767,185"/>
|
|
<area shape="poly" title=" " alt="" coords="4619,29,5032,78,5556,149,5601,157,5601,162,5555,155,5032,84,4619,35"/>
|
|
<area shape="rect" href="size_8cpp.html" title=" " alt="" coords="5791,159,5955,185"/>
|
|
<area shape="poly" title=" " alt="" coords="4619,25,4834,42,5123,68,5449,104,5778,149,5819,157,5818,162,5778,155,5448,109,5122,74,4834,47,4619,30"/>
|
|
<area shape="rect" href="dom_2util_8cpp.html" title=" " alt="" coords="5979,159,6137,185"/>
|
|
<area shape="poly" title=" " alt="" coords="4619,22,4864,36,5198,61,5580,98,5776,122,5966,149,6007,157,6006,162,5966,155,5775,127,5580,103,5198,66,4863,41,4619,27"/>
|
|
<area shape="rect" href="vbox_8cpp.html" title=" " alt="" coords="6162,159,6333,185"/>
|
|
<area shape="poly" title=" " alt="" coords="4619,20,4891,32,5271,55,5708,93,5932,119,6150,149,6192,157,6191,162,6150,155,5931,124,5707,99,5271,61,4891,37,4619,25"/>
|
|
<area shape="rect" href="node_8cpp.html" title=" " alt="" coords="6661,79,6831,104"/>
|
|
<area shape="poly" title=" " alt="" coords="4619,17,4961,19,5460,27,6045,45,6347,58,6642,76,6661,77,6660,83,6642,81,6346,64,6045,50,5460,32,4961,24,4619,22"/>
|
|
<area shape="rect" href="component_8hpp.html" title=" " alt="" coords="869,328,1047,368"/>
|
|
<area shape="poly" title=" " alt="" coords="2537,96,2209,101,1800,110,1429,128,1297,140,1219,155,1180,171,1142,192,1073,241,1016,290,977,329,973,326,1013,286,1070,236,1139,187,1178,166,1217,149,1296,134,1429,122,1799,105,2209,95,2537,91"/>
|
|
<area shape="rect" href="button_8cpp.html" title=" " alt="" coords="1275,416,1425,456"/>
|
|
<area shape="poly" title=" " alt="" coords="2537,96,2361,100,2160,110,1972,127,1896,139,1839,155,1787,177,1747,201,1714,227,1684,254,1623,312,1584,341,1535,370,1475,398,1416,418,1414,413,1473,393,1533,366,1581,337,1620,308,1681,250,1710,223,1744,196,1785,172,1837,149,1895,134,1972,122,2159,104,2361,95,2537,91"/>
|
|
<area shape="rect" href="checkbox_8cpp.html" title=" " alt="" coords="2017,416,2168,456"/>
|
|
<area shape="poly" title=" " alt="" coords="2681,115,2703,156,2725,204,2738,249,2739,268,2734,281,2717,298,2695,313,2637,341,2564,364,2482,384,2312,413,2169,430,2168,425,2311,408,2481,379,2562,359,2635,336,2692,309,2714,294,2729,279,2733,267,2733,250,2720,206,2698,158,2676,118"/>
|
|
<area shape="rect" href="collapsible_8cpp.html" title=" " alt="" coords="1660,416,1811,456"/>
|
|
<area shape="poly" title=" " alt="" coords="2537,95,2385,98,2216,107,2062,125,2000,138,1954,154,1913,180,1876,212,1843,248,1815,287,1771,361,1745,417,1740,415,1766,359,1810,284,1839,245,1872,208,1910,175,1952,150,1998,133,2061,119,2216,102,2385,93,2537,90"/>
|
|
<area shape="rect" href="component_8cpp.html" title=" " alt="" coords="180,416,331,456"/>
|
|
<area shape="poly" title=" " alt="" coords="2537,96,2131,101,1584,111,1040,128,814,140,642,155,572,159,508,156,396,149,346,153,298,167,252,195,205,242,194,262,190,285,191,308,198,333,219,379,243,414,238,417,215,381,193,334,186,309,184,284,189,260,201,238,249,191,296,162,345,148,396,144,508,151,572,153,642,149,814,135,1040,123,1584,106,2130,95,2537,91"/>
|
|
<area shape="rect" href="container_8cpp.html" title=" " alt="" coords="355,416,505,456"/>
|
|
<area shape="poly" title=" " alt="" coords="2537,97,2087,103,1500,114,976,132,801,142,745,148,716,155,668,179,622,211,580,248,542,286,482,361,444,417,439,414,477,358,538,283,576,244,619,207,665,175,714,149,745,143,800,137,976,126,1500,109,2087,98,2537,91"/>
|
|
<area shape="rect" href="dropdown_8cpp.html" title=" " alt="" coords="879,416,1029,456"/>
|
|
<area shape="poly" title=" " alt="" coords="2537,95,2115,98,1572,106,1312,114,1091,124,932,138,883,146,858,154,831,177,809,201,793,226,782,252,777,279,779,307,788,336,804,367,819,384,837,398,880,418,877,423,834,403,815,388,800,369,783,338,774,308,772,279,777,251,788,224,805,198,828,173,855,150,881,140,931,132,1091,119,1312,109,1572,101,2115,93,2537,90"/>
|
|
<area shape="rect" href="hoverable_8cpp.html" title=" " alt="" coords="529,416,680,456"/>
|
|
<area shape="poly" title=" " alt="" coords="2537,96,2097,100,1526,110,1253,117,1019,127,850,139,797,147,770,154,735,180,704,213,679,249,658,288,627,361,611,416,606,415,622,360,653,285,674,246,700,209,731,176,767,150,796,141,849,134,1019,122,1252,112,1526,104,2097,95,2537,91"/>
|
|
<area shape="rect" href="input_8cpp.html" title=" " alt="" coords="1840,416,1991,456"/>
|
|
<area shape="poly" title=" " alt="" coords="2559,109,2479,127,2448,139,2429,154,2424,163,2423,171,2430,191,2443,206,2460,214,2477,222,2492,239,2500,260,2498,271,2492,282,2471,293,2428,307,2293,345,1992,419,1990,414,2291,340,2426,302,2469,288,2488,278,2493,269,2494,261,2488,241,2474,226,2458,218,2440,210,2425,193,2418,172,2419,161,2425,150,2446,135,2478,122,2558,104"/>
|
|
<area shape="poly" title=" " alt="" coords="2537,95,1989,97,1249,105,890,113,581,123,357,137,286,145,250,154,213,179,182,211,156,247,134,286,103,361,87,417,82,415,98,359,129,283,151,244,178,207,210,175,248,150,285,140,356,132,581,118,890,107,1249,100,1989,92,2537,90"/>
|
|
<area shape="rect" href="menu_8cpp.html" title=" " alt="" coords="1053,416,1204,456"/>
|
|
<area shape="poly" title=" " alt="" coords="2537,97,2250,101,1900,111,1588,129,1476,140,1411,155,1362,179,1317,211,1276,247,1239,286,1179,361,1142,417,1137,414,1175,358,1235,282,1272,243,1314,207,1360,175,1409,149,1475,135,1587,123,1900,106,2249,96,2537,91"/>
|
|
<area shape="rect" href="modal_8cpp.html" title=" " alt="" coords="704,416,855,456"/>
|
|
<area shape="poly" title=" " alt="" coords="2537,96,2105,99,1547,108,1279,115,1052,125,887,138,836,146,810,154,784,179,767,211,758,247,756,286,763,360,776,415,771,416,758,361,750,286,753,246,762,209,780,176,807,150,835,141,886,133,1051,120,1279,110,1547,102,2105,93,2537,90"/>
|
|
<area shape="rect" href="radiobox_8cpp.html" title=" " alt="" coords="1473,416,1624,456"/>
|
|
<area shape="poly" title=" " alt="" coords="2537,100,2158,119,1986,135,1926,144,1891,154,1864,171,1848,190,1818,241,1803,277,1798,309,1790,339,1781,354,1766,370,1743,385,1708,398,1625,421,1623,416,1706,393,1740,380,1763,366,1776,351,1785,337,1792,308,1798,276,1813,239,1843,187,1861,167,1889,150,1925,139,1985,130,2157,114,2537,94"/>
|
|
<area shape="rect" href="component__base_8hpp.html" title=" " alt="" coords="869,152,1047,192"/>
|
|
<area shape="poly" title=" " alt="" coords="2537,97,1925,112,1523,129,1117,155,1048,162,1047,156,1116,149,1523,124,1925,106,2537,91"/>
|
|
<area shape="rect" href="component__options_8hpp.html" title=" " alt="" coords="1373,240,1556,280"/>
|
|
<area shape="poly" title=" " alt="" coords="2537,97,2285,103,1988,114,1724,131,1631,142,1576,154,1546,172,1519,195,1479,242,1475,238,1515,192,1543,168,1574,150,1630,136,1724,125,1987,108,2285,98,2537,92"/>
|
|
<area shape="rect" href="component__options_8cpp.html" title=" " alt="" coords="1223,328,1405,368"/>
|
|
<area shape="poly" title=" " alt="" coords="2537,95,2295,96,2001,104,1854,112,1719,122,1604,136,1517,155,1468,169,1431,185,1398,207,1363,242,1347,263,1336,286,1321,329,1316,327,1331,284,1343,260,1359,238,1395,202,1429,180,1467,164,1516,149,1603,131,1719,117,1854,106,2001,99,2295,91,2537,89"/>
|
|
<area shape="rect" href="dom_2deprecated_8hpp.html" title=" " alt="" coords="1986,159,2226,185"/>
|
|
<area shape="poly" title=" " alt="" coords="2564,108,2181,162,2180,157,2563,103"/>
|
|
<area shape="poly" title=" " alt="" coords="2537,97,2375,103,2199,113,2052,130,2002,141,1976,154,1964,175,1960,201,1966,246,1961,247,1955,201,1959,174,1972,150,2001,136,2051,124,2199,108,2375,97,2537,92"/>
|
|
<area shape="rect" href="table_8hpp.html" title=" " alt="" coords="2453,159,2653,185"/>
|
|
<area shape="poly" title=" " alt="" coords="2638,114,2571,161,2568,157,2635,110"/>
|
|
<area shape="poly" title=" " alt="" coords="2538,105,2436,123,2384,137,2334,154,2291,176,2251,202,2192,249,2189,245,2247,198,2288,172,2332,150,2382,132,2435,118,2537,100"/>
|
|
<area shape="poly" title=" " alt="" coords="2537,103,2478,110,2422,120,2376,135,2360,144,2348,154,2342,165,2341,176,2348,202,2365,226,2382,245,2378,249,2361,229,2344,204,2335,177,2337,163,2344,150,2357,139,2374,130,2421,115,2477,105,2537,97"/>
|
|
<area shape="poly" title=" " alt="" coords="2569,109,2491,128,2461,140,2443,154,2435,171,2436,185,2446,199,2464,211,2512,231,2567,245,2566,250,2511,236,2461,216,2443,203,2431,187,2429,170,2439,150,2459,135,2490,122,2567,104"/>
|
|
<area shape="poly" title=" " alt="" coords="2793,98,3043,118,3333,149,3381,157,3380,162,3332,155,3043,123,2792,104"/>
|
|
<area shape="poly" title=" " alt="" coords="2793,94,3132,112,3337,128,3542,149,3589,157,3589,162,3542,155,3337,133,3132,117,2792,100"/>
|
|
<area shape="poly" title=" " alt="" coords="2793,90,2872,95,2959,105,3049,123,3136,150,3154,159,3167,169,3178,180,3195,190,3404,240,3403,245,3193,194,3175,184,3163,173,3151,163,3134,154,3048,128,2958,111,2871,100,2792,95"/>
|
|
<area shape="poly" title=" " alt="" coords="2793,91,2980,96,3218,106,3484,123,3750,149,3795,157,3795,162,3750,155,3483,128,3218,111,2979,101,2792,97"/>
|
|
<area shape="poly" title=" " alt="" coords="2700,108,2779,147,2875,190,2964,221,3042,245,3040,250,2962,226,2873,194,2777,152,2697,113"/>
|
|
<area shape="poly" title=" " alt="" coords="2793,90,3011,92,3298,100,3620,118,3784,132,3945,149,3989,157,3988,162,3944,155,3784,137,3620,124,3298,106,3011,97,2792,95"/>
|
|
<area shape="poly" title=" " alt="" coords="2792,89,3040,91,3372,99,3750,117,3943,131,4132,149,4181,157,4180,162,4131,155,3942,137,3750,123,3372,105,3040,97,2792,95"/>
|
|
<area shape="poly" title=" " alt="" coords="2793,92,3582,111,4021,127,4203,138,4342,149,4390,157,4390,162,4342,155,4203,143,4021,133,3581,116,2792,97"/>
|
|
<area shape="poly" title=" " alt="" coords="2793,92,3678,109,4178,126,4386,137,4544,149,4592,157,4591,162,4543,155,4385,142,4178,131,3678,114,2793,97"/>
|
|
<area shape="poly" title=" " alt="" coords="2792,91,3209,96,3774,106,4336,123,4570,135,4748,149,4796,157,4795,162,4747,155,4570,141,4336,129,3773,112,3209,101,2792,96"/>
|
|
<area shape="poly" title=" " alt="" coords="2793,91,3246,95,3867,105,4490,123,4749,135,4946,149,4997,157,4997,162,4946,155,4749,140,4490,128,3867,111,3246,101,2793,96"/>
|
|
<area shape="poly" title=" " alt="" coords="2792,90,3283,93,3966,102,4654,119,4941,133,5158,149,5205,157,5204,162,5158,155,4941,138,4654,125,3966,107,3282,98,2792,96"/>
|
|
<area shape="poly" title=" " alt="" coords="2715,106,2851,149,2910,170,2969,189,3102,221,3219,245,3218,250,3101,227,2968,195,2908,176,2849,155,2713,111"/>
|
|
<area shape="poly" title=" " alt="" coords="2736,104,2963,149,2981,153,2980,158,2961,155,2735,109"/>
|
|
<area shape="poly" title=" " alt="" coords="2792,98,3011,118,3112,132,3184,149,3203,159,3216,170,3228,180,3246,190,3291,205,3330,215,3399,223,3469,226,3558,237,3571,240,3570,245,3558,243,3469,231,3399,228,3329,220,3289,210,3244,194,3225,185,3212,174,3200,163,3182,155,3111,137,3010,123,2792,103"/>
|
|
<area shape="poly" title=" " alt="" coords="2793,97,3037,116,3151,131,3234,149,3253,159,3266,170,3278,180,3296,190,3359,209,3414,221,3463,226,3509,228,3607,228,3664,231,3730,237,3782,245,3782,250,3730,243,3663,236,3606,234,3509,233,3462,232,3413,226,3358,214,3294,194,3275,185,3262,174,3250,164,3232,155,3150,136,3036,121,2792,102"/>
|
|
<area shape="poly" title=" " alt="" coords="2793,94,2922,101,3063,112,3192,128,3244,138,3284,150,3302,159,3313,170,3324,181,3340,190,3400,205,3476,215,3656,225,3837,230,3978,237,4030,245,4029,250,3978,243,3837,235,3656,231,3475,220,3399,210,3338,194,3321,185,3309,174,3299,163,3282,154,3243,143,3191,133,3063,118,2922,107,2792,100"/>
|
|
<area shape="poly" title=" " alt="" coords="2688,113,2727,150,2774,190,2851,238,2848,242,2771,194,2723,154,2684,116"/>
|
|
<area shape="poly" title=" " alt="" coords="2792,90,3317,92,4056,101,4804,118,5117,132,5353,149,5402,157,5401,162,5352,155,5116,137,4804,124,4056,106,3317,98,2792,95"/>
|
|
<area shape="poly" title=" " alt="" coords="2793,90,3352,93,4151,101,4961,119,5299,132,5556,149,5609,157,5608,162,5555,155,5299,138,4961,124,4151,106,3352,98,2793,95"/>
|
|
<area shape="poly" title=" " alt="" coords="2792,89,3390,89,4253,95,4707,102,5133,113,5500,128,5778,149,5824,157,5823,162,5778,155,5500,134,5133,118,4707,107,4253,100,3390,94,2792,95"/>
|
|
<area shape="poly" title=" " alt="" coords="2793,91,4473,109,5416,126,5762,137,5966,149,6011,157,6010,162,5966,155,5761,142,5416,131,4473,114,2793,96"/>
|
|
<area shape="poly" title=" " alt="" coords="2792,91,4565,109,5565,126,5933,137,6150,149,6197,157,6197,162,6150,155,5933,142,5565,131,4565,114,2792,96"/>
|
|
<area shape="poly" title=" " alt="" coords="1058,368,1275,416,1274,421,1057,374"/>
|
|
<area shape="poly" title=" " alt="" coords="1061,355,1211,365,1434,376,1608,381,1781,390,2002,413,2018,416,2017,421,2002,419,1780,395,1607,386,1434,382,1211,371,1061,360"/>
|
|
<area shape="poly" title=" " alt="" coords="1061,354,1322,377,1636,413,1660,417,1659,422,1635,419,1322,382,1061,359"/>
|
|
<area shape="poly" title=" " alt="" coords="855,360,620,382,481,399,342,419,331,421,330,415,342,413,480,393,619,377,855,355"/>
|
|
<area shape="poly" title=" " alt="" coords="855,366,696,389,517,419,506,421,505,415,516,413,695,384,855,360"/>
|
|
<area shape="poly" title=" " alt="" coords="959,382,958,416,952,416,954,382"/>
|
|
<area shape="poly" title=" " alt="" coords="868,374,681,419,680,414,867,369"/>
|
|
<area shape="poly" title=" " alt="" coords="1061,354,1822,413,1840,416,1839,421,1822,419,1061,360"/>
|
|
<area shape="poly" title=" " alt="" coords="855,356,546,377,357,395,168,419,157,420,156,415,167,413,357,389,546,371,855,351"/>
|
|
<area shape="poly" title=" " alt="" coords="1009,372,1092,414,1090,418,1006,377"/>
|
|
<area shape="poly" title=" " alt="" coords="908,376,820,418,817,414,905,372"/>
|
|
<area shape="poly" title=" " alt="" coords="1061,360,1437,413,1473,419,1472,424,1436,419,1061,366"/>
|
|
<area shape="poly" title=" " alt="" coords="961,206,961,328,955,328,955,206"/>
|
|
<area shape="poly" title=" " alt="" coords="984,200,1062,281,1113,326,1169,366,1224,393,1280,413,1278,418,1222,398,1166,370,1110,330,1058,285,980,204"/>
|
|
<area shape="poly" title=" " alt="" coords="1061,178,1415,207,1580,224,1675,237,1791,277,1902,326,1996,375,2063,414,2061,418,1993,380,1899,331,1789,282,1673,243,1579,229,1415,213,1061,184"/>
|
|
<area shape="poly" title=" " alt="" coords="1061,178,1359,203,1493,220,1540,229,1568,238,1597,256,1624,277,1669,326,1705,375,1728,414,1723,417,1700,378,1665,330,1620,281,1594,260,1566,242,1539,234,1492,225,1358,209,1061,183"/>
|
|
<area shape="poly" title=" " alt="" coords="855,196,772,217,686,243,570,287,459,336,292,418,289,414,457,331,568,282,684,237,770,211,854,191"/>
|
|
<area shape="poly" title=" " alt="" coords="881,199,823,219,764,242,675,287,589,337,459,418,457,413,586,332,672,283,762,238,821,214,879,194"/>
|
|
<area shape="poly" title=" " alt="" coords="931,203,860,276,815,329,809,349,815,367,828,382,843,395,880,414,877,419,840,400,824,386,810,369,804,349,810,327,856,272,927,200"/>
|
|
<area shape="poly" title=" " alt="" coords="898,200,858,219,819,242,760,287,704,336,624,417,620,414,701,332,756,283,817,238,856,215,896,195"/>
|
|
<area shape="poly" title=" " alt="" coords="1062,179,1383,206,1530,223,1613,237,1658,255,1701,277,1781,326,1848,375,1896,414,1892,418,1845,379,1778,330,1698,281,1655,260,1612,243,1529,228,1382,212,1061,184"/>
|
|
<area shape="poly" title=" " alt="" coords="855,188,722,210,577,243,444,285,315,334,121,418,119,414,313,330,442,280,576,237,721,204,855,183"/>
|
|
<area shape="poly" title=" " alt="" coords="941,205,892,282,873,304,865,314,859,329,853,349,854,357,858,366,880,374,928,387,1054,416,1052,421,927,392,878,379,855,370,849,359,848,349,854,327,861,312,869,301,888,278,937,203"/>
|
|
<area shape="poly" title=" " alt="" coords="906,201,878,219,852,242,822,285,802,333,790,380,784,416,779,415,785,379,797,332,817,282,848,238,875,215,903,197"/>
|
|
<area shape="poly" title=" " alt="" coords="1000,198,1057,238,1135,303,1213,366,1317,390,1474,419,1473,424,1316,396,1210,370,1131,307,1054,242,997,202"/>
|
|
<area shape="poly" title=" " alt="" coords="1061,188,1374,241,1373,246,1060,193"/>
|
|
<area shape="poly" title=" " alt="" coords="856,189,389,250,388,245,855,184"/>
|
|
<area shape="poly" title=" " alt="" coords="1360,282,1048,334,1047,329,1359,276"/>
|
|
<area shape="poly" title=" " alt="" coords="1495,289,1508,307,1517,328,1520,349,1514,369,1496,389,1475,405,1427,425,1425,420,1472,400,1493,385,1509,367,1515,348,1512,329,1503,310,1490,292"/>
|
|
<area shape="poly" title=" " alt="" coords="1547,281,1709,325,2026,413,2025,419,1708,331,1546,286"/>
|
|
<area shape="poly" title=" " alt="" coords="1514,284,1586,326,1712,413,1709,418,1583,330,1511,289"/>
|
|
<area shape="poly" title=" " alt="" coords="1461,294,1447,334,1435,354,1418,370,1385,386,1341,397,1235,408,1125,412,1041,419,1030,421,1029,415,1040,413,1125,407,1234,403,1341,392,1384,381,1415,366,1430,351,1442,332,1456,293"/>
|
|
<area shape="poly" title=" " alt="" coords="1527,282,1867,413,1866,418,1525,287"/>
|
|
<area shape="poly" title=" " alt="" coords="1476,293,1477,332,1473,352,1463,370,1450,378,1427,386,1362,401,1205,427,1204,422,1361,396,1426,381,1448,373,1459,366,1468,350,1472,332,1470,294"/>
|
|
<area shape="poly" title=" " alt="" coords="1523,285,1546,303,1564,327,1571,350,1571,374,1560,416,1555,415,1566,374,1566,351,1560,329,1542,307,1520,289"/>
|
|
<area shape="poly" title=" " alt="" coords="1421,289,1348,330,1346,326,1419,284"/>
|
|
<area shape="poly" title=" " alt="" coords="2207,155,2590,101,2590,107,2208,160"/>
|
|
<area shape="poly" title=" " alt="" coords="2077,194,1988,249,1985,245,2074,190"/>
|
|
<area shape="poly" title=" " alt="" coords="2968,182,2670,204,2296,243,2245,250,2244,245,2295,237,2670,199,2967,176"/>
|
|
<area shape="poly" title=" " alt="" coords="2968,187,2479,250,2478,245,2967,182"/>
|
|
<area shape="poly" title=" " alt="" coords="2968,193,2693,250,2691,245,2967,188"/>
|
|
<area shape="poly" title=" " alt="" coords="3138,188,3144,189,3392,237,3404,240,3403,245,3391,243,3143,195,3137,193"/>
|
|
<area shape="poly" title=" " alt="" coords="3066,204,3080,246,3075,248,3061,206"/>
|
|
<area shape="poly" title=" " alt="" coords="3117,194,3254,245,3252,250,3115,199"/>
|
|
<area shape="poly" title=" " alt="" coords="3138,177,3339,189,3960,215,4564,235,5387,255,5387,260,4563,240,3960,220,3339,195,3138,182"/>
|
|
<area shape="poly" title=" " alt="" coords="3138,182,3194,189,3377,211,3558,237,3571,240,3571,245,3558,243,3376,216,3194,195,3137,187"/>
|
|
<area shape="poly" title=" " alt="" coords="3138,179,3730,237,3783,245,3782,250,3730,243,3138,184"/>
|
|
<area shape="poly" title=" " alt="" coords="3138,177,3296,189,3637,209,3787,218,3978,237,4030,245,4029,250,3978,243,3786,224,3637,214,3295,195,3138,183"/>
|
|
<area shape="poly" title=" " alt="" coords="3005,201,2924,242,2921,238,3003,196"/>
|
|
</map>
|
|
</div>
|
|
</div>
|
|
<p><a href="node_8hpp_source.html">Go to the source code of this file.</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
|
|
Data Structures</h2></td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classftxui_1_1Node.html">Node</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:structftxui_1_1Node_1_1Status" id="r_structftxui_1_1Node_1_1Status"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="classftxui_1_1Node.html#structftxui_1_1Node_1_1Status">Node::Status</a></td></tr>
|
|
<tr class="separator:structftxui_1_1Node_1_1Status"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
|
|
Namespaces</h2></td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html">ftxui</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:ad4b8aa9392f56ba41e2b421e046a7d83" id="r_ad4b8aa9392f56ba41e2b421e046a7d83"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#ad4b8aa9392f56ba41e2b421e046a7d83">Render</a> (<a class="el" href="classftxui_1_1Screen.html">Screen</a> &screen, const <a class="el" href="namespaceftxui.html#a2bc31f2d685189e5c61d2293a1f51b4f">Element</a> &element)</td></tr>
|
|
<tr class="memdesc:ad4b8aa9392f56ba41e2b421e046a7d83"><td class="mdescLeft"> </td><td class="mdescRight">Display an element on a <a class="el" href="classftxui_1_1Screen.html" title="A rectangular grid of Pixel.">ftxui::Screen</a>. <br /></td></tr>
|
|
<tr class="separator:ad4b8aa9392f56ba41e2b421e046a7d83"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a32a24db985fa1b37bf686b00f7e1b4ff" id="r_a32a24db985fa1b37bf686b00f7e1b4ff"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#a32a24db985fa1b37bf686b00f7e1b4ff">Render</a> (<a class="el" href="classftxui_1_1Screen.html">Screen</a> &screen, <a class="el" href="classftxui_1_1Node.html">Node</a> *node)</td></tr>
|
|
<tr class="memdesc:a32a24db985fa1b37bf686b00f7e1b4ff"><td class="mdescLeft"> </td><td class="mdescRight">Display an element on a <a class="el" href="classftxui_1_1Screen.html" title="A rectangular grid of Pixel.">ftxui::Screen</a>. <br /></td></tr>
|
|
<tr class="separator:a32a24db985fa1b37bf686b00f7e1b4ff"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<hr/><h2 class="groupheader">Data Structure Documentation</h2>
|
|
<a name="structftxui_1_1Node_1_1Status" id="structftxui_1_1Node_1_1Status"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#structftxui_1_1Node_1_1Status">◆ </a></span>ftxui::Node::Status</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">struct ftxui::Node::Status</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
</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": "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": "../v0.10/index.html"};
|
|
const currentVersion = "v4.1.0";
|
|
|
|
// 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>
|