mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-11-15 11:38:56 +08:00
289 lines
21 KiB
HTML
289 lines
21 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/component/event.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">3.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('event_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> </div>
|
|
<div class="headertitle"><div class="title">event.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="event_8hpp__dep__incl.png" border="0" usemap="#ainclude_2ftxui_2component_2event_8hppdep" alt=""/></div>
|
|
<map name="ainclude_2ftxui_2component_2event_8hppdep" id="ainclude_2ftxui_2component_2event_8hppdep">
|
|
<area shape="rect" title=" " alt="" coords="1667,5,1846,45"/>
|
|
<area shape="rect" href="animation_8hpp.html" title=" " alt="" coords="519,93,698,133"/>
|
|
<area shape="poly" title=" " alt="" coords="1654,37,698,108,698,103,1653,32"/>
|
|
<area shape="rect" href="button_8cpp.html" title=" " alt="" coords="5,372,156,412"/>
|
|
<area shape="poly" title=" " alt="" coords="1653,30,1336,35,926,47,551,66,416,80,369,87,338,96,290,120,247,153,208,191,175,232,122,313,91,373,87,370,118,310,170,229,204,188,243,149,287,116,336,91,368,82,415,74,550,61,926,41,1335,30,1653,25"/>
|
|
<area shape="rect" href="catch__event_8cpp.html" title=" " alt="" coords="1403,372,1553,412"/>
|
|
<area shape="poly" title=" " alt="" coords="1755,60,1729,204,1708,277,1696,306,1683,326,1662,340,1630,354,1554,376,1553,371,1628,349,1659,336,1679,322,1691,303,1703,275,1724,202,1750,59"/>
|
|
<area shape="rect" href="checkbox_8cpp.html" title=" " alt="" coords="704,372,855,412"/>
|
|
<area shape="poly" title=" " alt="" coords="1654,29,1495,32,1311,41,1221,50,1139,61,1071,77,1021,96,977,124,937,159,901,198,869,238,820,316,790,373,786,370,815,313,865,235,897,194,933,155,974,120,1018,91,1069,71,1138,56,1220,44,1310,36,1495,26,1654,24"/>
|
|
<area shape="rect" href="component_8cpp.html" title=" " alt="" coords="2276,372,2427,412"/>
|
|
<area shape="poly" title=" " alt="" coords="1804,51,1830,69,1855,92,1880,124,1897,156,1918,215,1928,243,1942,270,1962,296,1993,322,2028,343,2061,355,2091,361,2121,363,2185,362,2223,363,2265,369,2276,372,2275,377,2264,375,2222,369,2185,367,2121,368,2090,366,2059,360,2026,348,1990,326,1959,300,1937,273,1923,245,1913,217,1893,158,1876,127,1851,95,1827,73,1801,55"/>
|
|
<area shape="rect" href="container_8cpp.html" title=" " alt="" coords="1577,372,1728,412"/>
|
|
<area shape="poly" title=" " alt="" coords="1763,59,1766,112,1763,180,1752,254,1742,291,1727,325,1707,353,1683,374,1680,370,1703,349,1722,323,1737,289,1747,253,1758,180,1760,112,1758,59"/>
|
|
<area shape="rect" href="input_8cpp.html" title=" " alt="" coords="1053,372,1204,412"/>
|
|
<area shape="poly" title=" " alt="" coords="1655,48,1546,76,1420,120,1355,150,1293,185,1234,225,1181,271,1163,295,1149,322,1134,373,1129,371,1144,321,1158,292,1177,268,1231,221,1290,180,1353,145,1418,115,1544,71,1653,42"/>
|
|
<area shape="rect" href="maybe_8cpp.html" title=" " alt="" coords="1752,372,1903,412"/>
|
|
<area shape="poly" title=" " alt="" coords="1769,58,1778,93,1809,253,1827,371,1822,372,1804,254,1773,94,1764,59"/>
|
|
<area shape="rect" href="menu_8cpp.html" title=" " alt="" coords="180,372,331,412"/>
|
|
<area shape="poly" title=" " alt="" coords="1654,31,1396,36,1065,47,742,66,609,80,508,96,407,117,364,128,326,142,292,162,263,188,238,223,217,270,211,296,217,323,227,348,242,370,237,373,223,351,211,325,206,296,211,269,233,221,259,184,289,157,323,138,362,123,406,112,507,91,608,74,742,61,1065,41,1396,30,1654,25"/>
|
|
<area shape="rect" href="radiobox_8cpp.html" title=" " alt="" coords="879,372,1029,412"/>
|
|
<area shape="poly" title=" " alt="" coords="1653,30,1548,35,1423,46,1289,65,1157,96,1055,122,1016,143,998,159,979,183,966,206,957,231,948,284,949,334,953,372,948,372,943,334,943,284,952,230,961,204,974,180,994,156,1013,138,1053,117,1156,91,1288,60,1423,41,1548,30,1653,25"/>
|
|
<area shape="rect" href="renderer_8cpp.html" title=" " alt="" coords="1927,372,2077,412"/>
|
|
<area shape="poly" title=" " alt="" coords="1778,56,1799,92,1814,127,1825,159,1837,214,1854,265,1870,293,1892,322,1923,349,1958,370,1955,374,1920,354,1888,326,1865,296,1850,268,1832,215,1819,160,1809,129,1794,95,1774,58"/>
|
|
<area shape="rect" href="resizable__split_8cpp.html" title=" " alt="" coords="2451,372,2601,412"/>
|
|
<area shape="poly" title=" " alt="" coords="1813,49,1887,91,1931,124,1965,155,2017,215,2043,243,2072,270,2108,296,2155,322,2195,338,2230,349,2293,357,2358,359,2440,369,2451,372,2450,377,2439,375,2358,365,2293,362,2229,354,2194,343,2153,326,2106,301,2069,274,2039,247,2014,218,1961,159,1927,128,1885,96,1811,54"/>
|
|
<area shape="rect" href="slider_8cpp.html" title=" " alt="" coords="2101,372,2252,412"/>
|
|
<area shape="poly" title=" " alt="" coords="1791,53,1825,92,1846,126,1860,157,1877,215,1885,243,1897,269,1915,295,1942,322,1963,331,2002,344,2101,370,2100,375,2001,349,1961,336,1939,326,1911,299,1892,272,1880,244,1871,217,1855,159,1842,128,1821,95,1787,57"/>
|
|
<area shape="rect" href="screen__interactive_8hpp.html" title=" " alt="" coords="989,181,1167,221"/>
|
|
<area shape="poly" title=" " alt="" coords="1654,29,1563,33,1457,44,1346,64,1238,96,1197,115,1160,138,1100,183,1097,179,1156,134,1195,110,1236,91,1344,59,1456,39,1563,28,1654,23"/>
|
|
<area shape="rect" href="screen__interactive_8cpp.html" title=" " alt="" coords="1495,277,1669,317"/>
|
|
<area shape="poly" title=" " alt="" coords="1726,56,1689,95,1657,144,1629,195,1592,277,1587,275,1624,193,1652,141,1685,92,1722,53"/>
|
|
<area shape="rect" href="task_8hpp.html" title=" " alt="" coords="2047,93,2226,133"/>
|
|
<area shape="poly" title=" " alt="" coords="1854,46,2054,91,2053,96,1853,51"/>
|
|
<area shape="rect" href="terminal__input__parser_8cpp.html" title=" " alt="" coords="2166,277,2361,317"/>
|
|
<area shape="poly" title=" " alt="" coords="1860,24,1965,28,2077,39,2129,47,2176,59,2213,73,2240,91,2256,112,2267,137,2277,188,2276,238,2270,277,2265,276,2271,238,2272,189,2262,138,2251,115,2236,95,2211,78,2174,64,2128,53,2076,44,1964,34,1859,29"/>
|
|
<area shape="rect" href="terminal__input__parser_8hpp.html" title=" " alt="" coords="2301,181,2497,221"/>
|
|
<area shape="poly" title=" " alt="" coords="1860,30,1971,38,2093,51,2204,68,2249,79,2283,91,2315,110,2344,134,2387,179,2383,183,2341,138,2312,114,2281,96,2248,84,2203,73,2092,56,1970,43,1859,35"/>
|
|
<area shape="rect" href="event_8cpp.html" title=" " alt="" coords="2352,93,2503,133"/>
|
|
<area shape="poly" title=" " alt="" coords="1860,33,2078,57,2333,91,2352,94,2352,99,2332,96,2077,62,1859,39"/>
|
|
<area shape="rect" href="component__options_8hpp.html" title=" " alt="" coords="595,181,777,221"/>
|
|
<area shape="poly" title=" " alt="" coords="637,142,671,179,667,183,633,145"/>
|
|
<area shape="poly" title=" " alt="" coords="506,123,454,131,398,143,342,160,289,184,256,204,225,228,170,281,126,332,96,373,91,370,121,329,166,277,222,224,253,200,286,179,340,155,396,138,453,126,505,118"/>
|
|
<area shape="poly" title=" " alt="" coords="590,147,521,234,474,283,421,326,371,354,321,374,319,370,369,349,418,322,470,279,517,230,586,143"/>
|
|
<area shape="rect" href="component__options_8cpp.html" title=" " alt="" coords="226,277,407,317"/>
|
|
<area shape="poly" title=" " alt="" coords="506,126,445,135,385,147,336,163,318,172,305,183,296,205,295,230,301,254,309,276,304,277,296,256,290,230,290,204,301,180,315,168,334,158,384,141,444,129,505,121"/>
|
|
<area shape="poly" title=" " alt="" coords="712,131,989,181,988,186,711,136"/>
|
|
<area shape="poly" title=" " alt="" coords="712,119,928,140,1055,157,1180,179,1277,201,1372,226,1527,274,1526,279,1371,231,1275,206,1179,184,1054,162,928,146,712,124"/>
|
|
<area shape="rect" href="animation_8cpp.html" title=" " alt="" coords="316,181,467,221"/>
|
|
<area shape="poly" title=" " alt="" coords="549,141,440,184,438,179,547,136"/>
|
|
<area shape="rect" href="component_8hpp.html" title=" " alt="" coords="1191,277,1370,317"/>
|
|
<area shape="poly" title=" " alt="" coords="792,216,1191,279,1190,284,791,222"/>
|
|
<area shape="poly" title=" " alt="" coords="619,229,515,272,469,300,448,314,420,326,351,348,296,357,239,363,168,375,157,377,156,372,167,369,238,358,295,352,350,342,418,322,446,309,466,296,513,267,617,224"/>
|
|
<area shape="poly" title=" " alt="" coords="704,232,772,370,767,373,699,235"/>
|
|
<area shape="rect" href="collapsible_8cpp.html" title=" " alt="" coords="529,372,680,412"/>
|
|
<area shape="poly" title=" " alt="" coords="688,235,683,279,668,325,651,352,630,373,626,370,647,348,664,323,678,278,683,235"/>
|
|
<area shape="rect" href="dropdown_8cpp.html" title=" " alt="" coords="355,372,505,412"/>
|
|
<area shape="poly" title=" " alt="" coords="664,233,621,279,566,326,522,353,478,374,476,370,519,349,563,322,617,276,660,230"/>
|
|
<area shape="poly" title=" " alt="" coords="744,224,1085,369,1083,374,742,229"/>
|
|
<area shape="poly" title=" " alt="" coords="633,230,599,249,566,271,552,286,542,300,532,313,515,326,444,349,332,376,330,371,442,344,513,322,528,309,538,296,548,282,563,267,596,245,630,225"/>
|
|
<area shape="poly" title=" " alt="" coords="725,227,929,370,926,374,722,231"/>
|
|
<area shape="poly" title=" " alt="" coords="599,227,392,279,391,274,597,222"/>
|
|
<area shape="poly" title=" " alt="" coords="1177,303,988,308,737,321,453,342,168,375,157,376,156,371,167,369,453,337,737,316,988,303,1177,297"/>
|
|
<area shape="poly" title=" " alt="" coords="1334,320,1439,370,1437,374,1332,325"/>
|
|
<area shape="poly" title=" " alt="" coords="1178,318,867,375,855,377,854,372,865,369,1177,313"/>
|
|
<area shape="poly" title=" " alt="" coords="1178,311,954,337,692,375,681,377,680,371,691,369,954,331,1177,306"/>
|
|
<area shape="poly" title=" " alt="" coords="1384,314,1440,321,1565,333,1671,339,1852,342,2034,347,2140,355,2265,369,2276,371,2275,376,2264,375,2139,360,2033,352,1852,347,1671,344,1565,338,1439,327,1383,319"/>
|
|
<area shape="rect" href="component__fuzzer_8cpp.html" title=" " alt="" coords="2625,372,2797,412"/>
|
|
<area shape="poly" title=" " alt="" coords="1384,310,1484,321,1655,333,1801,339,2049,340,2297,343,2443,352,2614,369,2625,371,2625,376,2614,375,2442,358,2297,349,2049,345,1801,344,1655,339,1483,327,1383,316"/>
|
|
<area shape="poly" title=" " alt="" coords="1370,317,1578,369,1577,375,1369,323"/>
|
|
<area shape="poly" title=" " alt="" coords="1178,307,880,331,699,350,517,375,506,376,505,371,516,369,698,345,880,325,1177,302"/>
|
|
<area shape="poly" title=" " alt="" coords="1240,326,1161,374,1158,370,1237,321"/>
|
|
<area shape="poly" title=" " alt="" coords="1368,317,1389,321,1488,337,1565,346,1642,354,1741,369,1752,371,1751,377,1740,375,1642,360,1564,351,1487,343,1388,327,1367,322"/>
|
|
<area shape="poly" title=" " alt="" coords="1177,304,808,326,576,346,342,375,331,376,330,371,342,369,575,341,807,320,1177,299"/>
|
|
<area shape="poly" title=" " alt="" coords="1202,323,1021,375,1019,369,1201,318"/>
|
|
<area shape="poly" title=" " alt="" coords="1366,317,1389,321,1536,340,1652,346,1768,352,1916,369,1927,371,1926,376,1915,375,1767,358,1652,352,1536,345,1388,327,1365,322"/>
|
|
<area shape="poly" title=" " alt="" coords="1384,310,1484,321,1629,332,1752,337,1962,339,2172,344,2295,353,2440,369,2451,371,2450,376,2439,375,2294,358,2171,349,1962,344,1752,342,1629,337,1483,327,1383,315"/>
|
|
<area shape="poly" title=" " alt="" coords="1365,317,1389,321,1495,335,1585,343,1739,347,1893,350,1984,357,2090,369,2102,371,2101,376,2090,375,1983,362,1893,355,1739,352,1585,348,1494,341,1388,327,1364,322"/>
|
|
<area shape="rect" href="component_2util_8cpp.html" title=" " alt="" coords="1228,372,1379,412"/>
|
|
<area shape="poly" title=" " alt="" coords="1291,329,1301,371,1296,373,1286,331"/>
|
|
<area shape="poly" title=" " alt="" coords="975,213,805,233,710,250,616,272,579,285,552,299,524,313,487,327,398,347,328,356,257,362,168,375,157,377,156,371,167,369,257,356,328,350,397,342,485,321,522,308,549,294,577,280,615,267,709,244,804,228,974,207"/>
|
|
<area shape="poly" title=" " alt="" coords="1181,220,1252,228,1309,231,1365,240,1395,251,1430,267,1448,281,1458,296,1468,310,1485,322,1517,334,1556,343,1648,356,1755,362,1869,363,2092,362,2188,363,2265,369,2276,371,2275,376,2264,375,2188,369,2092,367,1869,369,1755,367,1648,361,1555,348,1516,339,1482,326,1464,314,1453,299,1444,284,1427,272,1393,256,1363,245,1309,236,1252,233,1180,225"/>
|
|
<area shape="poly" title=" " alt="" coords="1089,234,1126,371,1121,372,1084,235"/>
|
|
<area shape="poly" title=" " alt="" coords="1001,228,826,276,616,327,479,352,342,375,331,377,330,372,342,369,478,346,615,321,824,270,1000,222"/>
|
|
<area shape="poly" title=" " alt="" coords="1060,234,969,373,964,370,1056,232"/>
|
|
<area shape="poly" title=" " alt="" coords="1181,221,1310,249,1383,267,1401,281,1412,296,1423,310,1440,322,1500,339,1577,351,1666,357,1761,360,1946,361,2026,364,2090,369,2102,371,2101,376,2090,375,2026,369,1946,367,1760,365,1665,362,1576,356,1499,345,1438,326,1419,314,1408,299,1398,285,1381,272,1309,254,1180,226"/>
|
|
<area shape="poly" title=" " alt="" coords="1181,218,1186,219,1332,241,1477,267,1510,274,1508,279,1476,272,1331,246,1186,224,1180,223"/>
|
|
<area shape="poly" title=" " alt="" coords="2034,126,1168,195,1167,190,2033,120"/>
|
|
<area shape="poly" title=" " alt="" coords="2160,143,2252,275,2248,278,2156,146"/>
|
|
<area shape="poly" title=" " alt="" coords="2208,135,2343,179,2341,184,2206,140"/>
|
|
<area shape="poly" title=" " alt="" coords="2400,235,2406,280,2414,303,2428,322,2498,342,2626,370,2625,375,2497,347,2424,326,2410,305,2401,282,2395,235"/>
|
|
<area shape="poly" title=" " alt="" coords="2288,218,1670,288,1669,283,2287,213"/>
|
|
<area shape="poly" title=" " alt="" coords="2362,231,2292,279,2289,274,2359,227"/>
|
|
<area shape="rect" href="terminal__input__parser__test__fuzzer_8cpp.html" title=" " alt="" coords="2437,269,2607,324"/>
|
|
<area shape="poly" title=" " alt="" coords="2437,228,2489,267,2486,271,2433,232"/>
|
|
</map>
|
|
</div>
|
|
</div>
|
|
<p><a href="event_8hpp_source.html">Go to the source code of this file.</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
|
|
Data Structures</h2></td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structftxui_1_1Event.html">Event</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Represent an event. It can be key press event, a terminal resize, or more ... <a href="structftxui_1_1Event.html#details">More...</a><br /></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="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>
|
|
</div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- HTML footer for doxygen 1.8.14-->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
</div>
|
|
<script>
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
const projectNumber = document.getElementById('projectnumber');
|
|
if (!projectNumber) {
|
|
console.warn('Doxygen element with ID "projectnumber" not found. Cannot add version switcher.');
|
|
return;
|
|
}
|
|
|
|
const versions = ["main", "v6.1.9", "v6.1.8", "v6.1.7", "v6.1.6", "v6.1.5", "v6.1.4", "v6.1.3", "v6.1.2", "v6.1.1", "v6.1.0", "v6.0.2", "v6.0.1", "v6.0.0", "v5.0.0", "v4.1.1", "v4.1.0", "v4.0.0", "v3.0.0", "v2.0.0", "v0.9", "v0.11", "v0.10"];
|
|
const version_paths = {"main": "../../index.html", "v6.1.9": "../v6.1.9/index.html", "v6.1.8": "../v6.1.8/index.html", "v6.1.7": "../v6.1.7/index.html", "v6.1.6": "../v6.1.6/index.html", "v6.1.5": "../v6.1.5/index.html", "v6.1.4": "../v6.1.4/index.html", "v6.1.3": "../v6.1.3/index.html", "v6.1.2": "../v6.1.2/index.html", "v6.1.1": "../v6.1.1/index.html", "v6.1.0": "../v6.1.0/index.html", "v6.0.2": "../v6.0.2/index.html", "v6.0.1": "../v6.0.1/index.html", "v6.0.0": "../v6.0.0/index.html", "v5.0.0": "../v5.0.0/index.html", "v4.1.1": "../v4.1.1/index.html", "v4.1.0": "../v4.1.0/index.html", "v4.0.0": "../v4.0.0/index.html", "v3.0.0": "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 = "v3.0.0";
|
|
|
|
// Sort versions: 'main' first, then others numerically descending.
|
|
versions.sort((a, b) => {
|
|
if (a === 'main') return -1;
|
|
if (b === 'main') return 1;
|
|
return b.localeCompare(a, undefined, { numeric: true, sensitivity: 'base' });
|
|
});
|
|
|
|
const select = document.createElement('select');
|
|
select.onchange = function() {
|
|
const selectedVersion = this.value;
|
|
// Navigate directly to the pre-calculated relative path.
|
|
if (selectedVersion !== currentVersion) {
|
|
window.location.href = version_paths[selectedVersion];
|
|
}
|
|
};
|
|
|
|
versions.forEach(v => {
|
|
const option = document.createElement('option');
|
|
option.value = v;
|
|
option.textContent = v;
|
|
if (v === currentVersion) {
|
|
option.selected = true;
|
|
}
|
|
select.appendChild(option);
|
|
});
|
|
|
|
// Replace the Doxygen project number element with our dropdown.
|
|
projectNumber.replaceWith(select);
|
|
|
|
// Apply some styling to make it look good.
|
|
Object.assign(select.style, {
|
|
backgroundColor: 'rgba(0, 0, 0, 0.8)',
|
|
color: 'white',
|
|
border: '1px solid rgba(255, 255, 255, 0.2)',
|
|
padding: '5px',
|
|
borderRadius: '5px',
|
|
fontSize: '14px',
|
|
fontFamily: 'inherit',
|
|
marginLeft: '10px',
|
|
cursor: 'pointer'
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|