mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-11-15 11:38:56 +08:00
263 lines
16 KiB
HTML
263 lines
16 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/screen/deprecated.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.10.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('screen_2deprecated_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="#namespaces">Namespaces</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle"><div class="title">deprecated.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="screen_2deprecated_8hpp__dep__incl.png" border="0" usemap="#ainclude_2ftxui_2screen_2deprecated_8hppdep" alt=""/></div>
|
|
<map name="ainclude_2ftxui_2screen_2deprecated_8hppdep" id="ainclude_2ftxui_2screen_2deprecated_8hppdep">
|
|
<area shape="rect" title=" " alt="" coords="488,5,637,45"/>
|
|
<area shape="rect" href="string_8hpp.html" title=" " alt="" coords="432,93,581,133"/>
|
|
<area shape="poly" title=" " alt="" coords="545,58,521,95,517,92,541,56"/>
|
|
<area shape="rect" href="string_8cpp.html" title=" " alt="" coords="780,189,969,214"/>
|
|
<area shape="poly" title=" " alt="" coords="610,50,855,186,853,191,607,54"/>
|
|
<area shape="rect" href="ref_8hpp.html" title=" " alt="" coords="629,181,755,221"/>
|
|
<area shape="poly" title=" " alt="" coords="561,137,653,179,650,184,559,142"/>
|
|
<area shape="rect" href="input_8cpp.html" title=" " alt="" coords="587,533,738,573"/>
|
|
<area shape="poly" title=" " alt="" coords="418,118,315,123,201,134,100,153,62,167,35,183,17,206,10,229,11,288,11,379,15,415,28,441,51,462,83,483,122,500,177,514,314,533,462,544,587,548,587,554,462,549,314,538,176,519,121,505,80,488,47,466,24,444,10,416,5,379,5,288,5,228,12,204,32,179,59,162,99,148,200,128,314,117,418,113"/>
|
|
<area shape="rect" href="event_8cpp.html" title=" " alt="" coords="46,181,197,221"/>
|
|
<area shape="poly" title=" " alt="" coords="419,137,198,186,197,181,418,132"/>
|
|
<area shape="rect" href="text_8cpp.html" title=" " alt="" coords="221,189,385,214"/>
|
|
<area shape="poly" title=" " alt="" coords="450,141,331,191,329,186,448,136"/>
|
|
<area shape="rect" href="screen_8cpp.html" title=" " alt="" coords="409,189,604,214"/>
|
|
<area shape="poly" title=" " alt="" coords="509,147,509,188,504,188,504,147"/>
|
|
<area shape="poly" title=" " alt="" coords="595,132,826,186,825,191,594,138"/>
|
|
<area shape="rect" href="component_8hpp.html" title=" " alt="" coords="1385,357,1564,397"/>
|
|
<area shape="poly" title=" " alt="" coords="769,219,1386,355,1385,360,768,224"/>
|
|
<area shape="poly" title=" " alt="" coords="616,224,405,264,299,284,205,308,166,322,132,338,105,356,87,375,78,397,78,422,90,451,114,483,136,495,180,506,308,524,457,537,587,546,587,551,456,543,307,530,179,511,134,500,110,487,85,454,73,424,72,396,82,372,102,352,129,333,164,317,204,303,298,279,404,259,615,219"/>
|
|
<area shape="rect" href="button_8cpp.html" title=" " alt="" coords="125,445,275,485"/>
|
|
<area shape="poly" title=" " alt="" coords="616,227,541,251,485,272,407,315,333,364,224,447,221,443,330,360,404,311,483,267,539,246,615,222"/>
|
|
<area shape="rect" href="checkbox_8cpp.html" title=" " alt="" coords="299,445,450,485"/>
|
|
<area shape="poly" title=" " alt="" coords="617,228,574,247,534,271,486,315,444,363,388,446,383,443,440,360,482,311,530,267,572,242,615,223"/>
|
|
<area shape="rect" href="menu_8cpp.html" title=" " alt="" coords="474,445,625,485"/>
|
|
<area shape="poly" title=" " alt="" coords="617,224,582,243,567,256,554,271,544,292,537,315,533,364,538,409,546,444,541,446,533,410,528,364,532,314,539,290,550,268,563,252,579,238,614,219"/>
|
|
<area shape="rect" href="radiobox_8cpp.html" title=" " alt="" coords="2550,445,2701,485"/>
|
|
<area shape="poly" title=" " alt="" coords="769,219,947,247,1164,276,1662,334,2156,391,2368,417,2538,443,2550,445,2549,450,2537,448,2367,423,2155,396,1662,339,1163,281,946,252,768,224"/>
|
|
<area shape="rect" href="slider_8cpp.html" title=" " alt="" coords="2725,445,2875,485"/>
|
|
<area shape="poly" title=" " alt="" coords="770,219,915,239,1028,248,1141,254,1284,267,2001,339,2314,379,2714,443,2725,445,2724,450,2713,448,2313,384,2001,345,1284,272,1141,260,1028,253,914,244,769,224"/>
|
|
<area shape="rect" href="toggle_8cpp.html" title=" " alt="" coords="701,445,851,485"/>
|
|
<area shape="poly" title=" " alt="" coords="730,228,747,247,761,268,777,316,783,366,783,411,781,445,776,445,778,411,778,366,771,317,756,270,743,250,727,232"/>
|
|
<area shape="rect" href="component__options_8hpp.html" title=" " alt="" coords="565,269,747,309"/>
|
|
<area shape="poly" title=" " alt="" coords="681,235,666,270,662,268,676,233"/>
|
|
<area shape="rect" href="component_2deprecated_8hpp.html" title=" " alt="" coords="2347,445,2525,485"/>
|
|
<area shape="poly" title=" " alt="" coords="1578,381,1910,402,2116,419,2323,443,2347,446,2346,451,2322,448,2116,425,1910,407,1578,386"/>
|
|
<area shape="poly" title=" " alt="" coords="1578,385,1651,397,1715,417,1738,430,1751,446,1753,466,1739,487,1724,495,1695,501,1601,513,1315,532,990,545,738,553,738,547,990,540,1314,526,1600,507,1694,496,1722,489,1736,483,1747,464,1746,448,1734,434,1713,422,1650,403,1577,390"/>
|
|
<area shape="poly" title=" " alt="" coords="1371,382,1171,385,901,395,595,415,439,430,287,448,276,450,275,444,286,443,439,424,595,410,901,390,1171,380,1371,376"/>
|
|
<area shape="rect" href="catch__event_8cpp.html" title=" " alt="" coords="1801,445,1951,485"/>
|
|
<area shape="poly" title=" " alt="" coords="1577,398,1801,445,1800,451,1575,403"/>
|
|
<area shape="poly" title=" " alt="" coords="1372,383,1199,389,972,400,718,419,462,448,451,450,450,444,461,443,717,414,971,395,1198,383,1372,378"/>
|
|
<area shape="rect" href="component_8cpp.html" title=" " alt="" coords="1975,445,2126,485"/>
|
|
<area shape="poly" title=" " alt="" coords="1578,388,1759,411,1964,443,1976,445,1975,450,1964,448,1758,416,1578,393"/>
|
|
<area shape="rect" href="component__fuzzer_8cpp.html" title=" " alt="" coords="2150,445,2322,485"/>
|
|
<area shape="poly" title=" " alt="" coords="1578,383,1833,406,2139,443,2150,444,2149,450,2138,448,1833,411,1577,389"/>
|
|
<area shape="rect" href="container_8cpp.html" title=" " alt="" coords="875,445,1026,485"/>
|
|
<area shape="poly" title=" " alt="" coords="1372,395,1214,418,1038,448,1027,450,1026,445,1037,443,1214,413,1371,390"/>
|
|
<area shape="rect" href="dropdown_8cpp.html" title=" " alt="" coords="1050,445,1201,485"/>
|
|
<area shape="poly" title=" " alt="" coords="1386,403,1202,448,1201,443,1384,398"/>
|
|
<area shape="rect" href="maybe_8cpp.html" title=" " alt="" coords="1225,445,1375,485"/>
|
|
<area shape="poly" title=" " alt="" coords="1425,406,1339,448,1337,443,1423,401"/>
|
|
<area shape="poly" title=" " alt="" coords="1371,388,1065,412,688,448,625,456,624,451,688,443,1065,407,1371,383"/>
|
|
<area shape="poly" title=" " alt="" coords="1578,382,2116,412,2383,430,2538,443,2550,445,2549,450,2537,448,2383,435,2116,418,1578,387"/>
|
|
<area shape="rect" href="renderer_8cpp.html" title=" " alt="" coords="1399,445,1550,485"/>
|
|
<area shape="poly" title=" " alt="" coords="1477,411,1477,445,1472,445,1472,411"/>
|
|
<area shape="rect" href="resizable__split_8cpp.html" title=" " alt="" coords="1574,445,1725,485"/>
|
|
<area shape="poly" title=" " alt="" coords="1526,401,1612,443,1610,448,1524,406"/>
|
|
<area shape="poly" title=" " alt="" coords="1578,376,1786,379,2069,389,2389,409,2553,424,2714,443,2725,444,2724,450,2713,448,2553,429,2389,414,2068,394,1786,384,1578,381"/>
|
|
<area shape="poly" title=" " alt="" coords="1372,389,1139,412,863,448,852,450,851,445,862,443,1138,406,1371,384"/>
|
|
<area shape="poly" title=" " alt="" coords="2334,446,2116,423,1902,405,1564,385,1565,380,1902,399,2117,417,2334,441"/>
|
|
<area shape="poly" title=" " alt="" coords="2334,488,2096,511,1855,528,1391,548,999,555,738,555,738,550,999,550,1390,543,1854,522,2096,505,2333,483"/>
|
|
<area shape="poly" title=" " alt="" coords="761,299,1385,364,1385,369,761,304"/>
|
|
<area shape="poly" title=" " alt="" coords="659,323,665,533,660,533,654,323"/>
|
|
<area shape="poly" title=" " alt="" coords="595,317,250,448,248,443,593,312"/>
|
|
<area shape="poly" title=" " alt="" coords="615,319,407,447,404,443,612,314"/>
|
|
<area shape="poly" title=" " alt="" coords="639,323,563,447,559,444,635,320"/>
|
|
<area shape="poly" title=" " alt="" coords="761,295,1576,355,2057,396,2358,423,2538,443,2550,445,2549,450,2537,448,2357,429,2057,401,1576,360,761,300"/>
|
|
<area shape="poly" title=" " alt="" coords="679,319,765,444,761,447,675,322"/>
|
|
</map>
|
|
</div>
|
|
</div>
|
|
<p><a href="screen_2deprecated_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="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="func-members" name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:a1bb4947f62228380f5c415f69b34021f" id="r_a1bb4947f62228380f5c415f69b34021f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#a1bb4947f62228380f5c415f69b34021f">wchar_width</a> (wchar_t)</td></tr>
|
|
<tr class="separator:a1bb4947f62228380f5c415f69b34021f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adedb4aa528ad2aef48177dea69ca7a9d" id="r_adedb4aa528ad2aef48177dea69ca7a9d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#adedb4aa528ad2aef48177dea69ca7a9d">wstring_width</a> (const std::wstring &)</td></tr>
|
|
<tr class="separator:adedb4aa528ad2aef48177dea69ca7a9d"><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": "../v0.9/index.html", "v0.11": "../v0.11/index.html", "v0.10": "index.html"};
|
|
const currentVersion = "v0.10";
|
|
|
|
// 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>
|