mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-12-16 01:48:56 +08:00
415 lines
36 KiB
HTML
415 lines
36 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/deprecated.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">2.0.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('screen_2deprecated_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="#namespaces">Namespaces</a> |
|
||
|
|
<a href="#func-members">Functions</a> </div>
|
||
|
|
<div class="headertitle"><div class="title">deprecated.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="screen_2deprecated_8hpp__dep__incl.png" border="0" usemap="#ainclude_2ftxui_2screen_2deprecated_8hppdep" alt=""/></div>
|
||
|
|
<map name="ainclude_2ftxui_2screen_2deprecated_8hppdep" id="ainclude_2ftxui_2screen_2deprecated_8hppdep">
|
||
|
|
<area shape="rect" title=" " alt="" coords="5394,5,5543,45"/>
|
||
|
|
<area shape="rect" href="string_8hpp.html" title=" " alt="" coords="5338,93,5487,133"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="5451,58,5427,95,5423,92,5447,56"/>
|
||
|
|
<area shape="rect" href="string_8cpp.html" title=" " alt="" coords="5683,189,5873,214"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="5516,50,5759,186,5756,191,5513,55"/>
|
||
|
|
<area shape="rect" href="ref_8hpp.html" title=" " alt="" coords="1008,181,1135,221"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="5325,119,1135,201,1135,196,5324,114"/>
|
||
|
|
<area shape="rect" href="input_8cpp.html" title=" " alt="" coords="1816,607,1967,647"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="5502,121,5534,129,5566,141,5596,157,5623,180,5640,203,5648,226,5649,281,5649,451,5651,457,5657,462,5685,469,5773,474,5875,471,5955,468,5881,482,5257,561,5038,577,4667,590,3661,610,2631,622,1967,628,1967,622,2631,617,3661,604,4667,585,5038,571,5256,556,5880,476,5949,469,5875,476,5773,479,5684,474,5655,466,5647,460,5643,453,5643,281,5642,227,5635,206,5619,183,5593,162,5564,146,5532,134,5500,126"/>
|
||
|
|
<area shape="rect" href="text_8cpp.html" title=" " alt="" coords="3751,438,3915,463"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="5345,140,5216,184,5055,245,4930,297,4804,343,4728,365,4637,385,4531,404,4440,414,4359,417,4283,418,4127,417,4035,422,3928,433,3885,441,3884,435,3927,428,4035,417,4127,412,4283,412,4359,412,4439,408,4530,399,4636,380,4727,359,4803,338,4929,292,5053,240,5214,179,5343,135"/>
|
||
|
|
<area shape="rect" href="canvas_8cpp.html" title=" " alt="" coords="5374,350,5558,375"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="5325,133,5281,147,5244,166,5231,178,5224,190,5223,204,5228,220,5246,245,5268,268,5319,304,5374,330,5422,347,5420,353,5372,335,5317,309,5264,272,5242,249,5224,223,5217,205,5219,189,5227,174,5241,162,5279,142,5323,128"/>
|
||
|
|
<area shape="rect" href="event_8cpp.html" title=" " alt="" coords="5239,181,5389,221"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="5382,144,5338,183,5334,179,5379,140"/>
|
||
|
|
<area shape="rect" href="screen_8cpp.html" title=" " alt="" coords="5414,189,5609,214"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="5447,141,5499,186,5496,190,5443,145"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="5501,133,5730,186,5728,191,5500,138"/>
|
||
|
|
<area shape="rect" href="component_8hpp.html" title=" " alt="" coords="1297,431,1475,471"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1088,233,1133,307,1164,346,1201,381,1249,409,1301,428,1299,433,1247,414,1198,385,1160,350,1128,310,1084,236"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1148,200,1839,203,2951,213,4120,233,4613,248,4983,267,5137,266,5341,265,5438,272,5520,288,5552,300,5577,316,5592,337,5598,361,5598,452,5594,506,5580,548,5559,579,5531,601,5496,614,5456,621,5410,621,5361,617,5252,599,5133,578,5011,562,4950,559,4890,561,4611,579,4241,593,3359,613,2512,624,1967,628,1967,622,2512,618,3359,608,4240,588,4611,573,4890,556,4950,554,5011,557,5134,572,5252,594,5361,611,5411,616,5455,615,5495,609,5528,596,5555,575,5576,545,5588,505,5593,452,5593,362,5588,339,5573,320,5549,305,5518,293,5438,277,5341,270,5137,271,4983,272,4613,253,4120,238,2951,218,1839,209,1148,206"/>
|
||
|
|
<area shape="rect" href="button_8cpp.html" title=" " alt="" coords="2803,519,2953,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1148,202,3182,267,3565,269,4203,273,4537,280,4838,292,5073,312,5156,325,5211,340,5244,356,5268,374,5287,397,5303,430,5311,452,5309,462,5302,473,5272,481,5205,488,4973,501,4264,521,3486,534,2954,539,2954,534,3486,528,4264,516,4973,496,5204,483,5271,476,5299,469,5304,460,5305,452,5298,432,5282,400,5265,377,5242,361,5209,345,5155,330,5072,317,4837,298,4537,285,4203,278,3565,274,3182,272,1148,208"/>
|
||
|
|
<area shape="rect" href="checkbox_8cpp.html" title=" " alt="" coords="379,519,529,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="995,207,926,212,847,223,765,242,686,272,645,296,607,326,573,360,542,396,495,467,465,520,461,517,490,464,538,393,569,357,603,322,642,291,684,267,763,237,846,218,926,207,994,201"/>
|
||
|
|
<area shape="rect" href="collapsible_8cpp.html" title=" " alt="" coords="204,519,355,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="994,206,918,211,828,222,733,241,640,272,585,298,532,330,433,401,353,469,299,520,296,517,349,465,430,396,529,325,583,294,638,267,731,236,827,217,918,206,994,201"/>
|
||
|
|
<area shape="rect" href="dropdown_8cpp.html" title=" " alt="" coords="553,519,704,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="995,217,893,237,780,265,727,282,681,301,646,322,623,344,612,365,606,388,605,437,613,482,624,517,619,519,608,483,600,437,601,388,607,363,619,341,642,318,679,297,725,277,778,260,892,232,994,212"/>
|
||
|
|
<area shape="rect" href="menu_8cpp.html" title=" " alt="" coords="903,519,1053,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1065,236,986,519,981,518,1060,234"/>
|
||
|
|
<area shape="rect" href="radiobox_8cpp.html" title=" " alt="" coords="1528,519,1679,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1114,227,1232,298,1379,380,1435,402,1459,412,1489,429,1585,517,1581,521,1486,433,1457,417,1433,407,1377,385,1229,303,1111,231"/>
|
||
|
|
<area shape="rect" href="slider_8cpp.html" title=" " alt="" coords="728,519,879,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1050,234,820,520,816,517,1046,231"/>
|
||
|
|
<area shape="rect" href="toggle_8cpp.html" title=" " alt="" coords="29,519,180,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="994,206,834,218,733,231,624,251,511,280,398,319,290,369,239,399,190,433,167,453,147,476,118,520,113,517,143,473,164,449,187,429,236,395,287,365,396,314,509,275,623,246,732,226,834,212,994,201"/>
|
||
|
|
<area shape="rect" href="component__options_8hpp.html" title=" " alt="" coords="633,343,816,383"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="995,218,917,239,876,254,837,272,785,307,744,344,741,340,781,303,834,267,874,249,915,234,994,213"/>
|
||
|
|
<area shape="rect" href="elements_8hpp.html" title=" " alt="" coords="2943,269,3171,295"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1149,203,2942,273,2942,279,1149,208"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1148,200,1819,202,2893,210,3472,218,4022,230,4497,246,4854,267,5012,283,5168,306,5409,347,5408,353,5167,311,5012,289,4854,272,4496,251,4021,236,3472,224,2893,216,1819,207,1148,205"/>
|
||
|
|
<area shape="rect" href="component_2deprecated_8hpp.html" title=" " alt="" coords="1078,519,1257,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1318,478,1209,521,1207,516,1317,473"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1351,482,1333,500,1319,520,1314,539,1321,557,1345,569,1390,580,1524,599,1680,612,1816,619,1815,625,1680,617,1524,604,1389,586,1343,574,1317,560,1309,539,1314,518,1329,497,1347,478"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1489,449,1723,450,2046,459,2416,479,2605,495,2790,516,2803,518,2802,523,2790,521,2605,500,2415,484,2045,464,1723,455,1489,454"/>
|
||
|
|
<area shape="rect" href="catch__event_8cpp.html" title=" " alt="" coords="1703,519,1853,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1486,471,1703,518,1702,523,1485,476"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1283,458,952,478,747,496,541,521,530,523,529,518,540,516,746,491,951,472,1282,453"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1283,456,1109,462,881,473,624,492,366,521,355,523,354,518,366,516,624,487,880,468,1109,456,1283,451"/>
|
||
|
|
<area shape="rect" href="component_8cpp.html" title=" " alt="" coords="2279,519,2429,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1489,453,1835,472,2050,490,2266,516,2279,518,2278,523,2266,521,2050,495,1835,477,1489,458"/>
|
||
|
|
<area shape="rect" href="component__fuzzer_8cpp.html" title=" " alt="" coords="1332,519,1504,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1400,483,1413,518,1408,519,1395,484"/>
|
||
|
|
<area shape="rect" href="container_8cpp.html" title=" " alt="" coords="2453,519,2604,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1490,451,1669,456,1906,467,2173,486,2441,516,2453,518,2453,523,2440,521,2172,492,1906,472,1669,461,1489,456"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1283,461,1025,483,870,500,716,521,705,523,704,518,715,516,870,495,1024,478,1283,456"/>
|
||
|
|
<area shape="rect" href="maybe_8cpp.html" title=" " alt="" coords="2628,519,2779,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1489,450,1696,453,1976,463,2294,483,2457,497,2616,516,2628,518,2627,523,2615,521,2456,503,2294,488,1976,468,1696,458,1489,455"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1284,476,1067,521,1054,524,1053,519,1066,516,1283,471"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1448,473,1557,516,1555,521,1446,478"/>
|
||
|
|
<area shape="rect" href="renderer_8cpp.html" title=" " alt="" coords="1929,519,2080,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1490,464,1930,524,1929,530,1489,469"/>
|
||
|
|
<area shape="rect" href="resizable__split_8cpp.html" title=" " alt="" coords="2104,519,2255,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1489,455,1762,477,1927,494,2092,516,2104,518,2103,523,2091,521,1926,499,1762,482,1489,461"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1283,466,1100,489,890,521,879,523,878,518,890,516,1099,484,1282,461"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1283,455,1081,459,810,469,502,488,345,503,192,521,181,523,180,518,191,516,345,498,502,483,809,463,1081,453,1283,450"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1235,511,1345,468,1347,473,1237,516"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1271,555,1276,556,1575,592,1816,616,1816,621,1574,598,1275,561,1270,561"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="830,372,1038,396,1278,428,1297,431,1296,436,1278,433,1037,401,830,378"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="620,378,422,405,311,423,204,445,112,470,45,498,23,512,11,527,9,541,18,557,44,568,99,578,276,594,523,606,811,614,1399,622,1816,623,1816,628,1399,627,811,620,523,612,276,600,98,583,43,573,15,561,4,542,6,525,19,508,42,493,111,465,203,440,310,418,421,399,619,373"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="830,364,1160,377,1645,404,1922,424,2212,449,2504,479,2790,516,2803,518,2802,523,2790,521,2504,485,2212,454,1922,429,1644,409,1160,382,830,370"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="703,395,667,435,621,473,570,501,518,521,517,516,568,496,618,468,663,431,699,392"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="655,389,532,433,322,521,320,516,530,428,654,384"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="712,396,672,472,643,520,639,517,668,469,707,394"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="765,388,952,516,949,521,762,393"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="830,381,1516,516,1529,519,1528,524,1515,521,829,387"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="620,382,504,403,380,433,252,477,147,521,145,516,250,472,379,428,503,398,619,377"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2929,286,2529,287,2021,294,1779,302,1575,312,1428,327,1384,335,1363,345,1353,364,1355,386,1364,409,1375,429,1370,432,1359,411,1350,387,1348,363,1359,341,1382,330,1427,321,1574,307,1779,296,2021,289,2529,282,2929,280"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3185,282,3677,287,4331,297,4917,315,5115,326,5177,333,5211,340,5260,365,5299,396,5313,414,5319,433,5316,453,5303,473,5283,484,5250,495,5144,516,4991,534,4799,550,4323,576,3773,596,3206,610,2678,619,1967,627,1967,622,2678,614,3206,605,3773,590,4323,571,4798,544,4991,528,5143,510,5248,490,5281,480,5299,469,5311,451,5313,433,5308,416,5296,400,5257,369,5209,345,5176,338,5114,332,4917,320,4331,303,3677,292,3184,287"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3184,280,3643,281,4253,288,4553,295,4818,306,5022,320,5095,330,5143,340,5205,362,5260,392,5280,409,5291,429,5290,450,5276,473,5246,481,5179,488,4951,501,4249,521,3480,533,2954,539,2954,534,3480,528,4249,516,4951,496,5179,483,5245,476,5272,469,5285,449,5286,430,5276,413,5257,396,5202,367,5141,345,5094,335,5022,326,4817,311,4553,300,4253,293,3643,286,3184,286"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2929,286,2378,289,1632,298,1269,305,957,315,730,329,659,336,622,345,593,362,567,382,522,431,488,480,466,520,461,517,483,477,518,428,564,378,590,357,620,340,658,331,730,323,957,310,1269,300,1632,292,2378,284,2929,281"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2929,286,2730,288,2506,297,2403,304,2315,315,2250,328,2229,336,2216,344,2210,356,2208,372,2215,409,2231,445,2245,469,2275,496,2309,516,2306,521,2272,500,2241,472,2226,447,2210,411,2203,372,2205,355,2212,341,2226,331,2249,323,2314,309,2402,299,2505,291,2730,283,2929,280"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2929,286,2735,289,2518,297,2419,305,2334,315,2271,329,2251,336,2239,345,2228,359,2222,373,2222,386,2225,399,2245,425,2277,448,2317,469,2363,488,2454,516,2452,521,2361,493,2315,474,2274,452,2241,428,2221,402,2216,387,2217,372,2223,356,2235,341,2248,331,2270,323,2333,310,2418,300,2518,292,2735,283,2929,281"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2929,287,2504,294,1948,305,1433,322,1246,333,1136,345,1066,362,996,383,863,432,748,481,666,521,664,516,746,476,861,427,995,377,1065,357,1135,340,1246,328,1433,317,1947,300,2504,288,2929,282"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3059,309,3052,347,3045,366,3033,384,3007,412,2977,437,2910,476,2842,505,2780,524,2778,519,2840,500,2908,472,2974,432,3003,408,3029,381,3040,364,3047,345,3054,308"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2929,287,2546,292,2055,303,1605,320,1443,332,1347,345,1275,374,1180,423,1010,521,1008,516,1178,418,1273,369,1345,340,1442,326,1605,315,2055,297,2546,287,2929,282"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2929,286,2538,287,2044,295,1810,303,1612,313,1470,327,1427,336,1406,345,1388,368,1386,381,1396,388,1416,393,1474,403,1505,412,1533,429,1555,449,1573,473,1597,517,1593,520,1568,476,1551,453,1530,433,1503,417,1472,408,1415,398,1393,393,1381,383,1384,365,1403,341,1426,330,1469,322,1612,308,1810,297,2044,290,2538,282,2928,280"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2929,288,2652,294,2324,305,2044,322,1954,333,1926,339,1913,345,1901,365,1898,387,1904,411,1915,435,1949,481,1985,517,1981,520,1945,484,1910,438,1898,413,1893,387,1896,363,1910,341,1924,334,1953,327,2044,316,2324,300,2652,289,2929,283"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2929,288,2657,294,2336,305,2062,322,1974,333,1947,339,1934,345,1925,358,1919,371,1919,383,1922,396,1938,421,1967,444,2002,466,2042,486,2121,516,2119,521,2040,490,2000,471,1963,449,1934,424,1917,398,1913,384,1914,370,1920,355,1931,341,1945,334,1973,328,2062,317,2336,300,2657,289,2929,283"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2929,287,2528,293,2006,304,1527,321,1353,333,1251,345,1165,374,1050,423,843,521,840,516,1048,418,1163,369,1249,340,1353,327,1527,316,2006,299,2527,288,2929,282"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2929,287,2391,293,1654,304,962,321,709,333,560,345,473,360,406,375,341,397,261,433,186,477,128,521,125,516,183,473,258,428,339,392,404,370,472,354,559,340,709,327,962,316,1654,299,2391,288,2929,282"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2929,286,2577,287,2072,295,1485,313,1183,327,886,345,817,352,816,347,886,340,1182,322,1485,307,2072,289,2577,282,2929,280"/>
|
||
|
|
<area shape="rect" href="component__base_8hpp.html" title=" " alt="" coords="1417,343,1595,383"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2929,285,2684,287,2356,295,1983,313,1794,327,1608,345,1596,347,1595,342,1607,340,1793,322,1983,308,2355,289,2684,281,2929,280"/>
|
||
|
|
<area shape="rect" href="dom_2deprecated_8hpp.html" title=" " alt="" coords="4385,350,4625,375"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3185,283,3699,298,4028,315,4360,340,4421,347,4421,353,4359,345,4027,320,3698,303,3185,288"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3184,283,3436,290,3728,302,3976,318,4056,329,4081,334,4094,341,4102,351,4104,363,4095,385,4069,395,4014,410,3884,441,3883,435,4013,405,4067,390,4091,381,4099,362,4097,353,4091,345,4080,339,4055,334,3976,324,3728,307,3436,296,3184,289"/>
|
||
|
|
<area shape="rect" href="table_8hpp.html" title=" " alt="" coords="1619,350,1819,375"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2929,288,2721,293,2449,303,2145,320,1838,345,1784,353,1783,347,1838,340,2144,314,2449,297,2720,287,2929,282"/>
|
||
|
|
<area shape="rect" href="blink_8cpp.html" title=" " alt="" coords="3939,438,4110,463"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3185,281,3560,283,4030,291,4252,299,4441,309,4575,323,4617,331,4638,341,4646,351,4649,363,4646,374,4639,385,4626,393,4606,399,4548,410,4386,422,4221,428,4122,433,4080,441,4079,435,4122,428,4221,423,4386,417,4548,404,4605,394,4624,388,4635,381,4641,372,4643,363,4641,354,4635,345,4615,336,4575,328,4440,314,4252,304,4030,296,3560,288,3185,286"/>
|
||
|
|
<area shape="rect" href="bold_8cpp.html" title=" " alt="" coords="4135,438,4301,463"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3184,281,3564,283,4043,291,4269,298,4461,308,4598,322,4641,331,4662,340,4694,367,4719,380,4731,388,4718,390,4603,395,4483,408,4313,433,4274,441,4273,435,4312,428,4483,403,4602,390,4718,385,4726,387,4716,385,4691,371,4659,345,4639,336,4597,328,4461,314,4269,303,4043,296,3564,288,3184,286"/>
|
||
|
|
<area shape="rect" href="border_8cpp.html" title=" " alt="" coords="1945,350,2123,375"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2929,290,2574,308,2358,324,2142,345,2094,353,2093,347,2142,340,2358,318,2574,302,2929,285"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3184,280,3547,281,4071,288,4682,306,4997,321,5305,340,5381,347,5380,353,5305,345,4996,326,4682,312,4071,294,3547,286,3184,285"/>
|
||
|
|
<area shape="rect" href="clear__under_8cpp.html" title=" " alt="" coords="4325,431,4468,471"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3185,280,3575,282,4068,290,4302,297,4501,308,4643,322,4687,330,4709,340,4752,378,4783,396,4796,402,4764,401,4705,400,4612,409,4480,433,4469,436,4468,430,4479,428,4611,404,4705,395,4764,395,4791,401,4781,401,4749,382,4706,345,4685,336,4642,327,4500,313,4302,303,4068,295,3575,287,3185,286"/>
|
||
|
|
<area shape="rect" href="dom_2color_8cpp.html" title=" " alt="" coords="4492,438,4661,463"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3185,280,3584,282,4090,289,4331,296,4535,307,4681,321,4726,330,4749,341,4760,358,4758,375,4747,390,4729,403,4680,425,4628,441,4626,435,4678,420,4726,398,4743,386,4753,373,4755,359,4746,345,4724,335,4680,327,4534,312,4331,302,4090,294,3584,287,3185,286"/>
|
||
|
|
<area shape="rect" href="composite__decorator_8cpp.html" title=" " alt="" coords="2249,343,2427,383"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2929,295,2701,315,2440,345,2428,347,2427,342,2439,340,2700,310,2929,290"/>
|
||
|
|
<area shape="rect" href="dbox_8cpp.html" title=" " alt="" coords="2451,350,2622,375"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2953,299,2634,345,2594,353,2593,347,2634,340,2952,294"/>
|
||
|
|
<area shape="rect" href="dim_8cpp.html" title=" " alt="" coords="4686,438,4849,463"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3185,282,3657,289,4272,300,4812,317,4985,328,5036,334,5058,340,5066,351,5068,363,5058,385,4969,408,4821,441,4820,435,4968,403,5055,381,5063,362,5061,353,5055,345,5035,339,4985,333,4812,323,4272,306,3656,294,3185,287"/>
|
||
|
|
<area shape="rect" href="flex_8cpp.html" title=" " alt="" coords="2646,350,2809,375"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2996,300,2776,353,2775,347,2995,295"/>
|
||
|
|
<area shape="rect" href="flexbox_8cpp.html" title=" " alt="" coords="2833,350,3019,375"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3027,304,2947,352,2944,347,3024,300"/>
|
||
|
|
<area shape="rect" href="focus_8cpp.html" title=" " alt="" coords="4873,438,5046,463"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3185,282,3662,288,4286,300,4833,317,5008,328,5059,334,5082,341,5092,356,5091,371,5083,386,5068,399,5031,423,4992,440,4989,435,5028,418,5065,395,5078,383,5086,370,5087,357,5079,345,5058,339,5008,333,4832,323,4285,305,3662,294,3185,287"/>
|
||
|
|
<area shape="rect" href="frame_8cpp.html" title=" " alt="" coords="3095,350,3272,375"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3089,300,3166,348,3163,352,3086,304"/>
|
||
|
|
<area shape="rect" href="gauge_8cpp.html" title=" " alt="" coords="3297,350,3475,375"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3118,295,3339,347,3337,353,3117,300"/>
|
||
|
|
<area shape="rect" href="graph_8cpp.html" title=" " alt="" coords="3500,350,3675,375"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3163,294,3488,340,3529,347,3528,353,3487,345,3162,299"/>
|
||
|
|
<area shape="rect" href="gridbox_8cpp.html" title=" " alt="" coords="3699,350,3886,375"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3185,290,3419,310,3686,340,3733,347,3732,353,3686,345,3418,315,3185,295"/>
|
||
|
|
<area shape="rect" href="hbox_8cpp.html" title=" " alt="" coords="3910,350,4081,375"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3185,285,3509,303,3704,318,3898,340,3942,347,3942,353,3898,345,3703,324,3509,308,3184,290"/>
|
||
|
|
<area shape="rect" href="inverted_8cpp.html" title=" " alt="" coords="5070,438,5262,463"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3185,281,3657,284,4277,293,4576,300,4831,310,5017,323,5075,331,5106,340,5130,362,5148,388,5166,437,5161,439,5143,391,5126,365,5103,345,5074,337,5016,329,4831,316,4576,305,4277,298,3657,289,3185,286"/>
|
||
|
|
<area shape="rect" href="node__decorator_8hpp.html" title=" " alt="" coords="4903,343,5045,383"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3185,282,3555,287,4045,298,4529,315,4731,326,4884,340,4903,343,4902,348,4883,345,4730,332,4529,320,4045,303,3555,293,3185,287"/>
|
||
|
|
<area shape="rect" href="paragraph_8cpp.html" title=" " alt="" coords="4156,350,4360,375"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3185,284,3608,301,3872,317,4137,340,4192,347,4192,353,4136,345,3872,322,3608,306,3184,289"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1470,393,1414,433,1411,428,1467,389"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1566,385,1662,428,1699,449,1735,468,1773,480,1806,484,1836,493,1851,502,1867,517,1881,538,1889,562,1894,606,1889,607,1884,563,1876,541,1863,520,1848,507,1834,498,1804,490,1772,485,1733,473,1696,453,1660,433,1564,390"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1609,380,1739,392,1849,398,2038,399,2224,403,2333,411,2461,428,2561,447,2660,470,2820,516,2819,521,2658,475,2560,452,2460,433,2333,417,2224,408,2037,404,1849,403,1739,398,1609,385"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1549,388,1750,516,1747,521,1546,392"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1403,375,1180,397,1049,413,919,433,703,477,525,521,524,516,702,472,918,428,1048,408,1179,392,1403,369"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1403,370,1096,390,909,408,721,433,617,453,514,476,344,521,343,516,512,471,616,448,720,428,908,402,1096,384,1403,365"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1609,380,1861,428,2279,518,2278,524,1860,433,1608,386"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1609,380,1791,404,1969,428,2205,471,2441,516,2454,519,2453,524,2440,521,2205,476,1968,433,1790,409,1609,385"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1404,379,1246,401,1071,433,997,452,924,473,705,523,704,518,923,468,996,447,1069,428,1245,396,1403,374"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1610,380,1747,396,1854,405,1961,413,2096,428,2357,467,2616,516,2628,518,2627,524,2615,521,2356,472,2095,433,1960,418,1854,410,1746,402,1609,385"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1427,389,1286,433,1178,473,1036,521,1035,516,1176,468,1284,428,1426,384"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1548,389,1568,407,1584,429,1594,452,1601,476,1606,518,1601,519,1596,477,1589,454,1580,432,1564,411,1545,393"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1604,384,1670,403,1735,428,1768,448,1799,468,1867,495,1933,516,1931,521,1865,500,1797,473,1765,453,1733,433,1668,408,1603,389"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1608,383,1785,428,1843,448,1900,468,2104,518,2103,523,1899,473,1841,453,1784,433,1607,388"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1403,382,1291,403,1172,433,1124,453,1076,473,990,497,880,523,878,518,988,491,1075,468,1122,448,1171,428,1290,398,1402,376"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1403,368,1236,372,1019,383,777,403,533,433,366,471,174,521,173,516,365,466,532,428,776,397,1019,378,1236,367,1403,362"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="4430,351,4383,345,4038,319,3696,302,3171,287,3171,282,3696,297,4038,314,4384,340,4431,345"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="4414,380,4372,385,4149,407,4052,417,3928,433,3887,441,3886,435,3927,428,4052,411,4149,402,4371,380,4413,375"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="4890,379,4833,385,4633,400,4477,406,4321,413,4122,433,4078,441,4077,435,4122,428,4321,408,4477,401,4633,395,4832,380,4889,373"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="4890,378,4833,385,4687,399,4573,407,4459,415,4313,433,4271,441,4271,435,4312,428,4458,410,4572,401,4686,394,4832,380,4889,373"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="4889,378,4480,433,4469,435,4468,430,4479,428,4889,373"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="4890,385,4630,441,4629,435,4889,380"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="4917,390,4796,440,4794,436,4915,385"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="4971,397,4964,438,4959,437,4966,396"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="5030,386,5142,436,5139,440,5028,391"/>
|
||
|
|
</map>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<p><a href="screen_2deprecated_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="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:a1bb4947f62228380f5c415f69b34021f" id="r_a1bb4947f62228380f5c415f69b34021f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#a1bb4947f62228380f5c415f69b34021f">wchar_width</a> (wchar_t)</td></tr>
|
||
|
|
<tr class="separator:a1bb4947f62228380f5c415f69b34021f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
|
<tr class="memitem:adedb4aa528ad2aef48177dea69ca7a9d" id="r_adedb4aa528ad2aef48177dea69ca7a9d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#adedb4aa528ad2aef48177dea69ca7a9d">wstring_width</a> (const std::wstring &)</td></tr>
|
||
|
|
<tr class="separator:adedb4aa528ad2aef48177dea69ca7a9d"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
|
</table>
|
||
|
|
</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('projectname');
|
||
|
|
|
||
|
|
if (!projectNumber) {
|
||
|
|
console.warn('Doxygen element with ID "projectnumber" not found. Cannot add version switcher.');
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
|
||
|
|
const langs = ["en", "es", "fr", "ja", "zh-CH", "zh-TW"];
|
||
|
|
const lang_paths = {"en": "../../index.html", "es": "../../es/index.html", "fr": "../../fr/index.html", "ja": "../../ja/index.html", "zh-CH": "../../zh-CH/index.html", "zh-TW": "../../zh-TW/index.html"};
|
||
|
|
const lang_display = {"en": "English", "es": "Espa\u00f1ol", "fr": "Fran\u00e7ais", "ja": "\u65e5\u672c\u8a9e", "zh-CH": "\u4e2d\u6587 (\u7b80\u4f53)", "zh-TW": "\u4e2d\u6587 (\u7e41\u9ad4)"};
|
||
|
|
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": "index.html", "v0.9": "../v0.9/index.html", "v0.11": "../v0.11/index.html", "v0.10": "../v0.10/index.html"};
|
||
|
|
const currentLang = "en";
|
||
|
|
const currentVersion = "v2.0.0";
|
||
|
|
|
||
|
|
// Helper function to create a styled select element
|
||
|
|
const createSelect = (options, current, paths, label, displayMap = null) => {
|
||
|
|
const select = document.createElement('select');
|
||
|
|
select.title = label;
|
||
|
|
select.onchange = function() {
|
||
|
|
const selectedValue = this.value;
|
||
|
|
if (selectedValue in paths) {
|
||
|
|
window.location.href = paths[selectedValue];
|
||
|
|
}
|
||
|
|
};
|
||
|
|
|
||
|
|
// Sort versions: 'main' first, then others numerically descending.
|
||
|
|
options.sort((a, b) => {
|
||
|
|
if (a === 'main') return -1;
|
||
|
|
if (b === 'main') return 1;
|
||
|
|
return b.localeCompare(a, undefined, { numeric: true, sensitivity: 'base' });
|
||
|
|
});
|
||
|
|
|
||
|
|
options.forEach(v => {
|
||
|
|
const option = document.createElement('option');
|
||
|
|
option.value = v;
|
||
|
|
// Use the displayMap if provided, otherwise default to the value (v)
|
||
|
|
option.textContent = displayMap ? displayMap[v] : v;
|
||
|
|
if (v === current) {
|
||
|
|
option.selected = true;
|
||
|
|
}
|
||
|
|
select.appendChild(option);
|
||
|
|
});
|
||
|
|
|
||
|
|
// 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',
|
||
|
|
margin: '0 5px 0 0',
|
||
|
|
cursor: 'pointer'
|
||
|
|
});
|
||
|
|
return select;
|
||
|
|
};
|
||
|
|
|
||
|
|
// 1. Create Language Switcher, passing the language display names map
|
||
|
|
const langSelect = createSelect(langs, currentLang, lang_paths, 'Select Language', lang_display);
|
||
|
|
|
||
|
|
// 2. Create Version Switcher
|
||
|
|
const versionSelect = createSelect(versions, currentVersion, version_paths, 'Select Version');
|
||
|
|
|
||
|
|
// 3. Create FTXUI title.
|
||
|
|
const ftxuiTitle = document.createElement('span');
|
||
|
|
ftxuiTitle.textContent = 'FTXUI: ';
|
||
|
|
Object.assign(ftxuiTitle.style, {
|
||
|
|
color: 'white',
|
||
|
|
fontSize: '20px',
|
||
|
|
fontWeight: 'bold',
|
||
|
|
marginRight: '10px'
|
||
|
|
});
|
||
|
|
|
||
|
|
// 3. Create a container to hold both selectors
|
||
|
|
const container = document.createElement('div');
|
||
|
|
container.id = 'version-lang-switchers';
|
||
|
|
Object.assign(container.style, {
|
||
|
|
display: 'flex',
|
||
|
|
alignItems: 'center',
|
||
|
|
justifyContent: 'flex-end',
|
||
|
|
width: 'auto'
|
||
|
|
});
|
||
|
|
container.appendChild(ftxuiTitle);
|
||
|
|
container.appendChild(langSelect);
|
||
|
|
container.appendChild(versionSelect);
|
||
|
|
|
||
|
|
Object.assign(container.style, {
|
||
|
|
backgroundColor: 'rgba(0, 0, 0, 0.5)',
|
||
|
|
padding: '5px 10px',
|
||
|
|
borderRadius: '8px'
|
||
|
|
});
|
||
|
|
|
||
|
|
|
||
|
|
// Replace the Doxygen project number element with our container.
|
||
|
|
projectNumber.replaceWith(container);
|
||
|
|
|
||
|
|
// Clean up the original Doxygen project number text if it still exists nearby
|
||
|
|
const parent = container.parentElement;
|
||
|
|
if (parent) {
|
||
|
|
const textNode = Array.from(parent.childNodes).find(n => n.nodeType === 3 && n.textContent.trim() !== '');
|
||
|
|
if (textNode) {
|
||
|
|
textNode.remove();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
});
|
||
|
|
</script>
|
||
|
|
</body>
|
||
|
|
</html>
|