Files
FTXUI/en/v5.0.0/mouse_8hpp.html
2025-12-13 19:38:34 +00:00

374 lines
30 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/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('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> </div>
<div class="headertitle"><div class="title">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="mouse_8hpp__dep__incl.png" border="0" usemap="#ainclude_2ftxui_2component_2mouse_8hppdep" alt=""/></div>
<map name="ainclude_2ftxui_2component_2mouse_8hppdep" id="ainclude_2ftxui_2component_2mouse_8hppdep">
<area shape="rect" title=" " alt="" coords="2844,5,3023,45"/>
<area shape="rect" href="event_8hpp.html" title=" " alt="" coords="2195,93,2373,133"/>
<area shape="poly" title=" " alt="" coords="2831,43,2374,103,2373,98,2830,38"/>
<area shape="rect" href="button_8cpp.html" title=" " alt="" coords="2146,460,2297,500"/>
<area shape="poly" title=" " alt="" coords="2963,55,2975,73,2984,92,2995,128,3001,159,2998,188,2984,223,2963,253,2941,275,2918,290,2893,301,2839,322,2810,337,2780,359,2766,374,2757,389,2747,402,2729,414,2670,440,2618,454,2570,459,2525,459,2428,454,2373,455,2308,463,2297,465,2296,459,2308,457,2372,450,2428,449,2525,454,2570,454,2617,448,2669,435,2727,410,2743,398,2753,386,2762,371,2777,355,2808,333,2837,317,2891,296,2915,285,2938,271,2959,250,2979,220,2992,187,2995,159,2990,130,2979,94,2970,75,2959,58"/>
<area shape="rect" href="checkbox_8cpp.html" title=" " alt="" coords="3194,460,3345,500"/>
<area shape="poly" title=" " alt="" coords="3035,47,3075,66,3112,91,3138,116,3155,139,3165,165,3168,200,3168,291,3169,326,3173,354,3183,380,3200,411,3220,437,3244,458,3241,462,3216,440,3195,413,3178,382,3168,355,3164,327,3163,291,3163,200,3160,166,3151,141,3134,119,3109,95,3073,70,3032,52"/>
<area shape="rect" href="container_8cpp.html" title=" " alt="" coords="3369,460,3519,500"/>
<area shape="poly" title=" " alt="" coords="3037,40,3096,60,3125,74,3151,91,3180,115,3201,137,3214,164,3219,200,3219,290,3223,322,3236,349,3254,374,3278,397,3333,433,3388,458,3386,462,3331,437,3275,401,3250,378,3231,352,3218,323,3213,291,3213,200,3209,165,3197,140,3177,118,3148,95,3122,79,3094,65,3036,45"/>
<area shape="rect" href="hoverable_8cpp.html" title=" " alt="" coords="2495,460,2646,500"/>
<area shape="poly" title=" " alt="" coords="2992,50,3016,68,3034,92,3049,127,3054,157,3049,188,3034,223,3010,265,2985,297,2959,322,2930,342,2863,375,2780,414,2713,443,2647,464,2645,458,2711,438,2778,410,2861,370,2927,337,2956,318,2981,293,3006,262,3030,220,3044,186,3049,157,3044,128,3030,95,3012,72,2989,54"/>
<area shape="rect" href="input_8cpp.html" title=" " alt="" coords="378,460,529,500"/>
<area shape="poly" title=" " alt="" coords="2831,29,2282,32,1512,41,1134,49,807,61,570,76,495,86,457,96,426,116,405,137,393,164,389,200,389,291,395,339,410,386,427,427,444,458,439,461,423,430,405,388,390,340,384,291,384,200,388,163,401,134,423,112,455,91,494,80,569,71,807,56,1133,44,1512,36,2282,27,2831,24"/>
<area shape="rect" href="menu_8cpp.html" title=" " alt="" coords="2845,460,2995,500"/>
<area shape="poly" title=" " alt="" coords="3032,48,3061,66,3085,92,3101,125,3103,155,3096,186,3085,222,3072,260,3055,296,3015,365,2973,421,2939,462,2935,458,2969,418,3010,362,3050,294,3067,258,3080,221,3091,184,3098,155,3095,126,3080,95,3058,71,3029,53"/>
<area shape="rect" href="radiobox_8cpp.html" title=" " alt="" coords="1971,460,2122,500"/>
<area shape="poly" title=" " alt="" coords="2947,58,2956,94,2961,138,2957,182,2950,204,2938,223,2922,237,2896,251,2817,283,2711,318,2588,352,2330,417,2123,465,2122,460,2329,412,2587,347,2710,312,2816,278,2894,247,2919,232,2934,220,2945,201,2952,181,2956,138,2951,95,2942,59"/>
<area shape="rect" href="renderer_8cpp.html" title=" " alt="" coords="3543,460,3694,500"/>
<area shape="poly" title=" " alt="" coords="3037,36,3170,58,3242,73,3311,91,3373,113,3424,138,3458,166,3467,183,3471,200,3471,291,3474,318,3483,344,3497,368,3514,391,3553,430,3590,458,3587,462,3549,434,3510,394,3492,371,3478,346,3469,319,3465,291,3465,200,3462,185,3454,170,3421,142,3371,118,3310,96,3240,78,3169,63,3036,41"/>
<area shape="rect" href="resizable__split_8cpp.html" title=" " alt="" coords="727,460,878,500"/>
<area shape="poly" title=" " alt="" coords="2831,31,1720,52,1112,71,890,83,759,96,702,102,646,103,543,103,501,110,468,126,456,138,448,154,442,175,440,200,440,291,438,357,445,383,465,410,494,434,522,448,549,454,577,455,640,452,675,452,715,457,728,460,727,465,714,463,675,457,640,457,577,460,548,459,520,453,491,438,461,414,440,386,433,358,435,291,435,200,437,174,443,152,452,135,465,121,499,105,542,97,646,97,702,97,758,91,890,78,1112,66,1720,47,2831,25"/>
<area shape="rect" href="slider_8cpp.html" title=" " alt="" coords="203,460,354,500"/>
<area shape="poly" title=" " alt="" coords="2830,29,2271,31,1483,40,1095,48,761,60,518,75,442,85,402,96,373,116,353,138,342,164,339,200,339,291,334,340,321,387,291,461,286,458,316,386,328,339,333,291,333,200,337,163,348,135,369,112,400,91,441,80,517,70,761,54,1095,43,1483,34,2271,26,2830,24"/>
<area shape="rect" href="terminal__input__parser_8cpp.html" title=" " alt="" coords="475,365,669,405"/>
<area shape="poly" title=" " alt="" coords="2830,30,2390,36,1787,48,1220,67,1014,80,893,96,801,120,765,134,733,151,703,171,676,197,648,230,620,271,595,321,580,365,574,364,590,319,615,268,644,227,672,193,700,167,730,146,763,129,800,115,891,91,1013,75,1220,62,1786,42,2390,31,2830,25"/>
<area shape="rect" href="terminal__input__parser_8hpp.html" title=" " alt="" coords="731,269,927,309"/>
<area shape="poly" title=" " alt="" coords="2830,29,2355,31,2036,37,1701,49,1379,68,1098,95,982,113,887,134,818,157,793,170,777,183,771,193,769,203,775,225,791,248,809,267,805,271,786,251,770,228,763,203,766,191,773,180,790,165,815,152,886,128,981,108,1097,90,1378,62,1701,44,2036,32,2355,26,2830,23"/>
<area shape="rect" href="event_8cpp.html" title=" " alt="" coords="2774,181,2925,221"/>
<area shape="poly" title=" " alt="" coords="2921,59,2861,182,2856,180,2916,57"/>
<area shape="rect" href="animation_8hpp.html" title=" " alt="" coords="1712,181,1891,221"/>
<area shape="poly" title=" " alt="" coords="2181,136,1891,187,1890,182,2180,130"/>
<area shape="poly" title=" " alt="" coords="2281,148,2227,460,2222,459,2276,147"/>
<area shape="rect" href="catch__event_8cpp.html" title=" " alt="" coords="2321,460,2471,500"/>
<area shape="poly" title=" " alt="" coords="2296,146,2393,459,2388,461,2291,147"/>
<area shape="poly" title=" " alt="" coords="2382,134,2457,154,2536,179,2649,222,2736,261,2931,355,2988,384,3046,410,3124,436,3197,457,3196,462,3122,441,3044,414,2986,388,2928,360,2733,266,2647,227,2534,184,2456,159,2380,139"/>
<area shape="rect" href="component_8cpp.html" title=" " alt="" coords="1098,460,1249,500"/>
<area shape="poly" title=" " alt="" coords="2181,122,1856,144,1692,162,1625,172,1574,184,1468,214,1386,244,1349,263,1313,287,1275,318,1233,359,1214,384,1199,411,1181,461,1176,459,1194,409,1209,381,1229,356,1271,314,1310,283,1347,258,1384,239,1466,209,1573,179,1624,167,1691,157,1855,139,2181,117"/>
<area shape="poly" title=" " alt="" coords="2387,129,2494,150,2606,179,2718,220,2903,293,3198,409,3369,458,3368,463,3196,415,2901,298,2716,225,2605,184,2492,155,2386,134"/>
<area shape="poly" title=" " alt="" coords="2309,143,2558,458,2554,461,2305,146"/>
<area shape="poly" title=" " alt="" coords="2181,117,1981,119,1737,128,1616,137,1504,148,1410,164,1340,184,1301,201,1271,218,1223,257,1180,302,1125,359,1111,375,1102,389,1091,402,1073,414,1024,431,961,442,810,452,658,455,540,463,529,464,528,459,540,457,658,450,810,446,960,436,1023,426,1071,410,1087,399,1097,386,1107,372,1121,356,1176,299,1220,253,1268,214,1299,196,1338,179,1409,159,1504,143,1615,131,1737,123,1981,114,2181,111"/>
<area shape="rect" href="maybe_8cpp.html" title=" " alt="" coords="2670,460,2821,500"/>
<area shape="poly" title=" " alt="" coords="2322,140,2374,179,2724,458,2720,462,2370,183,2319,144"/>
<area shape="poly" title=" " alt="" coords="2337,137,2419,179,2694,338,2891,458,2888,462,2692,342,2416,184,2334,142"/>
<area shape="rect" href="modal_8cpp.html" title=" " alt="" coords="3019,460,3170,500"/>
<area shape="poly" title=" " alt="" coords="2355,135,2473,179,2648,255,2817,335,3060,458,3058,462,2814,340,2645,260,2471,184,2354,140"/>
<area shape="poly" title=" " alt="" coords="2274,147,2215,289,2179,363,2147,414,2118,441,2086,462,2083,458,2114,437,2143,410,2175,360,2210,287,2269,145"/>
<area shape="poly" title=" " alt="" coords="2388,122,2526,143,2601,159,2676,179,2719,198,2762,219,3117,329,3555,457,3554,462,3116,334,2760,224,2717,203,2674,184,2600,164,2525,148,2387,127"/>
<area shape="poly" title=" " alt="" coords="2181,120,2001,126,1785,138,1581,157,1497,169,1434,184,1387,201,1352,219,1279,271,1245,302,1203,345,1161,387,1124,414,1062,439,1010,449,957,453,890,463,879,465,878,460,889,457,956,447,1009,443,1060,434,1121,410,1157,383,1200,341,1241,298,1276,267,1350,214,1385,196,1433,179,1496,164,1580,152,1785,133,2001,121,2181,115"/>
<area shape="poly" title=" " alt="" coords="2181,117,1966,120,1699,129,1565,137,1442,149,1338,164,1260,184,1204,208,1160,236,1125,266,1094,298,1062,330,1027,361,983,389,926,414,845,439,774,453,710,457,650,456,524,451,451,453,366,463,355,464,354,459,365,457,451,448,524,446,650,451,710,452,773,447,843,434,924,410,980,385,1023,356,1059,326,1090,294,1121,262,1157,232,1201,203,1258,179,1337,159,1442,144,1565,132,1698,123,1965,114,2181,112"/>
<area shape="rect" href="screen__interactive_8hpp.html" title=" " alt="" coords="1243,365,1421,405"/>
<area shape="poly" title=" " alt="" coords="2181,121,2079,127,1958,138,1829,157,1701,184,1638,201,1590,218,1487,272,1413,321,1355,367,1352,362,1410,316,1484,267,1588,213,1636,196,1699,179,1828,152,1958,133,2079,122,2181,115"/>
<area shape="rect" href="screen__interactive_8cpp.html" title=" " alt="" coords="5,460,179,500"/>
<area shape="poly" title=" " alt="" coords="2181,117,1861,119,1434,128,1215,136,1011,148,835,164,703,184,575,216,477,251,384,296,267,360,182,413,117,462,113,458,179,409,264,355,381,292,475,246,573,211,702,179,835,158,1010,142,1215,131,1434,122,1861,114,2181,112"/>
<area shape="rect" href="task_8hpp.html" title=" " alt="" coords="787,181,965,221"/>
<area shape="poly" title=" " alt="" coords="2181,118,1964,123,1667,134,1328,153,984,184,966,186,965,181,984,179,1327,148,1666,129,1964,118,2181,113"/>
<area shape="poly" title=" " alt="" coords="2181,118,1845,123,1408,135,1005,154,860,168,809,175,776,184,742,199,710,220,655,271,613,323,585,366,581,363,609,320,652,267,707,216,739,195,774,179,808,170,859,162,1005,149,1407,129,1845,118,2181,113"/>
<area shape="poly" title=" " alt="" coords="2181,120,1899,127,1543,140,1220,159,1104,171,1035,184,1019,192,1007,201,979,224,878,272,876,267,976,219,1003,197,1016,187,1034,179,1103,166,1219,154,1543,135,1899,122,2181,114"/>
<area shape="poly" title=" " alt="" coords="2388,125,2560,149,2755,179,2774,182,2773,187,2754,184,2559,154,2387,130"/>
<area shape="rect" href="component__options_8hpp.html" title=" " alt="" coords="1775,269,1958,309"/>
<area shape="poly" title=" " alt="" coords="1826,231,1854,267,1850,271,1822,234"/>
<area shape="poly" title=" " alt="" coords="1905,216,1975,234,2052,262,2125,301,2159,327,2189,356,2205,381,2216,409,2224,459,2218,460,2210,410,2200,383,2185,359,2155,331,2122,306,2049,266,1974,239,1903,221"/>
<area shape="poly" title=" " alt="" coords="1904,221,2115,267,2535,372,2853,457,2852,463,2534,377,2114,272,1903,226"/>
<area shape="rect" href="component__options_8cpp.html" title=" " alt="" coords="1445,365,1627,405"/>
<area shape="poly" title=" " alt="" coords="1782,235,1749,274,1707,311,1652,344,1596,367,1594,362,1649,339,1704,307,1745,270,1778,231"/>
<area shape="poly" title=" " alt="" coords="1763,231,1707,271,1686,293,1661,312,1601,336,1550,345,1498,349,1434,360,1404,367,1403,362,1433,355,1498,344,1549,339,1599,330,1659,307,1682,289,1704,267,1759,227"/>
<area shape="poly" title=" " alt="" coords="1699,226,1486,272,1329,313,1207,350,1085,384,926,415,815,430,720,438,559,442,397,445,302,451,191,463,179,464,179,459,190,457,302,446,397,440,558,437,720,433,814,424,925,409,1084,378,1206,345,1327,308,1485,267,1698,221"/>
<area shape="rect" href="animation_8cpp.html" title=" " alt="" coords="1498,269,1649,309"/>
<area shape="poly" title=" " alt="" coords="1739,229,1624,272,1622,267,1737,224"/>
<area shape="rect" href="component_8hpp.html" title=" " alt="" coords="1955,365,2133,405"/>
<area shape="poly" title=" " alt="" coords="1916,313,2009,362,2007,367,1913,318"/>
<area shape="poly" title=" " alt="" coords="1972,294,2016,302,2061,314,2106,331,2147,355,2172,379,2192,407,2217,459,2212,461,2188,410,2168,382,2144,359,2104,336,2060,319,2015,307,1971,299"/>
<area shape="poly" title=" " alt="" coords="1972,299,2493,358,2835,404,3182,457,3194,460,3193,465,3181,463,2834,409,2492,363,1971,304"/>
<area shape="rect" href="collapsible_8cpp.html" title=" " alt="" coords="1447,460,1598,500"/>
<area shape="poly" title=" " alt="" coords="1856,323,1828,370,1809,394,1785,414,1759,425,1713,438,1599,465,1598,460,1712,433,1758,420,1783,410,1805,390,1824,367,1851,320"/>
<area shape="rect" href="dropdown_8cpp.html" title=" " alt="" coords="1622,460,1773,500"/>
<area shape="poly" title=" " alt="" coords="1868,324,1859,369,1850,392,1837,414,1803,443,1765,462,1762,458,1800,438,1833,410,1845,390,1854,367,1863,323"/>
<area shape="poly" title=" " alt="" coords="1808,317,1771,336,1735,359,1721,374,1712,388,1701,402,1684,414,1653,424,1606,431,1473,442,1304,449,1115,453,756,456,621,458,540,463,529,464,528,459,540,457,620,453,755,451,1115,447,1304,444,1473,437,1605,426,1652,419,1682,410,1698,398,1707,385,1716,371,1732,355,1768,332,1806,313"/>
<area shape="poly" title=" " alt="" coords="1972,309,2216,357,2507,409,2670,433,2832,457,2845,460,2844,465,2832,463,2669,438,2506,415,2215,362,1971,314"/>
<area shape="poly" title=" " alt="" coords="1884,321,1909,365,1945,410,1977,437,2011,458,2008,462,1974,441,1941,414,1905,368,1879,323"/>
<area shape="poly" title=" " alt="" coords="1832,320,1786,359,1772,375,1763,389,1752,403,1735,414,1699,428,1656,439,1556,452,1441,458,1317,459,1076,456,972,457,890,463,879,464,878,459,889,457,972,451,1076,450,1317,454,1441,453,1556,447,1655,433,1697,423,1732,410,1749,399,1759,386,1768,372,1782,355,1829,316"/>
<area shape="poly" title=" " alt="" coords="1774,316,1728,334,1684,359,1671,373,1664,387,1656,402,1640,414,1606,425,1554,434,1406,446,1217,453,1007,456,606,457,455,458,366,463,355,464,354,459,365,457,455,453,606,451,1007,451,1217,448,1406,441,1553,429,1604,420,1637,410,1652,398,1659,385,1667,370,1681,355,1726,330,1772,311"/>
<area shape="poly" title=" " alt="" coords="1787,316,1604,367,1602,362,1786,311"/>
<area shape="poly" title=" " alt="" coords="2093,409,2187,458,2184,462,2091,413"/>
<area shape="poly" title=" " alt="" coords="2129,406,2326,457,2324,463,2128,411"/>
<area shape="poly" title=" " alt="" coords="2147,389,2725,424,3014,443,3182,457,3194,459,3193,465,3181,463,3014,448,2724,429,2147,395"/>
<area shape="poly" title=" " alt="" coords="1942,405,1610,463,1599,465,1598,460,1609,457,1941,400"/>
<area shape="poly" title=" " alt="" coords="1941,399,1784,415,1637,427,1522,434,1407,443,1260,463,1249,464,1248,459,1260,457,1406,438,1521,428,1636,421,1784,409,1940,394"/>
<area shape="rect" href="component__fuzzer_8cpp.html" title=" " alt="" coords="902,460,1074,500"/>
<area shape="poly" title=" " alt="" coords="1941,400,1784,415,1588,428,1434,433,1281,442,1086,463,1075,464,1074,459,1085,457,1281,437,1434,428,1587,422,1784,409,1940,394"/>
<area shape="poly" title=" " alt="" coords="2147,384,2367,388,2667,399,3010,421,3185,437,3356,457,3369,459,3368,464,3356,463,3184,442,3009,426,2667,404,2367,393,2147,389"/>
<area shape="poly" title=" " alt="" coords="1961,411,1768,463,1767,457,1960,406"/>
<area shape="poly" title=" " alt="" coords="2147,400,2483,457,2495,460,2494,465,2482,463,2147,405"/>
<area shape="poly" title=" " alt="" coords="1941,398,1734,415,1552,423,1397,427,1135,426,1009,427,874,432,721,443,540,463,529,464,528,459,540,457,720,437,874,426,1009,421,1135,421,1397,421,1551,418,1733,409,1941,393"/>
<area shape="poly" title=" " alt="" coords="2147,393,2381,419,2658,457,2670,460,2669,465,2657,463,2381,424,2147,398"/>
<area shape="poly" title=" " alt="" coords="2148,389,2455,413,2644,432,2832,457,2845,459,2844,465,2832,463,2643,438,2455,418,2147,395"/>
<area shape="poly" title=" " alt="" coords="2147,390,2596,420,2834,439,3007,457,3019,459,3019,465,3006,463,2833,444,2595,425,2147,395"/>
<area shape="poly" title=" " alt="" coords="2048,418,2049,460,2043,460,2042,418"/>
<area shape="poly" title=" " alt="" coords="2147,383,2393,385,2737,395,3131,417,3333,435,3531,457,3543,459,3543,464,3530,463,3333,440,3131,423,2736,400,2393,390,2147,388"/>
<area shape="poly" title=" " alt="" coords="1941,400,1784,415,1532,428,1336,430,1140,437,1025,447,890,463,879,464,878,459,889,457,1025,441,1140,432,1336,425,1532,422,1784,409,1940,395"/>
<area shape="poly" title=" " alt="" coords="1941,397,1683,415,1482,423,1312,425,1023,423,883,424,734,429,565,441,366,463,355,464,354,459,365,457,565,436,734,424,883,419,1023,418,1312,420,1482,418,1683,409,1941,392"/>
<area shape="rect" href="component_2util_8cpp.html" title=" " alt="" coords="1797,460,1947,500"/>
<area shape="poly" title=" " alt="" coords="1999,413,1908,462,1905,458,1996,409"/>
<area shape="rect" href="window_8cpp.html" title=" " alt="" coords="1273,460,1423,500"/>
<area shape="poly" title=" " alt="" coords="1941,398,1709,424,1435,463,1424,465,1423,459,1434,457,1708,419,1941,393"/>
<area shape="poly" title=" " alt="" coords="1412,405,1434,409,1539,424,1629,432,1783,436,1937,439,2027,445,2134,457,2146,459,2145,465,2133,463,2027,450,1937,444,1783,441,1629,437,1539,429,1433,415,1411,410"/>
<area shape="poly" title=" " alt="" coords="1290,414,1207,462,1204,458,1287,409"/>
<area shape="poly" title=" " alt="" coords="1411,405,1434,409,1592,429,1727,438,1846,439,1957,437,2069,434,2188,435,2324,441,2483,457,2495,459,2495,464,2482,463,2323,446,2188,440,2069,440,1958,442,1846,445,1727,443,1592,434,1433,415,1410,410"/>
<area shape="poly" title=" " alt="" coords="1229,402,1123,415,959,428,831,434,703,443,540,463,529,464,528,459,540,457,703,438,831,429,959,423,1122,409,1229,397"/>
<area shape="poly" title=" " alt="" coords="1410,405,1434,409,1645,434,1825,444,1984,443,2132,438,2280,432,2440,430,2620,437,2832,457,2845,459,2844,464,2832,463,2620,443,2440,436,2281,438,2132,444,1984,449,1825,449,1645,439,1433,415,1409,410"/>
<area shape="poly" title=" " alt="" coords="1412,405,1434,409,1581,429,1696,435,1811,441,1959,457,1971,459,1970,465,1958,463,1811,446,1696,440,1580,434,1433,415,1411,410"/>
<area shape="poly" title=" " alt="" coords="1229,400,1072,415,873,427,718,432,563,440,366,463,355,464,354,459,365,457,563,435,718,427,873,422,1072,409,1228,394"/>
<area shape="poly" title=" " alt="" coords="1340,417,1347,459,1342,460,1335,418"/>
<area shape="rect" href="loop_8cpp.html" title=" " alt="" coords="553,460,703,500"/>
<area shape="poly" title=" " alt="" coords="1229,402,1123,415,919,436,829,446,715,463,704,465,703,459,714,457,829,440,918,430,1122,409,1229,396"/>
<area shape="poly" title=" " alt="" coords="1229,398,1022,415,788,427,605,432,424,440,191,463,179,464,179,459,190,457,423,434,605,426,787,421,1021,409,1229,393"/>
<area shape="poly" title=" " alt="" coords="937,224,1286,362,1284,367,935,229"/>
<area shape="poly" title=" " alt="" coords="799,228,660,272,364,378,141,462,139,457,362,373,658,267,798,223"/>
<area shape="poly" title=" " alt="" coords="811,229,765,248,720,272,649,321,594,367,591,362,646,316,717,267,763,243,809,224"/>
<area shape="poly" title=" " alt="" coords="862,235,842,270,837,268,857,232"/>
<area shape="poly" title=" " alt="" coords="878,314,903,333,927,356,947,382,963,410,984,459,979,461,958,412,942,384,923,359,900,337,874,319"/>
<area shape="poly" title=" " alt="" coords="788,319,734,359,720,375,711,389,700,402,683,414,637,430,579,440,440,451,299,455,191,463,179,464,179,459,190,457,299,450,440,446,578,435,636,425,680,410,696,398,706,386,716,371,730,355,785,315"/>
<area shape="poly" title=" " alt="" coords="765,317,625,367,623,362,763,312"/>
<area shape="rect" href="terminal__input__parser__test__fuzzer_8cpp.html" title=" " alt="" coords="745,357,914,412"/>
<area shape="poly" title=" " alt="" coords="832,323,832,357,827,357,827,323"/>
</map>
</div>
</div>
<p><a href="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">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structftxui_1_1Mouse.html">Mouse</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A mouse event. It contains the coordinate of the mouse, the button pressed and the modifier (shift, ctrl, meta). <a href="structftxui_1_1Mouse.html#details">More...</a><br /></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>
</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>