mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-11-15 11:38:56 +08:00
403 lines
37 KiB
HTML
403 lines
37 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/terminal.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.1</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('terminal_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="#enum-members">Enumerations</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle"><div class="title">terminal.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="terminal_8hpp__dep__incl.png" border="0" usemap="#ainclude_2ftxui_2screen_2terminal_8hppdep" alt=""/></div>
|
|
<map name="ainclude_2ftxui_2screen_2terminal_8hppdep" id="ainclude_2ftxui_2screen_2terminal_8hppdep">
|
|
<area shape="rect" title=" " alt="" coords="5903,5,6053,45"/>
|
|
<area shape="rect" href="elements_8hpp.html" title=" " alt="" coords="2469,181,2697,207"/>
|
|
<area shape="poly" title=" " alt="" coords="5890,34,2698,190,2697,184,5890,28"/>
|
|
<area shape="rect" href="screen__interactive_8cpp.html" title=" " alt="" coords="121,343,294,383"/>
|
|
<area shape="poly" title=" " alt="" coords="5890,30,5204,38,4023,62,3316,82,2567,108,1805,142,1057,184,937,186,834,181,656,166,572,166,486,178,441,190,393,207,343,229,289,257,265,275,245,298,218,344,213,341,240,295,261,271,286,252,340,224,391,202,439,185,485,173,572,161,656,160,834,176,938,181,1057,179,1805,137,2567,103,3316,77,4023,57,5204,33,5890,25"/>
|
|
<area shape="rect" href="dom_2util_8cpp.html" title=" " alt="" coords="5831,262,5989,287"/>
|
|
<area shape="poly" title=" " alt="" coords="6017,52,6052,84,6084,123,6095,144,6100,165,6099,187,6090,208,6070,230,6045,246,6018,258,5991,266,5989,261,6016,253,6043,242,6066,226,6085,205,6094,186,6095,166,6090,146,6079,126,6049,87,6014,56"/>
|
|
<area shape="rect" href="screen_8hpp.html" title=" " alt="" coords="5262,93,5411,133"/>
|
|
<area shape="poly" title=" " alt="" coords="5890,41,5412,105,5411,99,5889,36"/>
|
|
<area shape="rect" href="screen_8cpp.html" title=" " alt="" coords="5881,181,6075,207"/>
|
|
<area shape="poly" title=" " alt="" coords="5981,59,5981,181,5975,181,5975,59"/>
|
|
<area shape="rect" href="screen_2color_8cpp.html" title=" " alt="" coords="6151,101,6333,126"/>
|
|
<area shape="poly" title=" " alt="" coords="6050,47,6208,98,6206,103,6048,52"/>
|
|
<area shape="rect" href="terminal_8cpp.html" title=" " alt="" coords="6357,101,6564,126"/>
|
|
<area shape="poly" title=" " alt="" coords="6067,40,6397,98,6396,103,6066,45"/>
|
|
<area shape="rect" href="component_8hpp.html" title=" " alt="" coords="1171,343,1350,383"/>
|
|
<area shape="poly" title=" " alt="" coords="2456,199,2176,204,1839,213,1539,231,1432,243,1370,257,1340,275,1313,298,1275,344,1271,341,1310,294,1337,271,1368,252,1431,237,1538,225,1839,208,2176,198,2456,194"/>
|
|
<area shape="rect" href="button_8cpp.html" title=" " alt="" coords="1927,431,2077,471"/>
|
|
<area shape="poly" title=" " alt="" coords="2456,203,2389,210,2325,220,2273,236,2253,245,2240,256,2232,275,2240,293,2267,315,2296,323,2326,322,2358,316,2390,310,2422,309,2453,317,2481,341,2491,363,2488,374,2481,384,2468,396,2450,405,2407,418,2353,425,2295,428,2178,429,2089,433,2078,435,2077,430,2088,428,2178,424,2295,423,2353,420,2405,413,2448,400,2465,392,2477,381,2483,372,2485,363,2477,344,2451,322,2422,314,2391,315,2359,321,2327,327,2295,329,2264,320,2236,296,2227,275,2236,253,2250,241,2271,231,2324,215,2388,204,2455,198"/>
|
|
<area shape="rect" href="checkbox_8cpp.html" title=" " alt="" coords="1577,431,1728,471"/>
|
|
<area shape="poly" title=" " alt="" coords="2456,202,2272,209,2067,220,1891,236,1829,246,1794,257,1769,274,1746,295,1708,344,1680,392,1662,431,1657,429,1675,390,1703,341,1742,292,1765,270,1792,252,1828,241,1890,231,2067,215,2272,204,2455,196"/>
|
|
<area shape="rect" href="collapsible_8cpp.html" title=" " alt="" coords="2276,431,2427,471"/>
|
|
<area shape="poly" title=" " alt="" coords="2456,206,2397,213,2342,223,2297,238,2281,247,2269,256,2261,275,2270,293,2286,309,2304,320,2322,326,2341,329,2380,326,2420,316,2461,306,2501,303,2521,306,2540,312,2558,324,2576,341,2583,352,2585,363,2576,384,2557,396,2521,408,2428,434,2426,429,2519,403,2555,391,2572,381,2580,362,2578,354,2572,344,2555,328,2538,317,2519,311,2501,308,2462,312,2421,321,2381,331,2340,334,2321,332,2301,325,2283,313,2265,296,2256,275,2265,253,2278,242,2295,233,2341,218,2397,208,2455,200"/>
|
|
<area shape="rect" href="component_8cpp.html" title=" " alt="" coords="5,431,156,471"/>
|
|
<area shape="poly" title=" " alt="" coords="2456,199,1973,205,1325,216,720,234,501,245,370,257,290,268,226,276,197,284,169,296,141,316,111,344,97,365,89,388,83,431,78,430,84,386,92,362,107,341,137,312,167,292,195,279,225,271,290,262,370,252,500,239,720,228,1325,211,1973,200,2456,194"/>
|
|
<area shape="rect" href="container_8cpp.html" title=" " alt="" coords="180,431,331,471"/>
|
|
<area shape="poly" title=" " alt="" coords="2456,198,1958,202,1296,211,977,219,703,229,503,242,441,249,409,257,272,432,268,429,406,252,440,244,503,236,702,224,976,214,1296,206,1958,197,2456,193"/>
|
|
<area shape="rect" href="dropdown_8cpp.html" title=" " alt="" coords="1752,431,1903,471"/>
|
|
<area shape="poly" title=" " alt="" coords="2456,199,2275,202,2075,212,1984,219,1907,229,1850,242,1831,249,1820,257,1807,276,1799,298,1797,322,1798,346,1808,393,1821,429,1816,431,1803,394,1793,347,1791,321,1794,297,1802,273,1816,253,1829,244,1848,237,1906,224,1984,214,2075,206,2275,197,2456,193"/>
|
|
<area shape="rect" href="hoverable_8cpp.html" title=" " alt="" coords="355,431,505,471"/>
|
|
<area shape="poly" title=" " alt="" coords="2455,199,2059,204,1547,214,1077,231,907,243,807,257,754,274,701,294,601,343,517,393,458,433,455,428,514,389,599,339,699,290,752,269,805,252,906,238,1077,226,1547,209,2059,198,2455,194"/>
|
|
<area shape="rect" href="input_8cpp.html" title=" " alt="" coords="2451,431,2601,471"/>
|
|
<area shape="poly" title=" " alt="" coords="2711,193,3133,195,3685,203,3956,211,4194,221,4378,235,4443,243,4487,252,4506,261,4519,272,4532,283,4550,292,4586,302,4626,309,4713,314,4885,308,4953,308,4979,311,4998,317,5010,327,5012,342,5003,361,4982,385,4952,393,4883,401,4648,414,3928,433,3139,446,2601,451,2601,446,3139,440,3928,428,4648,408,4883,395,4951,388,4979,380,4998,358,5006,341,5005,329,4996,321,4978,316,4953,313,4885,313,4713,319,4626,314,4585,307,4548,297,4529,287,4516,276,4503,266,4485,257,4442,248,4378,240,4194,226,3956,216,3685,208,3133,200,2711,198"/>
|
|
<area shape="rect" href="maybe_8cpp.html" title=" " alt="" coords="529,431,680,471"/>
|
|
<area shape="poly" title=" " alt="" coords="2456,199,2078,202,1595,211,1153,229,993,241,937,249,900,257,857,274,815,294,736,343,671,393,626,433,623,429,668,389,733,339,812,290,855,269,899,252,936,244,993,236,1152,223,1594,206,2078,197,2455,193"/>
|
|
<area shape="rect" href="menu_8cpp.html" title=" " alt="" coords="1228,431,1379,471"/>
|
|
<area shape="poly" title=" " alt="" coords="2456,199,2260,204,2030,214,1813,231,1725,243,1657,257,1607,274,1558,295,1464,344,1386,394,1330,433,1327,428,1383,389,1462,340,1556,290,1605,269,1656,252,1724,237,1812,225,2029,208,2260,198,2456,194"/>
|
|
<area shape="rect" href="modal_8cpp.html" title=" " alt="" coords="704,431,855,471"/>
|
|
<area shape="poly" title=" " alt="" coords="2456,197,2091,198,1627,204,1402,211,1205,222,1054,237,1002,247,967,257,936,274,908,294,858,343,819,392,793,432,788,429,814,389,854,340,904,290,934,269,965,252,1000,241,1053,232,1205,217,1402,206,1627,199,2091,192,2456,192"/>
|
|
<area shape="rect" href="radiobox_8cpp.html" title=" " alt="" coords="1403,431,1553,471"/>
|
|
<area shape="poly" title=" " alt="" coords="2455,198,2276,202,2070,211,1878,228,1800,241,1742,257,1703,274,1665,295,1595,344,1537,393,1497,432,1494,429,1534,389,1591,340,1662,291,1700,269,1740,252,1799,236,1877,223,2070,206,2276,196,2455,193"/>
|
|
<area shape="rect" href="renderer_8cpp.html" title=" " alt="" coords="879,431,1029,471"/>
|
|
<area shape="poly" title=" " alt="" coords="2455,199,2081,202,1612,212,1389,219,1200,229,1065,242,1023,249,1002,257,985,275,973,296,958,345,953,393,955,431,949,431,948,392,952,344,968,294,981,272,999,252,1021,244,1064,236,1200,224,1389,214,1611,206,2081,197,2455,193"/>
|
|
<area shape="rect" href="resizable__split_8cpp.html" title=" " alt="" coords="1053,431,1204,471"/>
|
|
<area shape="poly" title=" " alt="" coords="2455,198,2084,200,1620,209,1400,216,1215,227,1082,240,1042,248,1022,257,1010,277,1008,299,1014,323,1028,347,1066,393,1106,428,1102,432,1062,397,1023,350,1010,325,1003,300,1005,275,1019,253,1040,243,1081,235,1214,221,1400,211,1620,203,2084,195,2455,193"/>
|
|
<area shape="rect" href="slider_8cpp.html" title=" " alt="" coords="2101,431,2252,471"/>
|
|
<area shape="poly" title=" " alt="" coords="2456,204,2394,211,2335,222,2286,237,2268,246,2256,256,2247,272,2247,284,2256,293,2273,301,2325,310,2389,316,2453,322,2506,331,2524,340,2535,351,2536,366,2525,384,2505,400,2476,410,2401,422,2323,427,2264,433,2253,436,2252,430,2263,428,2323,422,2401,417,2474,405,2502,395,2521,381,2531,365,2530,353,2521,344,2504,337,2453,327,2388,321,2324,316,2271,306,2253,298,2242,286,2241,271,2252,253,2265,242,2284,232,2333,217,2393,206,2455,199"/>
|
|
<area shape="rect" href="component__base_8hpp.html" title=" " alt="" coords="1033,255,1211,295"/>
|
|
<area shape="poly" title=" " alt="" coords="2455,201,1942,218,1613,235,1281,257,1212,264,1211,259,1280,252,1613,229,1941,213,2455,195"/>
|
|
<area shape="rect" href="component__options_8hpp.html" title=" " alt="" coords="1831,255,2013,295"/>
|
|
<area shape="poly" title=" " alt="" coords="2456,210,2257,230,2033,257,2014,260,2013,255,2032,252,2256,225,2456,204"/>
|
|
<area shape="rect" href="component__options_8cpp.html" title=" " alt="" coords="2286,343,2467,383"/>
|
|
<area shape="poly" title=" " alt="" coords="2456,204,2226,224,2133,239,2102,247,2085,257,2079,266,2077,274,2085,293,2107,301,2156,313,2286,341,2285,346,2155,318,2105,306,2081,297,2072,275,2074,264,2082,253,2100,242,2132,233,2226,218,2455,199"/>
|
|
<area shape="rect" href="dom_2deprecated_8hpp.html" title=" " alt="" coords="2342,262,2582,287"/>
|
|
<area shape="poly" title=" " alt="" coords="2549,216,2475,264,2472,260,2546,211"/>
|
|
<area shape="rect" href="table_8hpp.html" title=" " alt="" coords="2606,262,2806,287"/>
|
|
<area shape="poly" title=" " alt="" coords="2614,212,2689,260,2686,264,2611,216"/>
|
|
<area shape="rect" href="automerge_8cpp.html" title=" " alt="" coords="3437,350,3647,375"/>
|
|
<area shape="poly" title=" " alt="" coords="2456,210,2394,222,2344,239,2329,250,2320,262,2321,276,2331,292,2466,304,2777,322,3437,354,3437,359,2777,327,2466,309,2329,297,2316,278,2315,261,2325,246,2342,234,2393,216,2455,204"/>
|
|
<area shape="rect" href="blink_8cpp.html" title=" " alt="" coords="3671,350,3842,375"/>
|
|
<area shape="poly" title=" " alt="" coords="2711,196,3228,215,3473,231,3561,241,3614,252,3630,261,3641,270,3665,293,3742,348,3738,352,3662,297,3638,274,3627,265,3612,257,3560,246,3473,236,3227,220,2711,201"/>
|
|
<area shape="rect" href="bold_8cpp.html" title=" " alt="" coords="3867,350,4033,375"/>
|
|
<area shape="poly" title=" " alt="" coords="2711,192,3008,194,3370,202,3543,209,3693,220,3808,234,3849,242,3875,252,3902,273,3923,300,3948,348,3943,351,3919,303,3898,277,3873,257,3847,248,3807,239,3693,225,3542,214,3369,207,3007,199,2711,198"/>
|
|
<area shape="rect" href="border_8cpp.html" title=" " alt="" coords="4761,262,4939,287"/>
|
|
<area shape="poly" title=" " alt="" coords="2711,194,3142,198,3730,209,4318,226,4562,238,4748,252,4797,259,4796,265,4747,257,4562,243,4317,231,3730,214,3142,204,2711,199"/>
|
|
<area shape="rect" href="canvas_8cpp.html" title=" " alt="" coords="4963,262,5147,287"/>
|
|
<area shape="poly" title=" " alt="" coords="2711,193,3179,197,3826,207,4476,224,4746,237,4952,252,5001,259,5001,265,4951,257,4746,242,4475,230,3826,212,3179,203,2711,199"/>
|
|
<area shape="rect" href="clear__under_8cpp.html" title=" " alt="" coords="4057,343,4200,383"/>
|
|
<area shape="poly" title=" " alt="" coords="2712,192,3104,194,3600,202,3836,209,4035,220,4178,234,4222,242,4245,253,4254,266,4254,279,4249,293,4239,305,4209,327,4175,345,4173,340,4206,322,4235,301,4244,290,4249,279,4249,268,4242,257,4221,247,4178,239,4035,225,3836,214,3600,207,3104,199,2712,198"/>
|
|
<area shape="rect" href="dom_2color_8cpp.html" title=" " alt="" coords="4224,350,4393,375"/>
|
|
<area shape="poly" title=" " alt="" coords="2711,193,3107,197,3609,207,3848,214,4051,224,4198,237,4244,244,4269,252,4289,274,4301,301,4311,349,4306,350,4296,303,4285,277,4266,257,4243,249,4198,242,4051,230,3848,220,3609,212,3107,203,2711,199"/>
|
|
<area shape="rect" href="composite__decorator_8cpp.html" title=" " alt="" coords="2830,255,3009,295"/>
|
|
<area shape="poly" title=" " alt="" coords="2646,207,2839,252,2838,257,2645,212"/>
|
|
<area shape="rect" href="dbox_8cpp.html" title=" " alt="" coords="3033,262,3203,287"/>
|
|
<area shape="poly" title=" " alt="" coords="2692,206,3021,252,3062,259,3061,265,3020,257,2691,211"/>
|
|
<area shape="rect" href="dim_8cpp.html" title=" " alt="" coords="4418,350,4581,375"/>
|
|
<area shape="poly" title=" " alt="" coords="2711,194,3095,199,3588,209,4041,226,4204,238,4301,252,4357,272,4409,299,4485,348,4482,352,4407,303,4355,277,4300,257,4204,243,4040,231,3588,214,3095,204,2711,199"/>
|
|
<area shape="rect" href="flex_8cpp.html" title=" " alt="" coords="3227,262,3390,287"/>
|
|
<area shape="poly" title=" " alt="" coords="2711,201,2946,220,3216,252,3257,259,3256,265,3215,257,2946,226,2711,206"/>
|
|
<area shape="rect" href="flexbox_8cpp.html" title=" " alt="" coords="3414,262,3601,287"/>
|
|
<area shape="poly" title=" " alt="" coords="2712,198,3026,216,3214,232,3402,252,3450,259,3449,265,3402,257,3214,237,3026,222,2711,203"/>
|
|
<area shape="rect" href="focus_8cpp.html" title=" " alt="" coords="2942,350,3115,375"/>
|
|
<area shape="poly" title=" " alt="" coords="2456,203,2377,213,2311,230,2289,242,2276,256,2275,272,2288,293,2313,301,2371,310,2551,328,2942,354,2942,359,2550,333,2370,316,2312,306,2284,297,2270,274,2271,254,2285,238,2309,225,2376,207,2455,198"/>
|
|
<area shape="rect" href="frame_8cpp.html" title=" " alt="" coords="5172,262,5349,287"/>
|
|
<area shape="poly" title=" " alt="" coords="2711,193,3216,196,3923,204,4637,222,4934,235,5160,252,5208,259,5207,265,5159,257,4934,241,4636,227,3923,210,3216,201,2711,198"/>
|
|
<area shape="rect" href="gauge_8cpp.html" title=" " alt="" coords="5374,262,5553,287"/>
|
|
<area shape="poly" title=" " alt="" coords="2711,193,3251,195,4017,203,4792,220,5116,234,5361,252,5410,259,5409,265,5360,257,5116,240,4792,226,4017,208,3251,200,2711,198"/>
|
|
<area shape="rect" href="graph_8cpp.html" title=" " alt="" coords="4561,262,4736,287"/>
|
|
<area shape="poly" title=" " alt="" coords="2711,194,3634,211,4158,228,4376,239,4542,252,4593,259,4592,265,4542,257,4376,245,4158,234,3634,217,2711,199"/>
|
|
<area shape="rect" href="gridbox_8cpp.html" title=" " alt="" coords="3675,262,3862,287"/>
|
|
<area shape="poly" title=" " alt="" coords="2711,195,3132,211,3394,228,3657,252,3708,259,3707,265,3656,257,3394,233,3132,217,2711,201"/>
|
|
<area shape="rect" href="hbox_8cpp.html" title=" " alt="" coords="419,262,590,287"/>
|
|
<area shape="poly" title=" " alt="" coords="2455,199,1525,216,996,233,776,244,609,257,560,265,559,259,608,252,776,239,996,228,1525,211,2455,194"/>
|
|
<area shape="rect" href="inverted_8cpp.html" title=" " alt="" coords="4605,350,4797,375"/>
|
|
<area shape="poly" title=" " alt="" coords="2712,194,3109,200,3622,211,4094,228,4265,239,4367,252,4393,261,4412,271,4455,292,4558,324,4650,347,4648,353,4557,329,4453,297,4409,275,4391,265,4365,257,4265,244,4094,233,3622,216,3109,205,2712,199"/>
|
|
<area shape="rect" href="linear__gradient_8cpp.html" title=" " alt="" coords="4821,343,4969,383"/>
|
|
<area shape="poly" title=" " alt="" coords="2711,193,3121,198,3655,207,4146,225,4324,237,4429,252,4452,261,4468,272,4484,282,4506,292,4589,314,4655,323,4723,328,4809,340,4822,342,4821,348,4808,345,4722,333,4655,328,4588,319,4504,297,4481,287,4465,276,4450,266,4428,257,4323,242,4146,230,3654,213,3121,203,2711,199"/>
|
|
<area shape="rect" href="node__decorator_8hpp.html" title=" " alt="" coords="4089,255,4232,295"/>
|
|
<area shape="poly" title=" " alt="" coords="2711,196,3258,214,3612,230,3969,252,4089,263,4089,268,3968,257,3611,236,3258,220,2711,201"/>
|
|
<area shape="poly" title=" " alt="" coords="2711,194,3879,209,4711,226,5565,252,5831,266,5830,271,5565,257,4711,231,3879,214,2711,199"/>
|
|
<area shape="poly" title=" " alt="" coords="1364,368,1615,390,1765,407,1914,428,1927,430,1926,435,1914,433,1764,413,1614,396,1363,374"/>
|
|
<area shape="poly" title=" " alt="" coords="1360,383,1577,430,1576,435,1359,388"/>
|
|
<area shape="poly" title=" " alt="" coords="1364,363,1536,369,1760,380,2011,399,2264,428,2276,430,2275,435,2263,433,2011,405,1760,386,1536,374,1364,369"/>
|
|
<area shape="poly" title=" " alt="" coords="1158,368,972,372,725,383,448,403,168,433,157,435,156,430,167,428,447,397,725,378,972,367,1158,362"/>
|
|
<area shape="poly" title=" " alt="" coords="1158,369,796,388,570,406,342,433,331,435,330,430,342,428,569,401,796,382,1157,364"/>
|
|
<area shape="poly" title=" " alt="" coords="1364,374,1540,397,1740,428,1752,430,1751,436,1739,433,1539,402,1363,379"/>
|
|
<area shape="poly" title=" " alt="" coords="1158,372,868,393,693,410,517,433,506,435,505,430,516,428,692,405,868,387,1157,367"/>
|
|
<area shape="poly" title=" " alt="" coords="1364,362,1563,366,1830,376,2133,396,2287,410,2438,428,2451,430,2450,435,2438,433,2287,415,2132,401,1830,381,1563,371,1364,367"/>
|
|
<area shape="poly" title=" " alt="" coords="1158,376,943,398,692,433,681,435,680,430,691,428,942,393,1157,370"/>
|
|
<area shape="poly" title=" " alt="" coords="1279,394,1296,429,1292,432,1274,396"/>
|
|
<area shape="poly" title=" " alt="" coords="1158,383,866,433,855,435,854,430,866,428,1157,377"/>
|
|
<area shape="poly" title=" " alt="" coords="1322,385,1431,428,1429,433,1320,390"/>
|
|
<area shape="poly" title=" " alt="" coords="1181,389,1022,433,1020,428,1180,384"/>
|
|
<area shape="poly" title=" " alt="" coords="1221,393,1159,433,1156,428,1219,388"/>
|
|
<area shape="poly" title=" " alt="" coords="1364,365,1688,385,1888,403,2089,428,2101,430,2101,435,2088,433,1888,409,1688,391,1364,371"/>
|
|
<area shape="poly" title=" " alt="" coords="1165,299,1232,340,1229,345,1162,304"/>
|
|
<area shape="poly" title=" " alt="" coords="1226,288,1371,311,1533,340,1748,386,1927,428,1926,433,1747,391,1532,345,1371,316,1225,294"/>
|
|
<area shape="poly" title=" " alt="" coords="1209,296,1363,340,1496,386,1606,428,1604,433,1494,391,1361,345,1208,301"/>
|
|
<area shape="poly" title=" " alt="" coords="1225,282,1474,305,1770,340,2018,380,2264,428,2277,431,2275,436,2263,433,2017,385,1770,345,1473,310,1225,287"/>
|
|
<area shape="poly" title=" " alt="" coords="1019,284,773,305,628,322,482,345,388,365,294,389,141,433,139,428,293,384,387,360,482,340,627,317,773,300,1019,279"/>
|
|
<area shape="poly" title=" " alt="" coords="1019,290,847,312,652,345,468,390,316,433,315,428,466,385,651,340,846,307,1018,284"/>
|
|
<area shape="poly" title=" " alt="" coords="1225,293,1439,340,1616,386,1764,428,1763,433,1615,391,1437,345,1224,299"/>
|
|
<area shape="poly" title=" " alt="" coords="1020,298,800,345,631,391,491,433,489,428,630,386,799,340,1019,293"/>
|
|
<area shape="poly" title=" " alt="" coords="1226,279,1534,302,1723,319,1913,340,2177,379,2439,428,2451,430,2450,436,2437,433,2176,384,1912,345,1723,324,1534,307,1225,285"/>
|
|
<area shape="poly" title=" " alt="" coords="1051,301,916,345,659,433,658,428,914,340,1049,296"/>
|
|
<area shape="poly" title=" " alt="" coords="1113,308,1107,346,1110,364,1117,381,1134,395,1160,407,1228,429,1227,434,1158,412,1131,399,1113,384,1105,366,1102,346,1107,308"/>
|
|
<area shape="poly" title=" " alt="" coords="1074,303,818,433,815,428,1071,299"/>
|
|
<area shape="poly" title=" " alt="" coords="1127,308,1138,346,1148,365,1161,381,1189,401,1215,414,1240,420,1266,422,1322,421,1354,423,1390,428,1403,431,1402,436,1390,433,1354,428,1322,426,1266,427,1239,425,1213,419,1186,406,1158,385,1143,368,1133,348,1122,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1095,307,1057,345,974,432,970,428,1053,341,1091,303"/>
|
|
<area shape="poly" title=" " alt="" coords="1091,307,1077,324,1067,344,1063,363,1067,382,1083,407,1104,428,1101,432,1079,411,1062,384,1057,363,1062,342,1073,321,1087,303"/>
|
|
<area shape="poly" title=" " alt="" coords="1226,285,1419,308,1642,340,1866,381,2089,428,2102,431,2101,436,2088,433,1865,386,1642,345,1419,313,1225,290"/>
|
|
<area shape="poly" title=" " alt="" coords="1019,284,703,306,508,323,313,345,294,348,294,343,312,340,508,318,703,300,1019,279"/>
|
|
<area shape="poly" title=" " alt="" coords="1817,292,1351,352,1350,347,1817,287"/>
|
|
<area shape="poly" title=" " alt="" coords="1939,306,1996,429,1991,432,1934,308"/>
|
|
<area shape="poly" title=" " alt="" coords="1883,304,1683,433,1681,428,1880,300"/>
|
|
<area shape="poly" title=" " alt="" coords="1995,297,2116,340,2224,386,2314,428,2311,433,2222,391,2114,345,1993,302"/>
|
|
<area shape="poly" title=" " alt="" coords="1907,308,1840,432,1835,429,1903,306"/>
|
|
<area shape="poly" title=" " alt="" coords="2028,287,2122,307,2171,322,2218,340,2235,350,2247,360,2259,371,2275,380,2351,405,2451,430,2450,435,2350,410,2273,385,2256,375,2244,364,2232,355,2216,345,2169,327,2120,313,2026,292"/>
|
|
<area shape="poly" title=" " alt="" coords="1830,301,1656,345,1363,433,1361,428,1655,340,1829,295"/>
|
|
<area shape="poly" title=" " alt="" coords="1862,302,1527,433,1525,428,1861,297"/>
|
|
<area shape="poly" title=" " alt="" coords="1962,300,2150,428,2147,433,1959,305"/>
|
|
<area shape="poly" title=" " alt="" coords="2027,293,2286,342,2285,347,2026,298"/>
|
|
<area shape="poly" title=" " alt="" coords="2497,253,2571,205,2573,209,2500,257"/>
|
|
<area shape="poly" title=" " alt="" coords="4076,289,3660,345,3612,353,3611,347,3659,340,4075,284"/>
|
|
<area shape="poly" title=" " alt="" coords="4076,297,3811,353,3810,347,4075,291"/>
|
|
<area shape="poly" title=" " alt="" coords="4103,302,3979,352,3977,348,4101,297"/>
|
|
<area shape="poly" title=" " alt="" coords="4151,308,4138,343,4133,342,4146,307"/>
|
|
<area shape="poly" title=" " alt="" coords="4206,299,4290,348,4288,352,4204,304"/>
|
|
<area shape="poly" title=" " alt="" coords="4246,295,4455,347,4453,352,4245,300"/>
|
|
<area shape="poly" title=" " alt="" coords="4076,285,3116,357,3115,352,4075,280"/>
|
|
<area shape="poly" title=" " alt="" coords="4246,286,4593,340,4637,347,4636,353,4592,345,4245,291"/>
|
|
<area shape="poly" title=" " alt="" coords="4246,279,4499,301,4654,318,4809,340,4822,342,4821,347,4808,345,4653,324,4498,306,4246,284"/>
|
|
<area shape="poly" title=" " alt="" coords="5248,120,2697,192,2697,187,5248,115"/>
|
|
<area shape="poly" title=" " alt="" coords="5248,118,4246,133,2657,162,1849,182,1143,204,623,230,458,243,371,257,329,275,290,298,230,344,226,340,287,294,327,270,369,252,457,238,622,224,1143,199,1849,176,2656,157,4246,127,5248,113"/>
|
|
<area shape="poly" title=" " alt="" coords="5249,119,5007,127,4690,140,4378,159,4250,170,4152,184,4031,208,3980,226,3919,257,3907,267,3898,277,3889,287,3875,297,3836,309,3767,323,3609,353,3608,347,3766,318,3835,304,3873,292,3886,283,3894,273,3903,263,3917,252,3978,221,4029,202,4151,179,4249,165,4378,153,4690,134,5006,121,5248,114"/>
|
|
<area shape="poly" title=" " alt="" coords="5249,120,4743,142,4465,161,4350,172,4262,184,4193,199,4140,214,4020,257,3786,352,3784,347,4018,252,4138,209,4192,193,4262,179,4349,167,4464,155,4743,137,5248,115"/>
|
|
<area shape="poly" title=" " alt="" coords="5249,120,4990,133,4649,159,4475,177,4314,199,4178,226,4123,241,4078,257,4053,273,4021,299,3964,352,3960,348,4017,295,4050,269,4075,252,4121,236,4177,220,4314,194,4474,171,4648,153,4990,128,5248,115"/>
|
|
<area shape="poly" title=" " alt="" coords="5267,140,4886,264,4884,259,5266,135"/>
|
|
<area shape="poly" title=" " alt="" coords="5293,142,5077,264,5074,260,5290,138"/>
|
|
<area shape="poly" title=" " alt="" coords="5409,135,5479,165,5514,182,5544,202,5567,224,5581,247,5582,272,5566,297,5542,307,5495,315,5342,326,5133,334,4896,338,4447,341,4212,345,4201,347,4200,342,4211,340,4447,336,4896,333,5133,328,5342,321,5494,309,5541,301,5563,293,5577,270,5576,249,5563,227,5541,207,5511,187,5477,169,5407,140"/>
|
|
<area shape="poly" title=" " alt="" coords="5425,122,5535,143,5581,159,5599,169,5611,180,5629,210,5636,239,5630,268,5610,297,5589,306,5547,313,5411,324,5225,332,5015,337,4615,341,4406,345,4361,353,4360,347,4406,340,4615,336,5015,331,5225,326,5410,319,5546,308,5588,301,5607,293,5625,266,5631,239,5624,212,5607,183,5596,173,5579,164,5534,148,5424,127"/>
|
|
<area shape="poly" title=" " alt="" coords="5425,118,5494,126,5564,138,5623,155,5646,167,5661,180,5680,209,5687,239,5681,268,5661,297,5642,305,5604,311,5484,322,5133,335,4778,341,4593,345,4549,353,4549,347,4592,340,4778,336,5133,329,5483,317,5604,306,5640,300,5658,293,5676,266,5682,239,5675,211,5657,183,5643,171,5621,160,5562,143,5493,131,5424,123"/>
|
|
<area shape="poly" title=" " alt="" coords="5324,147,5269,263,5264,261,5319,144"/>
|
|
<area shape="poly" title=" " alt="" coords="5362,142,5456,260,5452,263,5358,146"/>
|
|
<area shape="poly" title=" " alt="" coords="5249,138,4699,265,4697,259,5248,132"/>
|
|
<area shape="poly" title=" " alt="" coords="5425,115,5507,121,5592,133,5665,152,5693,164,5712,180,5731,209,5738,239,5732,268,5712,297,5691,310,5656,320,5554,334,5421,342,5271,344,4982,343,4809,345,4759,353,4758,347,4808,340,4982,338,5271,339,5421,336,5554,329,5655,315,5689,305,5708,293,5727,266,5732,239,5726,211,5708,183,5690,169,5663,157,5591,138,5506,127,5425,120"/>
|
|
<area shape="poly" title=" " alt="" coords="5425,113,5519,118,5619,129,5707,148,5740,162,5763,180,5782,209,5788,238,5782,268,5763,297,5746,307,5720,317,5643,332,5540,343,5420,352,5170,361,4970,364,4970,359,5170,356,5420,346,5539,338,5642,327,5719,311,5744,302,5759,293,5777,266,5783,239,5777,211,5759,183,5737,167,5705,153,5618,134,5518,123,5425,118"/>
|
|
<area shape="poly" title=" " alt="" coords="5426,118,5638,140,5740,157,5781,167,5812,179,5842,197,5868,219,5904,260,5900,264,5864,223,5839,201,5810,184,5780,173,5739,162,5637,145,5425,123"/>
|
|
<area shape="poly" title=" " alt="" coords="5425,123,5885,179,5884,184,5425,128"/>
|
|
</map>
|
|
</div>
|
|
</div>
|
|
<p><a href="terminal_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:structftxui_1_1Dimensions" id="r_structftxui_1_1Dimensions"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#structftxui_1_1Dimensions">Dimensions</a></td></tr>
|
|
<tr class="separator:structftxui_1_1Dimensions"><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>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui_1_1Terminal.html">ftxui::Terminal</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="enum-members" name="enum-members"></a>
|
|
Enumerations</h2></td></tr>
|
|
<tr class="memitem:ab87bacfdad76e61b9412d7124be44c1c" id="r_ab87bacfdad76e61b9412d7124be44c1c"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui_1_1Terminal.html#ab87bacfdad76e61b9412d7124be44c1c">Color</a> { <a class="el" href="namespaceftxui_1_1Terminal.html#ab87bacfdad76e61b9412d7124be44c1caf8fee1420fe204b3dafbacf27a545c41">Palette1</a>
|
|
, <a class="el" href="namespaceftxui_1_1Terminal.html#ab87bacfdad76e61b9412d7124be44c1cae5a76102d821ec8233fee04273c60349">Palette16</a>
|
|
, <a class="el" href="namespaceftxui_1_1Terminal.html#ab87bacfdad76e61b9412d7124be44c1ca7b88ab2a5c8fe8866c96ea4acb623876">Palette256</a>
|
|
, <a class="el" href="namespaceftxui_1_1Terminal.html#ab87bacfdad76e61b9412d7124be44c1ca7afd9568e82d523c91b2bfe0cc47be29">TrueColor</a>
|
|
}</td></tr>
|
|
<tr class="separator:ab87bacfdad76e61b9412d7124be44c1c"><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:ad890c37601448c82ed0d5051c29e2f0c" id="r_ad890c37601448c82ed0d5051c29e2f0c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceftxui.html#structftxui_1_1Dimensions">Dimensions</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui_1_1Terminal.html#ad890c37601448c82ed0d5051c29e2f0c">Size</a> ()</td></tr>
|
|
<tr class="separator:ad890c37601448c82ed0d5051c29e2f0c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a765662bcabb59dc93884674ee2fcc9fc" id="r_a765662bcabb59dc93884674ee2fcc9fc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui_1_1Terminal.html#a765662bcabb59dc93884674ee2fcc9fc">SetFallbackSize</a> (const <a class="el" href="namespaceftxui.html#structftxui_1_1Dimensions">Dimensions</a> &fallbackSize)</td></tr>
|
|
<tr class="memdesc:a765662bcabb59dc93884674ee2fcc9fc"><td class="mdescLeft"> </td><td class="mdescRight">Override terminal size in case auto-detection fails. <br /></td></tr>
|
|
<tr class="separator:a765662bcabb59dc93884674ee2fcc9fc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae6e034f37aa66cfe4458a8cb6e8fc526" id="r_ae6e034f37aa66cfe4458a8cb6e8fc526"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceftxui_1_1Terminal.html#ab87bacfdad76e61b9412d7124be44c1c">Color</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui_1_1Terminal.html#ae6e034f37aa66cfe4458a8cb6e8fc526">ColorSupport</a> ()</td></tr>
|
|
<tr class="separator:ae6e034f37aa66cfe4458a8cb6e8fc526"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a65945a706131f407a47a1b9960dc1a4a" id="r_a65945a706131f407a47a1b9960dc1a4a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui_1_1Terminal.html#a65945a706131f407a47a1b9960dc1a4a">SetColorSupport</a> (<a class="el" href="namespaceftxui_1_1Terminal.html#ab87bacfdad76e61b9412d7124be44c1c">Color</a> <a class="el" href="namespaceftxui.html#af61b489da39ca5e24b68e6e1a2b09c0d">color</a>)</td></tr>
|
|
<tr class="separator:a65945a706131f407a47a1b9960dc1a4a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<hr/><h2 class="groupheader">Data Structure Documentation</h2>
|
|
<a name="structftxui_1_1Dimensions" id="structftxui_1_1Dimensions"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#structftxui_1_1Dimensions">◆ </a></span>ftxui::Dimensions</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">struct ftxui::Dimensions</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": "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": "../v0.10/index.html"};
|
|
const currentVersion = "v4.1.1";
|
|
|
|
// 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>
|