Files
FTXUI/en/v2.0.0/terminal_8hpp.html

448 lines
37 KiB
HTML
Raw Normal View History

<!-- 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
&#160;<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&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search',true);
$(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('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> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<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="6149,5,6299,45"/>
<area shape="rect" href="elements_8hpp.html" title=" " alt="" coords="2591,181,2819,207"/>
<area shape="poly" title=" " alt="" coords="6136,33,2820,190,2819,185,6136,28"/>
<area shape="rect" href="screen__interactive_8cpp.html" title=" " alt="" coords="25,343,199,383"/>
<area shape="poly" title=" " alt="" coords="6136,32,5282,56,4040,96,3766,98,3307,97,2725,96,2085,100,1446,113,1148,125,874,141,632,162,429,187,346,203,275,219,218,237,176,257,155,275,139,298,120,343,115,341,134,295,151,271,173,252,216,232,273,214,345,197,429,182,631,156,874,136,1148,120,1446,108,2084,94,2725,90,3307,91,3766,93,4040,91,5282,50,6135,26"/>
<area shape="rect" href="util_8cpp.html" title=" " alt="" coords="5842,262,6001,287"/>
<area shape="poly" title=" " alt="" coords="6263,52,6300,85,6333,124,6344,146,6349,167,6347,188,6335,208,6313,226,6280,240,6192,259,6092,270,6001,275,6001,270,6092,265,6191,254,6278,235,6310,221,6331,205,6342,187,6344,167,6339,147,6328,127,6296,88,6260,56"/>
<area shape="rect" href="screen_8hpp.html" title=" " alt="" coords="5363,93,5512,133"/>
<area shape="poly" title=" " alt="" coords="6136,39,5512,107,5512,101,6135,34"/>
<area shape="rect" href="screen_8cpp.html" title=" " alt="" coords="6127,181,6321,207"/>
<area shape="poly" title=" " alt="" coords="6227,59,6227,181,6221,181,6221,59"/>
<area shape="rect" href="screen_2color_8cpp.html" title=" " alt="" coords="6397,101,6579,126"/>
<area shape="poly" title=" " alt="" coords="6296,47,6454,98,6452,103,6294,52"/>
<area shape="rect" href="terminal_8cpp.html" title=" " alt="" coords="6603,101,6810,126"/>
<area shape="poly" title=" " alt="" coords="6313,40,6643,98,6642,103,6312,45"/>
<area shape="rect" href="component_8hpp.html" title=" " alt="" coords="1653,343,1832,383"/>
<area shape="poly" title=" " alt="" coords="2578,204,2356,221,2229,237,2105,257,2019,277,1934,300,1795,345,1794,340,1932,295,2017,272,2104,252,2229,231,2355,216,2577,198"/>
<area shape="rect" href="button_8cpp.html" title=" " alt="" coords="2329,431,2479,471"/>
<area shape="poly" title=" " alt="" coords="2686,218,2604,293,2498,385,2433,433,2430,428,2494,381,2601,289,2682,214"/>
<area shape="rect" href="checkbox_8cpp.html" title=" " alt="" coords="1455,431,1606,471"/>
<area shape="poly" title=" " alt="" coords="2578,199,2320,204,2014,214,1743,231,1647,243,1592,257,1572,272,1549,296,1529,322,1517,344,1513,366,1514,389,1525,430,1520,431,1509,390,1507,366,1512,342,1525,319,1545,292,1569,268,1590,252,1646,237,1743,225,2014,208,2320,198,2578,194"/>
<area shape="rect" href="component_8cpp.html" title=" " alt="" coords="1106,431,1257,471"/>
<area shape="poly" title=" " alt="" coords="2578,198,2200,200,1726,208,1501,216,1311,226,1175,240,1134,248,1114,257,1101,276,1097,298,1101,322,1109,346,1137,393,1166,429,1162,432,1132,396,1104,348,1095,323,1092,298,1096,274,1110,253,1132,243,1174,234,1310,221,1501,210,1725,203,2200,195,2578,193"/>
<area shape="rect" href="container_8cpp.html" title=" " alt="" coords="1805,431,1955,471"/>
<area shape="poly" title=" " alt="" coords="2578,202,2418,219,2331,235,2246,257,2145,297,2049,346,1967,395,1908,433,1905,428,1964,390,2046,342,2142,292,2245,252,2329,230,2417,214,2578,197"/>
<area shape="rect" href="dropdown_8cpp.html" title=" " alt="" coords="2503,431,2654,471"/>
<area shape="poly" title=" " alt="" coords="2696,220,2590,432,2586,429,2691,218"/>
<area shape="rect" href="input_8cpp.html" title=" " alt="" coords="2154,431,2305,471"/>
<area shape="poly" title=" " alt="" coords="2673,216,2596,257,2483,322,2369,385,2272,433,2269,428,2367,380,2481,317,2593,252,2670,211"/>
<area shape="rect" href="maybe_8cpp.html" title=" " alt="" coords="1281,431,1431,471"/>
<area shape="poly" title=" " alt="" coords="2577,198,2204,200,1737,209,1517,216,1330,226,1196,240,1156,248,1136,257,1127,269,1122,281,1121,294,1124,306,1139,330,1165,354,1197,376,1234,396,1306,428,1304,433,1232,401,1195,381,1161,358,1135,334,1119,308,1116,294,1117,280,1122,266,1133,253,1154,243,1196,235,1329,221,1516,211,1737,203,2204,195,2577,193"/>
<area shape="rect" href="menu_8cpp.html" title=" " alt="" coords="1979,431,2130,471"/>
<area shape="poly" title=" " alt="" coords="2578,205,2390,224,2306,238,2246,257,2216,275,2188,296,2137,345,2096,393,2069,432,2065,429,2092,390,2133,341,2184,292,2213,270,2244,252,2304,233,2389,218,2577,200"/>
<area shape="rect" href="radiobox_8cpp.html" title=" " alt="" coords="1630,431,1781,471"/>
<area shape="poly" title=" " alt="" coords="2578,200,2446,205,2288,216,2118,232,1949,257,1794,299,1643,345,1638,355,1637,365,1645,388,1662,410,1682,429,1678,432,1658,413,1640,390,1632,366,1633,353,1640,341,1793,294,1948,252,2117,227,2288,210,2446,200,2577,195"/>
<area shape="rect" href="renderer_8cpp.html" title=" " alt="" coords="582,431,733,471"/>
<area shape="poly" title=" " alt="" coords="2578,197,2032,197,1283,203,910,211,581,222,325,237,235,246,175,257,123,270,81,283,47,304,16,344,8,364,10,372,15,381,43,395,96,407,251,426,430,438,582,444,582,450,430,443,251,431,95,412,41,400,12,385,5,374,3,363,11,341,43,300,79,278,121,265,174,252,234,241,325,232,580,216,910,205,1283,198,2032,192,2578,192"/>
<area shape="rect" href="resizable__split_8cpp.html" title=" " alt="" coords="757,431,907,471"/>
<area shape="poly" title=" " alt="" coords="2578,199,1997,203,1209,213,508,230,282,243,217,250,190,257,184,265,182,274,190,293,258,313,413,351,757,430,756,435,412,356,256,318,186,297,177,274,179,263,187,252,216,244,282,237,508,225,1209,207,1997,198,2578,193"/>
<area shape="rect" href="slider_8cpp.html" title=" " alt="" coords="931,431,1082,471"/>
<area shape="poly" title=" " alt="" coords="2578,199,2197,204,1717,214,1296,231,1156,243,1113,250,1091,257,1071,274,1054,295,1031,344,1017,392,1011,431,1006,430,1012,391,1026,342,1050,292,1067,271,1088,252,1111,245,1155,238,1295,226,1717,208,2197,198,2578,194"/>
<area shape="rect" href="toggle_8cpp.html" title=" " alt="" coords="2678,431,2829,471"/>
<area shape="poly" title=" " alt="" coords="2700,220,2694,256,2695,294,2705,333,2718,370,2746,429,2741,432,2713,372,2700,334,2689,295,2688,255,2695,219"/>
<area shape="rect" href="component__base_8hpp.html" title=" " alt="" coords="1603,255,1781,295"/>
<area shape="poly" title=" " alt="" coords="2578,202,2227,220,2014,236,1800,257,1782,260,1781,254,1800,252,2013,230,2226,215,2577,197"/>
<area shape="rect" href="component__options_8hpp.html" title=" " alt="" coords="2257,255,2439,295"/>
<area shape="poly" title=" " alt="" coords="2641,212,2434,257,2433,252,2640,207"/>
<area shape="rect" href="dom_2deprecated_8hpp.html" title=" " alt="" coords="3287,262,3527,287"/>
<area shape="poly" title=" " alt="" coords="2832,205,3263,252,3318,259,3318,265,3262,257,2831,211"/>
<area shape="rect" href="table_8hpp.html" title=" " alt="" coords="3551,262,3751,287"/>
<area shape="poly" title=" " alt="" coords="2833,198,3154,217,3347,232,3539,252,3589,259,3588,265,3538,257,3346,238,3154,222,2833,203"/>
<area shape="rect" href="blink_8cpp.html" title=" " alt="" coords="3767,350,3937,375"/>
<area shape="poly" title=" " alt="" coords="2740,211,2808,253,2833,275,2844,284,2860,292,2898,304,2943,313,3050,325,3172,331,3303,333,3558,332,3667,334,3755,340,3800,347,3799,353,3754,345,3667,339,3557,337,3303,338,3172,337,3050,331,2942,318,2897,309,2858,297,2841,289,2830,279,2805,257,2737,216"/>
<area shape="rect" href="bold_8cpp.html" title=" " alt="" coords="4349,350,4515,375"/>
<area shape="poly" title=" " alt="" coords="2833,195,3550,213,3909,230,4038,240,4115,252,4138,261,4155,271,4170,282,4192,292,4290,325,4379,347,4378,353,4289,330,4190,297,4168,286,4152,275,4136,266,4114,257,4038,246,3909,235,3550,219,2833,200"/>
<area shape="rect" href="border_8cpp.html" title=" " alt="" coords="4873,262,5052,287"/>
<area shape="poly" title=" " alt="" coords="2833,194,3264,198,3849,208,4434,226,4677,238,4862,252,4910,259,4909,265,4861,257,4677,243,4433,231,3849,214,3264,204,2833,199"/>
<area shape="rect" href="canvas_8cpp.html" title=" " alt="" coords="5076,262,5260,287"/>
<area shape="poly" title=" " alt="" coords="2833,193,3300,197,3944,207,4591,224,4860,237,5064,252,5114,259,5113,265,5064,257,4860,242,4590,230,3944,212,3300,203,2833,199"/>
<area shape="rect" href="clear__under_8cpp.html" title=" " alt="" coords="4539,343,4682,383"/>
<area shape="poly" title=" " alt="" coords="2833,194,3165,200,3580,210,3956,227,4091,239,4171,252,4192,261,4205,272,4218,283,4237,292,4316,315,4380,324,4446,328,4528,340,4540,342,4539,347,4528,345,4445,334,4380,329,4315,321,4235,297,4215,287,4202,276,4189,266,4170,257,4090,244,3955,233,3580,216,3165,205,2833,199"/>
<area shape="rect" href="dom_2color_8cpp.html" title=" " alt="" coords="3573,350,3742,375"/>
<area shape="poly" title=" " alt="" coords="2727,215,2773,260,2796,280,2814,292,2883,312,2972,324,3073,330,3182,333,3395,333,3487,335,3560,340,3605,347,3604,353,3560,345,3487,340,3395,338,3182,338,3073,336,2971,329,2882,317,2812,297,2793,285,2769,264,2723,219"/>
<area shape="rect" href="composite__decorator_8cpp.html" title=" " alt="" coords="200,255,379,295"/>
<area shape="poly" title=" " alt="" coords="2578,199,2119,203,1488,212,855,230,591,242,391,257,379,259,378,253,390,252,591,237,854,224,1488,207,2119,197,2578,193"/>
<area shape="rect" href="dbox_8cpp.html" title=" " alt="" coords="403,262,573,287"/>
<area shape="poly" title=" " alt="" coords="2578,199,2154,203,1579,213,1005,231,767,243,586,257,539,265,538,259,585,252,766,237,1005,225,1579,208,2154,198,2577,194"/>
<area shape="rect" href="dim_8cpp.html" title=" " alt="" coords="3385,350,3548,375"/>
<area shape="poly" title=" " alt="" coords="2715,219,2733,258,2747,277,2764,292,2790,299,2846,307,3016,324,3385,353,3385,358,3016,329,2845,312,2789,304,2761,297,2743,281,2728,261,2710,221"/>
<area shape="rect" href="flex_8cpp.html" title=" " alt="" coords="597,262,760,287"/>
<area shape="poly" title=" " alt="" coords="2577,199,2187,204,1667,215,1150,232,935,243,772,257,728,265,727,259,772,252,935,238,1150,226,1666,209,2187,199,2577,194"/>
<area shape="rect" href="flexbox_8cpp.html" title=" " alt="" coords="784,262,971,287"/>
<area shape="poly" title=" " alt="" coords="2578,200,1770,220,1319,236,1132,246,990,257,937,265,937,259,989,252,1132,241,1319,231,1770,214,2578,195"/>
<area shape="rect" href="focus_8cpp.html" title=" " alt="" coords="2979,350,3152,375"/>
<area shape="poly" title=" " alt="" coords="2702,221,2700,258,2705,277,2714,293,2731,306,2756,317,2824,335,2903,347,2979,354,2978,359,2902,352,2823,340,2754,322,2728,311,2710,296,2700,279,2695,259,2697,220"/>
<area shape="rect" href="frame_8cpp.html" title=" " alt="" coords="5285,262,5462,287"/>
<area shape="poly" title=" " alt="" coords="2833,193,3336,196,4041,204,4751,222,5048,235,5272,252,5321,259,5320,265,5272,257,5047,241,4751,227,4041,210,3336,201,2833,198"/>
<area shape="rect" href="gauge_8cpp.html" title=" " alt="" coords="5487,262,5665,287"/>
<area shape="poly" title=" " alt="" coords="2833,193,3372,195,4135,202,4908,220,5231,234,5475,252,5524,259,5523,265,5474,257,5230,239,4908,226,4135,208,3372,200,2833,198"/>
<area shape="rect" href="graph_8cpp.html" title=" " alt="" coords="4247,262,4422,287"/>
<area shape="poly" title=" " alt="" coords="2833,192,3089,193,3436,201,3830,219,4031,234,4228,252,4278,259,4278,265,4228,257,4031,239,3829,225,3435,207,3089,199,2833,197"/>
<area shape="rect" href="gridbox_8cpp.html" title=" " alt="" coords="1147,262,1333,287"/>
<area shape="poly" title=" " alt="" coords="2578,198,2347,201,2040,209,1695,227,1518,241,1346,257,1297,265,1296,259,1345,252,1518,235,1694,222,2040,204,2347,195,2578,193"/>
<area shape="rect" href="hbox_8cpp.html" title=" " alt="" coords="1357,262,1528,287"/>
<area shape="poly" title=" " alt="" coords="2577,199,2378,204,2122,213,1835,231,1547,257,1499,265,1498,259,1546,252,1835,225,2121,208,2378,198,2577,194"/>
<area shape="rect" href="inverted_8cpp.html" title=" " alt="" coords="3961,350,4153,375"/>
<area shape="poly" title=" " alt="" coords="2833,194,3151,200,3537,211,3871,228,3981,239,4015,245,4034,253,4051,275,4059,302,4061,350,4056,350,4054,303,4046,278,4030,257,4014,250,3980,244,3871,233,3537,216,3151,205,2833,200"/>
<area shape="rect" href="node__decorator_8hpp.html" title=" " alt="" coords="3877,255,4019,295"/>
<area shape="poly" title=" " alt="" coords="2833,198,3247,218,3763,252,3877,263,3876,268,3762,257,3247,224,2833,203"/>
<area shape="rect" href="scroll__indicator_8cpp.html" title=" " alt="" coords="4177,343,4324,383"/>
<area shape="poly" title=" " alt="" coords="2834,195,3522,213,3865,230,3989,240,4062,252,4129,287,4221,340,4218,345,4127,292,4061,257,3988,246,3865,235,3522,219,2833,200"/>
<area shape="rect" href="paragraph_8cpp.html" title=" " alt="" coords="2870,262,3074,287"/>
<area shape="poly" title=" " alt="" coords="2758,208,2934,259,2932,265,2757,213"/>
<area shape="rect" href="reflect_8cpp.html" title=" " alt="" coords="4447,262,4625,287"/>
<area shape="poly" title=" " alt="" coords="2833,195,3647,213,4102,230,4291,240,4435,252,4483,259,4482,265,4434,257,4291,245,4102,235,3647,218,2833,200"/>
<area shape="rect" href="separator_8cpp.html" title=" " alt="" coords="4650,262,4849,287"/>
<area shape="poly" title=" " alt="" coords="2833,194,3743,212,4260,229,4474,240,4638,252,4691,259,4690,265,4637,257,4474,245,4259,234,3743,218,2833,200"/>
<area shape="rect" href="size_8cpp.html" title=" " alt="" coords="3098,262,3262,287"/>
<area shape="poly" title=" " alt="" coords="2799,206,3087,252,3126,259,3125,265,3086,257,2798,211"/>
<area shape="poly" title=" " alt="" coords="2833,193,3297,195,3997,203,4827,220,5256,234,5678,252,5842,263,5842,269,5677,257,5256,240,4827,226,3997,208,3297,200,2833,198"/>
<area shape="poly" title=" " alt="" coords="1846,370,2063,393,2318,428,2329,430,2328,435,2317,433,2063,398,1845,376"/>
<area shape="poly" title=" " alt="" coords="1685,390,1578,433,1576,428,1683,385"/>
<area shape="poly" title=" " alt="" coords="1640,379,1466,402,1270,433,1258,436,1257,430,1269,428,1465,397,1639,374"/>
<area shape="poly" title=" " alt="" coords="1786,388,1851,428,1849,433,1783,392"/>
<area shape="poly" title=" " alt="" coords="1846,366,2138,387,2315,405,2492,428,2504,430,2503,435,2492,433,2315,410,2137,393,1846,372"/>
<area shape="poly" title=" " alt="" coords="1846,377,2143,428,2154,430,2153,435,2142,433,1845,382"/>
<area shape="poly" title=" " alt="" coords="1645,388,1432,435,1431,430,1644,383"/>
<area shape="poly" title=" " alt="" coords="1825,384,1987,428,1986,433,1824,389"/>
<area shape="poly" title=" " alt="" coords="1731,397,1716,432,1711,429,1726,394"/>
<area shape="poly" title=" " alt="" coords="1639,369,1468,374,1245,386,996,405,744,433,733,435,732,430,744,428,995,399,1245,380,1468,369,1639,363"/>
<area shape="poly" title=" " alt="" coords="1639,371,1317,391,1119,409,920,433,908,435,907,430,920,428,1119,403,1317,385,1639,365"/>
<area shape="poly" title=" " alt="" coords="1640,374,1391,396,1243,413,1095,433,1083,435,1082,430,1094,428,1242,407,1391,391,1639,369"/>
<area shape="poly" title=" " alt="" coords="1846,367,2276,393,2502,411,2667,428,2678,430,2677,435,2666,433,2502,416,2275,399,1846,372"/>
<area shape="poly" title=" " alt="" coords="1713,305,1734,341,1729,344,1708,308"/>
<area shape="poly" title=" " alt="" coords="1796,290,1888,310,1984,340,2005,350,2019,361,2034,371,2054,380,2126,401,2184,411,2243,416,2318,428,2329,430,2328,436,2317,433,2242,422,2183,416,2125,407,2052,385,2031,375,2016,365,2002,355,1982,345,1887,315,1795,295"/>
<area shape="poly" title=" " alt="" coords="1591,301,1560,319,1536,344,1526,365,1523,388,1528,430,1523,431,1518,388,1521,363,1531,341,1557,315,1589,297"/>
<area shape="poly" title=" " alt="" coords="1600,301,1446,345,1325,391,1224,433,1222,428,1323,386,1445,340,1599,296"/>
<area shape="poly" title=" " alt="" coords="1781,298,1816,316,1846,341,1861,362,1871,386,1881,430,1876,431,1866,388,1856,365,1842,344,1813,320,1778,302"/>
<area shape="poly" title=" " alt="" coords="1795,290,1912,311,2037,340,2096,361,2155,380,2249,399,2323,407,2397,414,2492,428,2504,430,2503,435,2492,433,2397,420,2322,412,2248,404,2154,385,2094,366,2035,345,1911,317,1794,295"/>
<area shape="poly" title=" " alt="" coords="1788,296,1857,315,1928,340,1966,360,2004,380,2081,407,2154,429,2153,434,2079,412,2002,385,1963,365,1926,345,1855,320,1786,301"/>
<area shape="poly" title=" " alt="" coords="1620,302,1568,321,1516,345,1441,390,1382,433,1379,428,1438,385,1513,340,1566,316,1618,297"/>
<area shape="poly" title=" " alt="" coords="1765,297,1875,340,1959,386,2027,428,2025,433,1956,390,1872,345,1763,302"/>
<area shape="poly" title=" " alt="" coords="1600,303,1571,320,1549,344,1542,363,1549,381,1562,393,1585,406,1643,428,1641,433,1583,411,1559,398,1544,384,1537,363,1544,341,1568,316,1597,298"/>
<area shape="poly" title=" " alt="" coords="1589,292,1230,345,987,386,745,433,734,436,732,430,744,428,986,381,1229,340,1588,287"/>
<area shape="poly" title=" " alt="" coords="1590,293,1403,320,1325,334,1281,345,1266,354,1257,365,1246,375,1231,385,1186,402,1147,413,1078,421,1008,423,920,433,908,436,907,430,920,428,1008,418,1078,415,1146,407,1184,397,1228,380,1243,371,1253,361,1263,350,1279,340,1324,329,1402,315,1589,287"/>
<area shape="poly" title=" " alt="" coords="1590,293,1447,317,1383,331,1337,345,1321,354,1310,364,1298,375,1281,385,1203,407,1083,435,1082,430,1202,402,1279,380,1295,371,1306,360,1318,350,1335,340,1381,326,1446,312,1589,288"/>
<area shape="poly" title=" " alt="" coords="1796,288,2180,345,2423,385,2667,428,2678,430,2677,435,2666,433,2422,390,2179,351,1795,293"/>
<area shape="poly" title=" " alt="" coords="1589,292,1540,297,1148,325,763,344,199,362,199,357,763,339,1148,320,1540,292,1589,287"/>
<area shape="poly" title=" " alt="" coords="2243,294,1832,351,1832,346,2242,288"/>
<area shape="poly" title=" " alt="" coords="2376,304,2397,342,2407,389,2408,431,2403,431,2402,390,2392,344,2371,307"/>
<area shape="poly" title=" " alt="" coords="2243,280,2092,285,1918,296,1756,315,1691,329,1642,345,1612,363,1585,386,1546,432,1542,429,1582,383,1609,359,1640,340,1690,324,1755,310,1917,291,2092,280,2243,275"/>
<area shape="poly" title=" " alt="" coords="2386,301,2555,428,2552,433,2383,305"/>
<area shape="poly" title=" " alt="" coords="2357,308,2358,346,2354,366,2346,384,2320,413,2287,433,2284,428,2316,409,2342,381,2349,364,2353,345,2352,308"/>
<area shape="poly" title=" " alt="" coords="2342,309,2324,348,2311,368,2295,385,2272,395,2232,408,2131,434,2130,429,2231,403,2271,390,2292,380,2307,365,2320,346,2337,307"/>
<area shape="poly" title=" " alt="" coords="2266,301,1776,433,1774,428,2265,296"/>
<area shape="poly" title=" " alt="" coords="2405,298,2710,428,2708,433,2403,303"/>
<area shape="poly" title=" " alt="" coords="3327,263,3286,257,3036,229,2820,208,2820,203,3037,224,3287,252,3328,257"/>
<area shape="poly" title=" " alt="" coords="3918,306,3867,352,3864,348,3915,302"/>
<area shape="poly" title=" " alt="" coords="4033,287,4337,340,4375,347,4374,353,4336,345,4032,293"/>
<area shape="poly" title=" " alt="" coords="4033,280,4258,303,4393,320,4528,340,4540,342,4539,347,4528,345,4393,325,4257,308,4033,286"/>
<area shape="poly" title=" " alt="" coords="3872,301,3697,353,3695,347,3871,296"/>
<area shape="poly" title=" " alt="" coords="3864,293,3562,345,3524,353,3523,347,3561,340,3863,287"/>
<area shape="poly" title=" " alt="" coords="3863,287,3763,297,3153,356,3152,351,3762,292,3862,282"/>
<area shape="poly" title=" " alt="" coords="3985,301,4044,347,4041,352,3981,305"/>
<area shape="poly" title=" " alt="" coords="4029,296,4185,340,4184,345,4027,301"/>
<area shape="poly" title=" " alt="" coords="5349,120,2820,192,2819,187,5349,115"/>
<area shape="poly" title=" " alt="" coords="5514,135,5588,164,5624,182,5655,201,5680,223,5694,246,5695,271,5679,297,5649,309,5588,319,5393,332,5126,340,4824,343,4250,343,3950,345,3903,353,3902,347,3949,340,4250,338,4824,338,5126,335,5392,327,5588,313,5647,304,5676,293,5690,270,5689,248,5676,226,5652,206,5621,186,5586,169,5512,140"/>
<area shape="poly" title=" " alt="" coords="5526,112,5705,121,5805,131,5898,147,5976,170,6006,184,6028,201,6042,221,6045,244,6037,269,6015,297,5989,307,5937,316,5769,329,5540,336,5280,340,4787,342,4528,345,4483,353,4482,347,4528,340,4787,337,5280,335,5540,331,5768,323,5936,311,5987,302,6012,293,6032,266,6040,243,6037,223,6025,205,6003,189,5974,175,5897,152,5804,136,5705,126,5526,118"/>
<area shape="poly" title=" " alt="" coords="5370,140,4998,264,4996,259,5368,135"/>
<area shape="poly" title=" " alt="" coords="5395,143,5189,264,5186,260,5392,138"/>
<area shape="poly" title=" " alt="" coords="5526,115,5673,122,5840,135,5983,153,6032,165,6059,179,6079,209,6086,238,6079,268,6059,297,6038,306,5997,314,5863,328,5677,340,5459,348,5011,359,4682,363,4682,358,5011,354,5459,343,5676,334,5862,323,5996,309,6036,301,6056,293,6074,266,6080,238,6074,211,6056,183,6030,170,5982,159,5840,140,5673,128,5526,120"/>
<area shape="poly" title=" " alt="" coords="5349,119,5034,130,4602,154,4380,172,4173,195,3997,223,3925,239,3866,257,3849,266,3837,275,3808,297,3745,328,3688,352,3686,347,3742,324,3805,292,3834,271,3846,261,3864,252,3924,234,3996,218,4173,190,4380,167,4602,149,5033,125,5349,114"/>
<area shape="poly" title=" " alt="" coords="5349,119,5075,126,4707,139,4341,158,4190,170,4075,184,3936,206,3878,223,3808,257,3795,267,3787,277,3778,287,3764,297,3666,323,3525,353,3524,347,3665,318,3762,292,3774,283,3783,273,3792,263,3805,252,3876,218,3935,200,4074,179,4189,165,4341,153,4706,134,5074,121,5349,114"/>
<area shape="poly" title=" " alt="" coords="5427,147,5381,263,5376,261,5422,145"/>
<area shape="poly" title=" " alt="" coords="5465,142,5568,260,5564,263,5461,145"/>
<area shape="poly" title=" " alt="" coords="5349,127,4900,184,4667,218,4435,257,4395,265,4394,259,4434,252,4667,213,4900,179,5348,122"/>
<area shape="poly" title=" " alt="" coords="5526,121,5585,130,5643,142,5692,158,5711,168,5723,180,5742,210,5749,239,5743,268,5723,297,5696,308,5641,317,5465,330,5225,338,4953,341,4436,343,4166,345,4115,353,4114,347,4165,340,4436,338,4953,336,5225,332,5465,324,5640,312,5694,303,5720,293,5738,266,5744,239,5737,212,5719,183,5708,173,5690,163,5642,147,5584,135,5525,126"/>
<area shape="poly" title=" " alt="" coords="5526,117,5597,125,5671,137,5734,155,5758,166,5774,180,5793,209,5800,239,5794,268,5774,297,5748,307,5698,315,5536,328,5315,335,5064,339,4587,342,4338,345,4325,347,4324,342,4337,340,4587,336,5064,334,5315,330,5535,322,5697,310,5747,302,5770,293,5789,266,5794,239,5788,211,5770,183,5755,171,5732,159,5670,142,5597,130,5525,123"/>
<area shape="poly" title=" " alt="" coords="5350,132,5047,184,4639,257,4599,265,4598,259,4638,252,5046,179,5349,127"/>
<area shape="poly" title=" " alt="" coords="5350,138,4799,265,4798,259,5349,132"/>
<area shape="poly" title=" " alt="" coords="5526,113,5594,119,5670,130,5749,149,5824,179,5853,197,5878,219,5915,260,5911,263,5875,223,5850,201,5822,184,5747,154,5669,135,5593,124,5526,118"/>
<area shape="poly" title=" " alt="" coords="5526,121,6126,180,6126,186,5525,126"/>
</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 &#160;</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">&#160;</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 &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html">ftxui</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</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">&#160;</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 &#160;</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">&#160;</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>&#160;</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">&#160;</td></tr>
<tr class="memitem:a765662bcabb59dc93884674ee2fcc9fc" id="r_a765662bcabb59dc93884674ee2fcc9fc"><td class="memItemLeft" align="right" valign="top">void&#160;</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> &amp;fallbackSize)</td></tr>
<tr class="separator:a765662bcabb59dc93884674ee2fcc9fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3234ad23a91535555e90dd3681848122" id="r_a3234ad23a91535555e90dd3681848122"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceftxui_1_1Terminal.html#ab87bacfdad76e61b9412d7124be44c1c">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui_1_1Terminal.html#a3234ad23a91535555e90dd3681848122">ColorSupport</a> ()</td></tr>
<tr class="separator:a3234ad23a91535555e90dd3681848122"><td class="memSeparator" colspan="2">&#160;</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">&#9670;&#160;</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('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>