This commit is contained in:
ArthurSonzogni
2025-12-13 19:38:34 +00:00
commit 02764cd443
35187 changed files with 6288738 additions and 0 deletions

View File

@@ -0,0 +1,359 @@
<!-- 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/captured_mouse.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">5.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('captured__mouse_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="#typedef-members">Typedefs</a> </div>
<div class="headertitle"><div class="title">captured_mouse.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="captured__mouse_8hpp__dep__incl.png" border="0" usemap="#ainclude_2ftxui_2component_2captured__mouse_8hppdep" alt=""/></div>
<map name="ainclude_2ftxui_2component_2captured__mouse_8hppdep" id="ainclude_2ftxui_2component_2captured__mouse_8hppdep">
<area shape="rect" title=" " alt="" coords="837,5,1016,45"/>
<area shape="rect" href="component__base_8hpp.html" title=" " alt="" coords="1803,93,1981,133"/>
<area shape="poly" title=" " alt="" coords="1030,33,1803,101,1802,107,1029,38"/>
<area shape="rect" href="button_8cpp.html" title=" " alt="" coords="1077,357,1227,397"/>
<area shape="poly" title=" " alt="" coords="928,59,933,136,943,179,961,220,994,264,1035,302,1078,332,1116,355,1113,359,1075,337,1032,306,990,268,956,223,938,181,928,137,922,60"/>
<area shape="rect" href="checkbox_8cpp.html" title=" " alt="" coords="3194,357,3345,397"/>
<area shape="poly" title=" " alt="" coords="1030,26,1311,37,1711,63,1939,82,2175,108,2412,140,2644,179,2828,215,3007,267,3130,312,3230,355,3228,360,3128,317,3006,272,2827,220,2644,184,2412,145,2174,113,1938,88,1711,68,1310,43,1030,32"/>
<area shape="rect" href="component_8cpp.html" title=" " alt="" coords="378,357,529,397"/>
<area shape="poly" title=" " alt="" coords="854,53,809,72,764,96,671,163,587,239,518,308,472,359,468,355,514,304,583,235,668,159,761,91,806,67,852,48"/>
<area shape="rect" href="hoverable_8cpp.html" title=" " alt="" coords="553,357,703,397"/>
<area shape="poly" title=" " alt="" coords="866,54,833,72,803,95,772,128,744,163,696,239,660,308,638,358,633,356,655,305,691,236,739,160,768,124,800,91,830,68,864,49"/>
<area shape="rect" href="input_8cpp.html" title=" " alt="" coords="727,357,878,397"/>
<area shape="poly" title=" " alt="" coords="887,56,842,95,804,139,777,175,756,215,739,270,734,290,738,308,755,334,777,355,774,359,751,338,734,310,729,290,733,269,751,213,772,173,800,136,838,91,884,52"/>
<area shape="rect" href="menu_8cpp.html" title=" " alt="" coords="902,357,1053,397"/>
<area shape="poly" title=" " alt="" coords="918,59,908,93,902,135,901,178,910,220,919,235,930,244,943,253,954,268,971,315,978,357,973,358,966,316,950,271,939,257,927,248,915,238,906,222,896,179,896,134,903,92,912,58"/>
<area shape="rect" href="radiobox_8cpp.html" title=" " alt="" coords="1251,357,1402,397"/>
<area shape="poly" title=" " alt="" coords="945,57,992,135,1025,179,1062,219,1117,263,1176,301,1282,355,1280,360,1173,306,1114,268,1058,223,1020,183,988,138,940,59"/>
<area shape="rect" href="renderer_8cpp.html" title=" " alt="" coords="3543,357,3694,397"/>
<area shape="poly" title=" " alt="" coords="1030,24,1270,27,1605,36,1990,56,2187,72,2380,91,2519,109,2625,128,2869,179,3088,217,3184,236,3306,267,3451,312,3571,355,3569,360,3450,317,3305,272,3183,242,3087,223,2867,184,2624,134,2518,114,2380,96,2187,77,1990,62,1605,42,1270,32,1030,29"/>
<area shape="rect" href="resizable__split_8cpp.html" title=" " alt="" coords="3369,357,3519,397"/>
<area shape="poly" title=" " alt="" coords="1030,26,1245,31,1538,43,1872,62,2210,91,2366,108,2487,126,2762,179,2936,218,3109,267,3261,313,3389,355,3388,360,3260,318,3107,272,2935,224,2761,184,2486,131,2365,114,2209,96,1871,67,1538,48,1245,36,1030,31"/>
<area shape="rect" href="slider_8cpp.html" title=" " alt="" coords="1426,357,1577,397"/>
<area shape="poly" title=" " alt="" coords="971,50,1472,355,1469,359,968,55"/>
<area shape="rect" href="screen__interactive_8cpp.html" title=" " alt="" coords="5,357,179,397"/>
<area shape="poly" title=" " alt="" coords="824,44,710,64,571,93,422,133,277,184,196,216,164,237,131,271,118,292,108,315,97,358,92,356,103,314,113,290,127,268,161,233,193,212,275,179,421,128,570,88,708,58,823,38"/>
<area shape="rect" href="screen__interactive_8hpp.html" title=" " alt="" coords="761,269,940,309"/>
<area shape="poly" title=" " alt="" coords="890,56,873,74,860,94,846,141,842,190,845,235,849,269,844,270,839,235,837,190,841,140,855,92,869,70,886,52"/>
<area shape="rect" href="component_8hpp.html" title=" " alt="" coords="2031,269,2209,309"/>
<area shape="poly" title=" " alt="" coords="1946,138,2014,179,2066,225,2106,267,2102,271,2062,229,2010,183,1943,142"/>
<area shape="poly" title=" " alt="" coords="1789,124,1644,144,1565,161,1488,184,1394,225,1306,274,1232,322,1178,359,1175,355,1229,317,1304,269,1392,220,1486,179,1563,155,1643,138,1788,119"/>
<area shape="rect" href="catch__event_8cpp.html" title=" " alt="" coords="2321,357,2471,397"/>
<area shape="poly" title=" " alt="" coords="1996,125,2083,145,2129,160,2172,179,2238,221,2298,270,2348,318,2382,355,2378,359,2344,322,2295,274,2235,225,2169,184,2127,165,2082,150,1994,130"/>
<area shape="poly" title=" " alt="" coords="1995,118,2243,138,2391,156,2538,179,2733,220,2924,270,3212,355,3210,360,2923,275,2732,226,2537,184,2390,161,2243,143,1995,123"/>
<area shape="rect" href="collapsible_8cpp.html" title=" " alt="" coords="1775,357,1926,397"/>
<area shape="poly" title=" " alt="" coords="1906,146,1914,182,1913,222,1903,261,1890,299,1863,358,1858,356,1885,297,1898,259,1908,221,1909,183,1901,147"/>
<area shape="poly" title=" " alt="" coords="1789,116,1581,121,1448,129,1302,142,1147,162,989,189,831,225,680,272,574,316,488,360,486,355,572,311,678,267,830,220,988,184,1146,157,1301,137,1447,124,1581,116,1789,111"/>
<area shape="rect" href="container_8cpp.html" title=" " alt="" coords="2495,357,2646,397"/>
<area shape="poly" title=" " alt="" coords="1995,125,2106,145,2165,160,2222,179,2319,221,2411,270,2545,355,2543,360,2408,275,2317,226,2220,184,2164,165,2105,150,1994,130"/>
<area shape="rect" href="dropdown_8cpp.html" title=" " alt="" coords="1601,357,1751,397"/>
<area shape="poly" title=" " alt="" coords="1899,147,1900,184,1896,227,1885,272,1862,311,1844,325,1817,338,1751,360,1750,355,1815,333,1842,320,1858,308,1880,270,1891,227,1894,184,1893,147"/>
<area shape="poly" title=" " alt="" coords="1789,117,1659,121,1498,131,1323,151,1234,166,1149,184,1120,193,1098,203,1077,214,1047,224,1000,234,959,238,888,238,854,239,819,243,781,253,737,272,708,290,682,314,643,359,639,355,678,310,705,286,735,267,779,248,818,238,853,234,888,233,959,233,999,229,1046,219,1075,209,1096,198,1118,188,1147,179,1234,161,1322,146,1498,126,1659,116,1789,112"/>
<area shape="poly" title=" " alt="" coords="1789,122,1554,142,1415,160,1278,184,1241,194,1214,204,1186,214,1149,224,1108,229,1057,230,938,230,879,232,825,239,781,251,764,260,751,271,745,281,744,291,750,314,765,336,783,355,779,359,761,339,745,316,738,291,740,279,747,268,761,256,779,246,824,234,878,227,938,225,1057,225,1108,223,1147,219,1184,209,1212,199,1240,188,1277,179,1415,155,1554,137,1789,117"/>
<area shape="rect" href="maybe_8cpp.html" title=" " alt="" coords="2670,357,2821,397"/>
<area shape="poly" title=" " alt="" coords="1996,123,2134,144,2210,160,2285,179,2410,221,2530,270,2710,355,2708,360,2528,275,2408,226,2283,184,2209,165,2133,149,1995,128"/>
<area shape="poly" title=" " alt="" coords="1789,122,1703,129,1602,141,1497,159,1393,184,1279,224,1170,273,1077,321,1010,359,1007,355,1075,317,1168,269,1277,219,1391,179,1495,153,1602,135,1702,124,1789,117"/>
<area shape="rect" href="modal_8cpp.html" title=" " alt="" coords="2845,357,2995,397"/>
<area shape="poly" title=" " alt="" coords="1996,121,2167,142,2264,158,2359,179,2510,221,2657,270,2876,355,2874,360,2655,275,2509,226,2358,184,2263,164,2166,148,1995,126"/>
<area shape="poly" title=" " alt="" coords="1789,129,1701,146,1602,173,1551,192,1501,215,1454,241,1410,271,1387,292,1368,315,1339,359,1335,356,1364,312,1384,288,1406,267,1451,236,1499,210,1549,187,1600,168,1700,141,1788,124"/>
<area shape="poly" title=" " alt="" coords="1996,115,2334,134,2544,152,2755,179,2986,220,3212,269,3408,317,3552,355,3550,360,3407,322,3211,274,2985,225,2754,184,2544,158,2334,139,1996,121"/>
<area shape="poly" title=" " alt="" coords="1996,116,2288,136,2466,154,2644,179,2748,198,2827,218,3007,267,3369,355,3368,360,3006,272,2826,223,2746,204,2644,184,2466,159,2288,141,1995,122"/>
<area shape="poly" title=" " alt="" coords="1878,147,1855,185,1823,230,1783,274,1736,312,1708,325,1668,338,1577,362,1576,357,1667,333,1706,320,1733,307,1779,271,1819,227,1851,182,1874,144"/>
<area shape="rect" href="component_2util_8cpp.html" title=" " alt="" coords="3019,357,3170,397"/>
<area shape="poly" title=" " alt="" coords="1995,119,2204,140,2326,157,2446,179,2568,210,2734,259,3038,355,3036,360,2733,264,2567,215,2445,184,2325,162,2204,145,1995,124"/>
<area shape="rect" href="window_8cpp.html" title=" " alt="" coords="1950,357,2101,397"/>
<area shape="poly" title=" " alt="" coords="1996,129,2057,148,2120,176,2151,194,2178,215,2203,240,2224,268,2231,290,2224,311,2205,326,2175,340,2102,362,2100,357,2173,335,2202,322,2219,308,2226,290,2219,271,2199,243,2175,219,2148,198,2118,180,2055,153,1994,134"/>
<area shape="rect" href="component__options_8hpp.html" title=" " alt="" coords="1621,181,1803,221"/>
<area shape="poly" title=" " alt="" coords="1842,142,1753,184,1750,179,1839,137"/>
<area shape="rect" href="loop_8hpp.html" title=" " alt="" coords="189,269,368,309"/>
<area shape="poly" title=" " alt="" coords="1789,123,1443,145,1227,163,1010,184,654,231,369,275,368,270,653,226,1009,179,1226,157,1442,140,1789,117"/>
<area shape="poly" title=" " alt="" coords="1789,119,1588,125,1318,137,1012,156,703,184,621,190,550,192,428,193,372,198,313,211,250,235,179,272,154,290,133,313,104,358,99,356,129,310,150,286,176,267,248,230,312,206,371,193,428,188,550,187,621,185,702,179,1012,150,1318,131,1588,120,1789,114"/>
<area shape="poly" title=" " alt="" coords="2017,297,1671,315,1455,334,1239,360,1228,362,1227,356,1238,355,1455,329,1670,310,2016,291"/>
<area shape="poly" title=" " alt="" coords="2194,311,2336,355,2335,360,2193,316"/>
<area shape="poly" title=" " alt="" coords="2223,294,2781,328,3182,355,3194,357,3193,362,3181,360,2781,333,2223,299"/>
<area shape="poly" title=" " alt="" coords="2049,316,1910,360,1909,355,2047,311"/>
<area shape="poly" title=" " alt="" coords="2017,297,1178,330,754,348,540,360,529,362,528,356,540,355,754,343,1178,325,2016,292"/>
<area shape="rect" href="component__fuzzer_8cpp.html" title=" " alt="" coords="2125,357,2297,397"/>
<area shape="poly" title=" " alt="" coords="2152,317,2192,355,2189,359,2148,321"/>
<area shape="poly" title=" " alt="" coords="2223,306,2483,355,2496,357,2495,362,2482,360,2222,311"/>
<area shape="poly" title=" " alt="" coords="2018,312,1763,360,1752,362,1751,357,1762,355,2017,306"/>
<area shape="poly" title=" " alt="" coords="2017,297,1300,327,930,345,715,360,704,362,703,356,714,355,929,339,1300,321,2017,292"/>
<area shape="poly" title=" " alt="" coords="2017,297,1439,321,1121,339,890,360,879,362,878,356,889,355,1121,334,1439,316,2017,291"/>
<area shape="poly" title=" " alt="" coords="2224,298,2425,321,2658,355,2670,357,2669,362,2657,360,2424,327,2223,303"/>
<area shape="poly" title=" " alt="" coords="2017,298,1523,323,1258,341,1064,360,1053,362,1052,356,1064,355,1257,336,1523,318,2017,293"/>
<area shape="poly" title=" " alt="" coords="2223,294,2499,315,2666,333,2832,355,2845,357,2844,362,2832,360,2665,338,2499,321,2223,299"/>
<area shape="poly" title=" " alt="" coords="2017,299,1744,321,1579,338,1414,360,1403,362,1402,357,1413,355,1578,333,1743,315,2017,294"/>
<area shape="poly" title=" " alt="" coords="2223,287,2458,289,2782,297,3154,318,3345,334,3531,355,3543,356,3543,362,3530,360,3344,339,3154,323,2782,303,2458,294,2223,293"/>
<area shape="poly" title=" " alt="" coords="2223,291,2804,316,3123,334,3356,355,3369,357,3368,362,3356,360,3123,339,2803,321,2223,297"/>
<area shape="poly" title=" " alt="" coords="2017,304,1818,327,1588,360,1577,362,1576,357,1588,355,1817,321,2016,298"/>
<area shape="poly" title=" " alt="" coords="2223,294,2634,321,2850,338,3007,355,3019,357,3019,362,3006,360,2849,343,2634,326,2223,299"/>
<area shape="poly" title=" " alt="" coords="2091,321,2048,359,2044,355,2087,317"/>
<area shape="poly" title=" " alt="" coords="1816,222,2031,267,2030,272,1814,227"/>
<area shape="poly" title=" " alt="" coords="1691,234,1651,280,1615,312,1562,335,1516,348,1473,353,1432,354,1346,351,1296,353,1239,360,1228,362,1227,357,1238,355,1296,348,1346,346,1432,349,1473,348,1515,343,1560,330,1612,307,1647,276,1687,230"/>
<area shape="poly" title=" " alt="" coords="1818,213,2175,257,2624,307,2781,320,2903,326,3026,335,3182,355,3194,357,3193,362,3181,360,3025,341,2903,332,2781,325,2624,312,2174,262,1817,219"/>
<area shape="poly" title=" " alt="" coords="1745,229,1782,268,1816,314,1842,356,1838,358,1812,317,1778,271,1742,233"/>
<area shape="poly" title=" " alt="" coords="1741,230,1753,248,1762,268,1766,289,1761,310,1740,339,1713,359,1710,355,1736,335,1756,308,1760,289,1757,270,1748,251,1737,233"/>
<area shape="poly" title=" " alt="" coords="1608,217,1434,240,1238,272,1037,317,871,360,869,355,1036,311,1237,267,1433,234,1607,212"/>
<area shape="poly" title=" " alt="" coords="1611,227,1409,272,1051,360,1050,355,1407,267,1610,222"/>
<area shape="poly" title=" " alt="" coords="1706,235,1689,275,1676,295,1659,311,1627,332,1598,344,1570,351,1543,353,1485,352,1452,354,1414,360,1403,362,1402,357,1413,355,1451,349,1485,347,1543,347,1569,345,1596,339,1625,327,1656,307,1672,292,1685,273,1702,233"/>
<area shape="poly" title=" " alt="" coords="1817,205,2087,222,2468,252,2909,296,3135,323,3356,355,3369,357,3368,362,3356,360,3134,328,2908,301,2468,257,2086,228,1817,211"/>
<area shape="poly" title=" " alt="" coords="1722,234,1724,273,1720,293,1710,311,1692,322,1659,334,1574,360,1572,355,1657,329,1690,317,1706,308,1715,291,1719,272,1717,235"/>
<area shape="rect" href="component__options_8cpp.html" title=" " alt="" coords="1420,269,1601,309"/>
<area shape="poly" title=" " alt="" coords="1656,229,1556,272,1554,267,1654,224"/>
<area shape="rect" href="loop_8cpp.html" title=" " alt="" coords="203,357,354,397"/>
<area shape="poly" title=" " alt="" coords="281,323,281,357,276,357,276,323"/>
<area shape="poly" title=" " alt="" coords="227,317,134,360,132,355,224,313"/>
<area shape="poly" title=" " alt="" coords="931,311,1087,355,1085,360,929,316"/>
<area shape="poly" title=" " alt="" coords="751,315,541,360,530,362,528,357,539,355,750,310"/>
<area shape="poly" title=" " alt="" coords="790,317,678,360,676,355,788,312"/>
<area shape="poly" title=" " alt="" coords="836,323,816,358,811,356,831,320"/>
<area shape="poly" title=" " alt="" coords="892,315,951,355,948,359,889,320"/>
<area shape="poly" title=" " alt="" coords="954,305,1239,355,1251,357,1250,362,1238,360,953,310"/>
<area shape="poly" title=" " alt="" coords="954,297,1166,320,1414,355,1426,357,1425,362,1413,360,1166,326,953,303"/>
<area shape="poly" title=" " alt="" coords="954,292,1462,318,1737,336,1938,355,1950,357,1949,362,1937,360,1737,341,1462,323,953,298"/>
<area shape="poly" title=" " alt="" coords="748,305,569,328,366,360,355,362,354,357,365,355,568,323,747,300"/>
<area shape="poly" title=" " alt="" coords="748,301,494,324,191,360,179,362,179,356,190,355,494,318,748,296"/>
</map>
</div>
</div>
<p><a href="captured__mouse_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classftxui_1_1CapturedMouseInterface.html">CapturedMouseInterface</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="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>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a24b663cb6b0b262055c94d3a03bdd274" id="r_a24b663cb6b0b262055c94d3a03bdd274"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#a24b663cb6b0b262055c94d3a03bdd274">CapturedMouse</a> = std::unique_ptr&lt;<a class="el" href="classftxui_1_1CapturedMouseInterface.html">CapturedMouseInterface</a>&gt;</td></tr>
<tr class="separator:a24b663cb6b0b262055c94d3a03bdd274"><td class="memSeparator" colspan="2">&#160;</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": "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": "../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 = "v5.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>