Files
FTXUI/en/v0.9/screen_2deprecated_8hpp.html
2025-11-12 12:56:59 +00:00

259 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
&#160;<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&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('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> &#124;
<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="2475,5,2625,45"/>
<area shape="rect" href="string_8hpp.html" title=" " alt="" coords="2419,93,2569,133"/>
<area shape="poly" title=" " alt="" coords="2532,58,2509,95,2504,92,2528,56"/>
<area shape="rect" href="string_8cpp.html" title=" " alt="" coords="2707,189,2897,214"/>
<area shape="poly" title=" " alt="" coords="2590,51,2787,186,2784,191,2587,55"/>
<area shape="rect" href="ref_8hpp.html" title=" " alt="" coords="2004,181,2131,221"/>
<area shape="poly" title=" " alt="" coords="2406,135,2131,190,2130,185,2405,130"/>
<area shape="rect" href="input_8cpp.html" title=" " alt="" coords="1792,533,1943,573"/>
<area shape="poly" title=" " alt="" coords="2497,147,2497,288,2497,379,2495,413,2489,441,2474,465,2449,488,2410,507,2356,523,2290,534,2218,543,2069,552,1943,555,1943,550,2069,547,2217,538,2289,529,2354,518,2408,502,2446,483,2470,461,2484,439,2490,412,2491,379,2491,288,2491,147"/>
<area shape="rect" href="event_8cpp.html" title=" " alt="" coords="2532,181,2683,221"/>
<area shape="poly" title=" " alt="" coords="2531,140,2584,179,2581,183,2528,144"/>
<area shape="rect" href="text_8cpp.html" title=" " alt="" coords="1596,189,1760,214"/>
<area shape="poly" title=" " alt="" coords="2406,123,2123,144,1948,162,1773,184,1731,191,1730,186,1772,179,1948,156,2123,139,2405,117"/>
<area shape="rect" href="screen_8cpp.html" title=" " alt="" coords="1785,189,1979,214"/>
<area shape="poly" title=" " alt="" coords="2406,128,1992,184,1947,191,1946,186,1991,179,2405,123"/>
<area shape="poly" title=" " alt="" coords="2576,134,2762,186,2760,191,2574,140"/>
<area shape="rect" href="component_8hpp.html" title=" " alt="" coords="1119,357,1298,397"/>
<area shape="poly" title=" " alt="" coords="1991,224,1601,305,1299,362,1298,357,1600,299,1990,219"/>
<area shape="poly" title=" " alt="" coords="2141,223,2253,267,2312,295,2366,328,2409,364,2425,383,2436,403,2442,423,2441,444,2434,466,2418,487,2394,500,2350,511,2222,530,2073,543,1943,551,1943,546,2073,537,2222,524,2349,506,2392,495,2415,483,2429,463,2436,443,2436,424,2431,405,2420,386,2405,367,2363,332,2309,300,2251,272,2139,228"/>
<area shape="rect" href="button_8cpp.html" title=" " alt="" coords="1905,445,2056,485"/>
<area shape="poly" title=" " alt="" coords="2059,235,1989,446,1984,444,2054,234"/>
<area shape="rect" href="checkbox_8cpp.html" title=" " alt="" coords="180,445,331,485"/>
<area shape="poly" title=" " alt="" coords="1990,224,1873,230,1695,233,1240,237,797,247,634,257,576,263,537,272,496,288,456,309,381,358,319,407,276,447,272,443,316,403,378,353,453,304,494,283,536,267,575,258,633,251,797,241,1240,232,1695,228,1873,224,1990,218"/>
<area shape="rect" href="menu_8cpp.html" title=" " alt="" coords="2080,445,2231,485"/>
<area shape="poly" title=" " alt="" coords="2080,233,2151,444,2146,446,2075,235"/>
<area shape="rect" href="radiobox_8cpp.html" title=" " alt="" coords="355,445,505,485"/>
<area shape="poly" title=" " alt="" coords="1991,224,1805,244,1647,250,1508,249,1378,243,1248,238,1110,238,954,248,772,272,682,282,610,289,577,297,544,310,511,330,475,359,458,379,447,402,435,446,430,444,442,400,454,376,471,355,508,326,542,305,575,292,609,284,681,277,771,267,954,243,1110,233,1248,233,1378,238,1508,243,1647,245,1805,238,1990,218"/>
<area shape="rect" href="slider_8cpp.html" title=" " alt="" coords="2255,445,2405,485"/>
<area shape="poly" title=" " alt="" coords="2098,229,2313,443,2309,447,2094,233"/>
<area shape="rect" href="toggle_8cpp.html" title=" " alt="" coords="5,445,156,485"/>
<area shape="poly" title=" " alt="" coords="1990,224,1834,235,1643,238,1206,232,984,230,776,234,593,247,515,258,448,272,396,288,345,309,247,358,165,408,108,447,105,443,163,403,245,353,342,304,394,283,447,267,514,252,593,241,776,229,984,225,1206,227,1643,233,1833,230,1990,218"/>
<area shape="rect" href="component__options_8hpp.html" title=" " alt="" coords="784,269,967,309"/>
<area shape="poly" title=" " alt="" coords="1990,224,1843,243,1694,258,1404,279,1152,288,967,291,967,285,1152,283,1404,273,1693,253,1842,238,1990,219"/>
<area shape="rect" href="component_2deprecated_8hpp.html" title=" " alt="" coords="581,445,759,485"/>
<area shape="poly" title=" " alt="" coords="1106,395,760,448,759,448,758,443,759,443,1105,390"/>
<area shape="poly" title=" " alt="" coords="1312,384,1635,412,1775,428,1820,436,1842,443,1858,464,1867,488,1871,533,1866,534,1862,489,1853,466,1839,448,1819,441,1774,433,1634,417,1312,389"/>
<area shape="poly" title=" " alt="" coords="1312,383,1573,405,1730,422,1886,443,1905,446,1904,451,1886,448,1729,427,1573,411,1311,388"/>
<area shape="rect" href="catch__event_8cpp.html" title=" " alt="" coords="1308,445,1459,485"/>
<area shape="poly" title=" " alt="" coords="1260,401,1346,443,1344,448,1258,406"/>
<area shape="poly" title=" " alt="" coords="1106,385,766,404,554,422,342,448,331,450,330,444,342,443,554,417,765,398,1106,379"/>
<area shape="rect" href="component_8cpp.html" title=" " alt="" coords="1483,445,1633,485"/>
<area shape="poly" title=" " alt="" coords="1299,398,1483,443,1481,448,1298,403"/>
<area shape="rect" href="component__fuzzer_8cpp.html" title=" " alt="" coords="1657,445,1829,485"/>
<area shape="poly" title=" " alt="" coords="1312,391,1645,443,1658,445,1657,450,1644,448,1311,396"/>
<area shape="rect" href="container_8cpp.html" title=" " alt="" coords="784,445,935,485"/>
<area shape="poly" title=" " alt="" coords="1120,403,936,448,935,443,1118,398"/>
<area shape="poly" title=" " alt="" coords="1312,380,1649,399,1858,417,2068,443,2080,445,2079,450,2067,448,1857,423,1648,404,1312,385"/>
<area shape="poly" title=" " alt="" coords="1106,391,569,448,506,456,505,451,568,443,1105,386"/>
<area shape="rect" href="renderer_8cpp.html" title=" " alt="" coords="959,445,1109,485"/>
<area shape="poly" title=" " alt="" coords="1159,406,1073,448,1071,443,1157,401"/>
<area shape="rect" href="resizable__split_8cpp.html" title=" " alt="" coords="1133,445,1284,485"/>
<area shape="poly" title=" " alt="" coords="1211,411,1211,445,1206,445,1206,411"/>
<area shape="poly" title=" " alt="" coords="1312,378,1488,383,1720,394,1980,413,2242,443,2255,445,2254,450,2242,448,1980,419,1720,400,1488,388,1312,383"/>
<area shape="poly" title=" " alt="" coords="1105,383,928,388,694,399,432,418,168,448,157,450,156,444,167,443,431,413,694,394,928,383,1105,378"/>
<area shape="poly" title=" " alt="" coords="772,445,783,443,1119,390,1119,396,784,448,773,450"/>
<area shape="poly" title=" " alt="" coords="773,483,1072,512,1363,531,1613,543,1792,548,1792,553,1613,548,1363,537,1072,517,772,488"/>
<area shape="poly" title=" " alt="" coords="962,310,1136,355,1135,360,961,315"/>
<area shape="poly" title=" " alt="" coords="780,315,688,344,643,362,603,383,573,406,556,430,553,443,554,456,560,469,570,483,587,491,623,498,740,511,903,522,1095,531,1492,543,1792,548,1792,554,1492,548,1094,536,903,527,739,516,622,503,586,496,567,487,555,472,549,457,547,442,551,428,569,402,601,379,641,358,686,339,779,310"/>
<area shape="poly" title=" " alt="" coords="980,304,1872,443,1905,448,1904,454,1871,448,980,309"/>
<area shape="poly" title=" " alt="" coords="771,302,628,323,550,339,473,360,421,380,370,403,287,448,285,443,367,398,419,375,472,355,549,334,627,317,770,297"/>
<area shape="poly" title=" " alt="" coords="981,298,1453,351,1759,393,2068,443,2080,445,2079,450,2067,448,1758,398,1452,357,980,303"/>
<area shape="poly" title=" " alt="" coords="771,296,712,302,649,314,585,333,526,360,500,379,477,402,443,447,439,444,473,398,496,375,523,355,584,328,648,309,711,297,770,290"/>
<area shape="poly" title=" " alt="" coords="771,301,585,321,480,338,376,360,306,380,237,403,124,448,122,443,235,398,304,375,375,355,479,333,585,316,770,295"/>
</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 &#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="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&#160;</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">&#160;</td></tr>
<tr class="memitem:adedb4aa528ad2aef48177dea69ca7a9d" id="r_adedb4aa528ad2aef48177dea69ca7a9d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#adedb4aa528ad2aef48177dea69ca7a9d">wstring_width</a> (const std::wstring &amp;)</td></tr>
<tr class="separator:adedb4aa528ad2aef48177dea69ca7a9d"><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('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>