mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-11-15 11:38:56 +08:00
269 lines
18 KiB
HTML
269 lines
18 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/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
|
|
 <span id="projectnumber">0.9.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('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> |
|
|
<a href="#namespaces">Namespaces</a> |
|
|
<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="1643,5,1821,45"/>
|
|
<area shape="rect" href="component__base_8hpp.html" title=" " alt="" coords="1205,93,1384,133"/>
|
|
<area shape="poly" title=" " alt="" coords="1630,49,1384,97,1383,92,1629,44"/>
|
|
<area shape="rect" href="input_8cpp.html" title=" " alt="" coords="1346,357,1497,397"/>
|
|
<area shape="poly" title=" " alt="" coords="1835,24,1962,26,2116,33,2281,47,2438,71,2509,87,2571,107,2623,130,2663,157,2687,188,2693,206,2695,225,2691,245,2682,266,2648,311,2631,319,2597,327,2487,339,2155,359,1781,371,1497,377,1497,372,1781,366,2155,353,2487,334,2596,321,2629,314,2645,307,2678,263,2686,243,2689,224,2688,207,2683,191,2659,161,2621,134,2569,112,2507,92,2437,76,2280,53,2116,38,1961,31,1835,29"/>
|
|
<area shape="rect" href="button_8cpp.html" title=" " alt="" coords="910,269,1061,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1629,34,1515,43,1389,55,1275,73,1229,83,1194,96,1162,113,1131,135,1076,183,1031,232,1001,271,997,267,1027,229,1072,180,1128,131,1159,109,1192,91,1227,78,1274,67,1389,50,1514,37,1629,29"/>
|
|
<area shape="rect" href="checkbox_8cpp.html" title=" " alt="" coords="211,269,362,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1628,32,1493,37,1323,49,1137,68,951,96,772,136,598,185,448,234,338,272,336,267,446,229,597,180,771,131,950,91,1136,62,1323,43,1493,32,1628,26"/>
|
|
<area shape="rect" href="component_8cpp.html" title=" " alt="" coords="1885,269,2035,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1752,56,1807,146,1837,190,1860,219,1892,246,1925,267,1923,272,1889,250,1857,223,1832,193,1803,149,1748,59"/>
|
|
<area shape="rect" href="menu_8cpp.html" title=" " alt="" coords="1710,269,1861,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1741,58,1784,268,1779,270,1736,59"/>
|
|
<area shape="rect" href="radiobox_8cpp.html" title=" " alt="" coords="2059,269,2210,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1812,47,1871,69,1937,98,2003,135,2063,179,2102,224,2127,268,2123,270,2097,228,2059,183,2000,139,1934,103,1869,74,1810,52"/>
|
|
<area shape="rect" href="renderer_8cpp.html" title=" " alt="" coords="37,269,187,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1629,29,1464,33,1251,42,1013,62,893,77,775,96,596,136,422,185,271,233,163,272,161,267,270,228,420,180,595,130,774,91,892,72,1013,57,1250,37,1464,27,1629,24"/>
|
|
<area shape="rect" href="resizable__split_8cpp.html" title=" " alt="" coords="386,269,537,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1629,35,1398,56,1262,73,1127,96,949,138,775,187,514,272,513,267,774,182,948,132,1126,91,1261,68,1397,50,1629,30"/>
|
|
<area shape="rect" href="slider_8cpp.html" title=" " alt="" coords="2286,269,2437,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1831,46,1903,66,1977,91,2081,135,2181,184,2331,267,2328,271,2178,189,2078,140,1975,96,1901,71,1829,51"/>
|
|
<area shape="rect" href="toggle_8cpp.html" title=" " alt="" coords="1535,269,1686,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1720,59,1622,270,1617,268,1715,57"/>
|
|
<area shape="rect" href="screen__interactive_8cpp.html" title=" " alt="" coords="2461,269,2635,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1835,42,1935,63,2041,91,2176,135,2307,184,2506,267,2504,272,2305,189,2174,140,2039,96,1934,69,1834,47"/>
|
|
<area shape="rect" href="screen__interactive_8hpp.html" title=" " alt="" coords="1871,181,2049,221"/>
|
|
<area shape="poly" title=" " alt="" coords="1786,50,1853,91,1906,137,1946,179,1942,183,1902,141,1850,95,1783,54"/>
|
|
<area shape="rect" href="component_8hpp.html" title=" " alt="" coords="1205,181,1384,221"/>
|
|
<area shape="poly" title=" " alt="" coords="1297,147,1297,181,1292,181,1292,147"/>
|
|
<area shape="poly" title=" " alt="" coords="1192,117,847,124,634,134,422,150,234,175,156,190,91,209,43,229,15,253,9,265,9,278,14,292,26,307,44,315,83,323,210,337,387,348,595,356,1025,368,1345,373,1345,378,1025,373,595,362,387,353,209,342,82,328,42,321,22,311,9,295,4,279,4,264,11,250,41,225,89,204,154,185,233,170,422,145,633,129,847,119,1192,112"/>
|
|
<area shape="poly" title=" " alt="" coords="1256,143,1195,184,1135,224,1033,272,1031,267,1132,219,1192,179,1253,139"/>
|
|
<area shape="rect" href="catch__event_8cpp.html" title=" " alt="" coords="561,269,711,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1193,134,1108,155,1021,184,1002,194,989,204,975,214,956,224,892,245,841,254,789,261,723,272,712,274,711,269,722,267,788,255,840,249,891,240,954,219,972,209,986,199,999,189,1019,179,1106,149,1191,129"/>
|
|
<area shape="poly" title=" " alt="" coords="1192,133,829,190,374,272,363,274,362,269,373,267,829,185,1191,128"/>
|
|
<area shape="poly" title=" " alt="" coords="1384,134,1559,179,1891,267,1890,272,1558,184,1382,139"/>
|
|
<area shape="rect" href="container_8cpp.html" title=" " alt="" coords="735,269,886,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1237,141,1021,224,874,272,872,267,1019,219,1235,136"/>
|
|
<area shape="poly" title=" " alt="" coords="1361,135,1733,267,1731,272,1359,140"/>
|
|
<area shape="poly" title=" " alt="" coords="1398,131,1648,179,2059,268,2058,273,1647,184,1397,136"/>
|
|
<area shape="poly" title=" " alt="" coords="1192,125,943,148,647,184,520,205,422,224,199,272,188,274,187,269,198,267,421,219,519,199,646,179,943,142,1191,120"/>
|
|
<area shape="poly" title=" " alt="" coords="1192,130,1077,151,955,184,933,194,916,204,899,214,875,224,785,246,713,255,640,260,548,272,537,274,536,269,547,267,640,254,713,249,784,241,874,219,897,209,913,199,930,189,954,179,1076,146,1191,125"/>
|
|
<area shape="poly" title=" " alt="" coords="1398,113,1531,117,1698,128,1880,147,2062,179,2134,198,2206,221,2320,267,2318,272,2204,226,2133,203,2061,184,1879,153,1697,133,1531,122,1398,118"/>
|
|
<area shape="poly" title=" " alt="" coords="1342,138,1577,267,1575,271,1339,142"/>
|
|
<area shape="poly" title=" " alt="" coords="1398,114,1545,120,1732,131,1940,150,2147,179,2243,198,2337,222,2492,267,2490,272,2336,227,2242,203,2146,184,1939,155,1732,136,1545,125,1398,119"/>
|
|
<area shape="rect" href="component_2deprecated_8hpp.html" title=" " alt="" coords="1332,269,1511,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1328,227,1387,267,1384,271,1325,232"/>
|
|
<area shape="poly" title=" " alt="" coords="1299,235,1306,272,1322,308,1348,335,1380,355,1377,359,1345,339,1318,311,1301,273,1293,236"/>
|
|
<area shape="poly" title=" " alt="" coords="1214,228,1054,272,1052,267,1213,222"/>
|
|
<area shape="poly" title=" " alt="" coords="1192,214,975,237,723,272,712,274,711,269,722,267,975,232,1191,209"/>
|
|
<area shape="poly" title=" " alt="" coords="1191,211,763,237,538,255,374,272,362,274,362,268,373,267,537,249,763,232,1191,206"/>
|
|
<area shape="poly" title=" " alt="" coords="1398,209,1617,232,1874,267,1885,269,1884,274,1873,272,1616,237,1397,214"/>
|
|
<area shape="rect" href="component__fuzzer_8cpp.html" title=" " alt="" coords="1085,269,1257,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1257,231,1199,271,1196,267,1254,227"/>
|
|
<area shape="poly" title=" " alt="" coords="1192,221,898,272,887,274,886,269,897,267,1191,216"/>
|
|
<area shape="poly" title=" " alt="" coords="1398,216,1699,267,1710,269,1709,274,1698,272,1397,221"/>
|
|
<area shape="poly" title=" " alt="" coords="1398,205,1691,226,1870,243,2048,267,2059,269,2059,274,2047,272,1869,249,1691,231,1398,210"/>
|
|
<area shape="poly" title=" " alt="" coords="1191,206,1005,211,758,222,479,241,199,272,188,274,187,268,198,267,479,236,758,216,1005,206,1191,201"/>
|
|
<area shape="poly" title=" " alt="" coords="1192,211,901,231,725,249,548,272,537,274,536,269,547,267,724,244,901,226,1191,205"/>
|
|
<area shape="poly" title=" " alt="" coords="1398,205,1763,228,1992,245,2223,267,2286,274,2285,280,2222,272,1992,251,1762,233,1398,211"/>
|
|
<area shape="poly" title=" " alt="" coords="1378,222,1542,267,1541,272,1377,228"/>
|
|
<area shape="poly" title=" " alt="" coords="1388,263,1328,224,1331,219,1391,259"/>
|
|
<area shape="poly" title=" " alt="" coords="1424,323,1424,357,1419,357,1419,323"/>
|
|
<area shape="poly" title=" " alt="" coords="2063,220,2165,244,2204,256,2225,268,2234,289,2232,301,2224,311,2210,321,2186,330,2116,344,2022,355,1913,364,1684,374,1497,378,1497,373,1684,369,1913,359,2021,350,2115,339,2184,325,2207,316,2221,307,2227,299,2228,290,2221,271,2202,261,2164,249,2062,225"/>
|
|
<area shape="poly" title=" " alt="" coords="1856,208,1508,227,1290,246,1072,272,1061,274,1060,268,1072,267,1290,240,1507,222,1856,203"/>
|
|
<area shape="poly" title=" " alt="" coords="1963,235,1963,269,1957,269,1957,235"/>
|
|
<area shape="poly" title=" " alt="" coords="1911,230,1825,272,1822,267,1908,225"/>
|
|
<area shape="poly" title=" " alt="" coords="2011,225,2097,267,2095,272,2009,230"/>
|
|
<area shape="poly" title=" " alt="" coords="2062,222,2286,269,2285,275,2061,227"/>
|
|
<area shape="poly" title=" " alt="" coords="2063,213,2244,236,2450,267,2461,269,2460,274,2449,272,2243,241,2063,218"/>
|
|
</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  </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"> </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><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 </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#a24b663cb6b0b262055c94d3a03bdd274">CapturedMouse</a> = std::unique_ptr<<a class="el" href="classftxui_1_1CapturedMouseInterface.html">CapturedMouseInterface</a>></td></tr>
|
|
<tr class="separator:a24b663cb6b0b262055c94d3a03bdd274"><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": "../v3.0.0/index.html", "v2.0.0": "../v2.0.0/index.html", "v0.9": "index.html", "v0.11": "../v0.11/index.html", "v0.10": "../v0.10/index.html"};
|
|
const currentVersion = "v0.9";
|
|
|
|
// 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>
|