mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-12-16 01:48:56 +08:00
424 lines
41 KiB
HTML
424 lines
41 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/string.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">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&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('string_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">string.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="string_8hpp__dep__incl.png" border="0" usemap="#ainclude_2ftxui_2screen_2string_8hppdep" alt=""/></div>
|
||
|
|
<map name="ainclude_2ftxui_2screen_2string_8hppdep" id="ainclude_2ftxui_2screen_2string_8hppdep">
|
||
|
|
<area shape="rect" title=" " alt="" coords="5876,5,6025,45"/>
|
||
|
|
<area shape="rect" href="ref_8hpp.html" title=" " alt="" coords="601,93,727,133"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="5862,31,728,114,727,108,5862,25"/>
|
||
|
|
<area shape="rect" href="input_8cpp.html" title=" " alt="" coords="5346,519,5497,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="5953,59,5953,193,5953,364,5950,382,5939,399,5923,415,5902,429,5847,455,5780,477,5706,496,5630,511,5498,531,5497,526,5629,505,5704,490,5778,472,5845,450,5899,424,5920,410,5935,396,5945,380,5948,364,5948,193,5948,59"/>
|
||
|
|
<area shape="rect" href="text_8cpp.html" title=" " alt="" coords="5135,350,5299,375"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="5943,60,5892,191,5859,256,5842,280,5826,297,5785,317,5728,332,5661,344,5586,353,5431,362,5299,365,5299,359,5431,357,5585,348,5660,339,5727,327,5783,312,5822,292,5838,277,5854,253,5887,189,5938,58"/>
|
||
|
|
<area shape="rect" href="canvas_8cpp.html" title=" " alt="" coords="5628,262,5812,287"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="5915,56,5870,95,5826,142,5786,190,5730,263,5726,260,5782,187,5822,138,5866,91,5912,52"/>
|
||
|
|
<area shape="rect" href="event_8cpp.html" title=" " alt="" coords="5989,93,6139,133"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="5988,52,6041,91,6037,95,5985,56"/>
|
||
|
|
<area shape="rect" href="screen_8cpp.html" title=" " alt="" coords="6164,101,6359,126"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="6033,46,6221,98,6219,103,6031,52"/>
|
||
|
|
<area shape="rect" href="string_8cpp.html" title=" " alt="" coords="6383,101,6572,126"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="6039,38,6371,91,6414,98,6413,103,6370,96,6038,43"/>
|
||
|
|
<area shape="rect" href="component_8hpp.html" title=" " alt="" coords="1907,431,2085,471"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="741,114,1746,137,3265,179,3358,179,3466,175,3720,158,4007,136,4309,119,4459,114,4607,113,4748,117,4881,128,5004,146,5114,172,5208,207,5249,228,5286,253,5304,272,5311,292,5315,342,5320,364,5320,374,5314,385,5272,396,5178,405,4857,421,4404,432,3873,441,2802,450,2086,452,2086,447,2802,444,3873,435,4404,427,4857,415,5178,400,5271,391,5310,381,5315,373,5315,365,5309,343,5305,293,5299,275,5282,257,5247,233,5206,212,5112,177,5003,151,4881,133,4748,123,4606,118,4459,119,4309,124,4007,142,3720,163,3466,180,3358,184,3265,184,1746,142,741,119"/>
|
||
|
|
<area shape="rect" href="button_8cpp.html" title=" " alt="" coords="1397,519,1547,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="699,140,799,214,863,255,929,292,969,309,1001,318,1034,326,1076,340,1181,386,1284,435,1439,516,1436,521,1281,440,1179,391,1074,345,1033,331,1000,323,967,314,927,297,860,260,796,219,696,144"/>
|
||
|
|
<area shape="rect" href="checkbox_8cpp.html" title=" " alt="" coords="4877,519,5027,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="741,112,1763,121,2551,131,3401,145,4222,166,4921,193,5197,209,5408,228,5544,248,5580,259,5590,266,5593,273,5593,365,5588,372,5575,380,5527,398,5373,442,5028,523,5027,518,5372,437,5526,393,5572,375,5584,368,5588,363,5588,274,5586,269,5577,264,5542,253,5408,233,5197,215,4921,198,4221,171,3401,151,2551,136,1763,126,741,118"/>
|
||
|
|
<area shape="rect" href="collapsible_8cpp.html" title=" " alt="" coords="1047,519,1198,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="589,138,555,156,527,183,504,222,491,261,487,299,491,336,504,371,525,405,554,438,589,468,627,487,678,499,739,506,805,509,936,510,1036,516,1048,518,1047,523,1036,521,935,516,805,514,739,511,677,504,625,492,587,473,550,442,521,409,500,374,486,337,481,299,486,260,499,220,523,180,552,152,586,133"/>
|
||
|
|
<area shape="rect" href="dropdown_8cpp.html" title=" " alt="" coords="1222,519,1373,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="672,146,681,181,696,221,718,260,748,293,783,314,815,325,846,328,876,327,942,323,979,328,1020,340,1100,381,1173,430,1235,478,1279,516,1275,520,1232,482,1170,434,1097,386,1018,345,978,333,942,329,877,332,845,333,814,330,780,319,745,297,714,263,691,223,676,183,667,147"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="741,112,1730,116,3330,126,4147,135,4863,146,5392,161,5560,169,5650,179,5705,188,5751,196,5771,203,5790,214,5808,230,5826,253,5839,279,5845,304,5842,328,5834,351,5819,372,5800,392,5749,428,5687,459,5621,485,5498,522,5496,517,5619,480,5685,454,5746,423,5796,388,5815,368,5829,348,5837,327,5839,304,5834,281,5822,256,5805,234,5787,218,5769,208,5749,201,5704,193,5649,184,5559,175,5391,166,4863,152,4147,140,3330,132,1730,121,741,118"/>
|
||
|
|
<area shape="rect" href="menu_8cpp.html" title=" " alt="" coords="487,519,638,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="587,120,495,126,393,138,301,157,266,169,242,183,223,203,214,222,211,245,211,273,211,364,218,386,240,408,272,430,313,451,406,488,494,516,493,521,404,493,311,456,270,435,236,413,214,389,205,364,205,273,206,244,209,221,219,200,238,179,264,164,300,151,392,133,494,121,587,115"/>
|
||
|
|
<area shape="rect" href="radiobox_8cpp.html" title=" " alt="" coords="873,519,1023,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="587,120,505,126,416,137,340,156,311,168,293,183,276,210,272,236,279,263,293,293,316,330,344,363,375,392,410,418,487,460,569,491,654,512,736,525,810,533,873,535,872,541,810,538,735,531,653,517,568,496,484,465,407,422,372,396,340,367,312,333,288,296,273,265,267,236,271,208,289,180,309,164,338,151,415,132,504,120,587,115"/>
|
||
|
|
<area shape="rect" href="resizable__split_8cpp.html" title=" " alt="" coords="70,519,221,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="587,121,470,129,333,142,206,160,154,171,116,184,74,200,40,215,26,225,17,237,10,253,8,273,8,364,11,389,19,412,47,455,82,490,117,516,113,521,79,494,43,458,14,415,6,390,3,364,3,273,5,252,12,234,23,221,37,211,72,195,114,179,153,166,205,155,333,137,470,124,587,116"/>
|
||
|
|
<area shape="rect" href="slider_8cpp.html" title=" " alt="" coords="245,519,395,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="587,121,435,135,347,146,261,162,182,182,117,207,93,222,74,238,63,255,59,274,59,364,63,395,77,423,97,446,122,467,183,498,245,519,244,524,181,503,119,471,93,450,72,425,58,397,53,364,53,273,58,253,70,234,89,217,115,202,180,177,259,157,347,141,435,129,587,116"/>
|
||
|
|
<area shape="rect" href="component__options_8hpp.html" title=" " alt="" coords="823,343,1006,383"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="592,142,566,159,546,183,531,213,525,240,529,266,546,293,563,307,589,319,660,337,743,349,823,355,823,361,743,354,659,342,588,324,561,311,542,296,524,268,520,240,526,211,542,180,563,155,589,137"/>
|
||
|
|
<area shape="rect" href="elements_8hpp.html" title=" " alt="" coords="3025,181,3253,207"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="741,114,3024,186,3024,192,741,120"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="741,112,1746,118,3362,130,4885,150,5391,163,5542,171,5610,179,5643,196,5672,218,5713,260,5709,264,5669,222,5640,200,5609,184,5542,176,5391,169,4885,155,3362,135,1746,123,741,118"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1894,469,1736,492,1560,521,1548,524,1547,518,1560,516,1736,487,1893,463"/>
|
||
|
|
<area shape="rect" href="catch__event_8cpp.html" title=" " alt="" coords="1921,519,2071,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1999,485,1999,518,1993,518,1993,485"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2100,460,2200,468,2460,477,2783,480,3534,479,3919,479,4284,484,4606,496,4745,505,4866,516,4877,518,4876,523,4865,521,4745,510,4606,501,4284,490,3919,485,3534,484,2783,485,2460,482,2200,473,2099,466"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1893,459,1587,480,1399,498,1211,521,1199,523,1198,518,1210,516,1398,492,1586,474,1893,454"/>
|
||
|
|
<area shape="rect" href="component_8cpp.html" title=" " alt="" coords="4353,519,4503,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2100,460,2200,468,2409,476,2669,479,3272,481,3581,483,3874,489,4133,499,4342,516,4353,518,4352,523,4341,521,4133,504,3874,494,3581,489,3272,487,2669,484,2409,481,2200,473,2099,466"/>
|
||
|
|
<area shape="rect" href="component__fuzzer_8cpp.html" title=" " alt="" coords="2095,519,2267,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2050,474,2142,516,2140,521,2048,479"/>
|
||
|
|
<area shape="rect" href="container_8cpp.html" title=" " alt="" coords="4527,519,4678,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2100,460,2200,468,2426,476,2707,479,3359,480,3694,482,4011,487,4291,498,4516,516,4528,518,4527,523,4516,521,4291,503,4011,493,3694,487,3359,486,2707,485,2426,481,2200,473,2099,466"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1894,463,1661,485,1386,521,1374,523,1373,518,1385,516,1660,480,1893,457"/>
|
||
|
|
<area shape="rect" href="hoverable_8cpp.html" title=" " alt="" coords="4702,519,4853,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2100,460,2200,468,2443,476,2745,479,3446,479,3807,481,4147,486,4449,497,4691,516,4702,518,4701,523,4690,521,4448,502,4147,491,3807,486,3446,485,2745,485,2443,482,2200,473,2099,466"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2099,449,2583,449,3348,457,4268,477,4746,494,5215,516,5346,527,5346,532,5214,521,4746,499,4268,482,3348,462,2583,455,2099,454"/>
|
||
|
|
<area shape="rect" href="maybe_8cpp.html" title=" " alt="" coords="5051,519,5202,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2099,449,2671,449,3522,456,3973,464,4398,476,4764,493,5040,516,5052,518,5051,523,5040,521,4764,499,4397,482,3973,469,3522,461,2671,455,2099,454"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1893,461,861,521,638,535,638,530,861,516,1893,455"/>
|
||
|
|
<area shape="rect" href="modal_8cpp.html" title=" " alt="" coords="2291,519,2442,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2091,471,2292,517,2291,523,2090,476"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1893,457,1728,463,1515,475,1276,494,1036,521,1024,523,1023,518,1036,516,1276,488,1514,470,1728,458,1893,452"/>
|
||
|
|
<area shape="rect" href="renderer_8cpp.html" title=" " alt="" coords="4178,519,4329,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="2100,460,2200,468,2797,498,3377,518,4178,534,4178,539,3377,523,2797,503,2200,473,2099,465"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1893,456,1541,463,1062,475,583,495,383,507,232,521,221,523,220,518,232,516,383,502,582,489,1061,470,1541,458,1893,451"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1893,457,1292,475,887,494,476,521,396,530,395,524,476,516,887,488,1292,469,1893,451"/>
|
||
|
|
<area shape="rect" href="component_2util_8cpp.html" title=" " alt="" coords="1571,519,1722,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1907,476,1723,521,1722,516,1906,471"/>
|
||
|
|
<area shape="rect" href="window_8cpp.html" title=" " alt="" coords="1746,519,1897,559"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1947,479,1861,521,1858,516,1944,474"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1020,370,1907,440,1906,445,1020,375"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="989,384,1412,516,1411,521,987,389"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1020,363,1742,377,2857,406,3452,427,4014,452,4500,482,4701,498,4866,516,4877,518,4876,523,4865,521,4700,504,4500,487,4014,457,3452,432,2857,411,1742,382,1020,368"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="950,390,1102,516,1098,521,946,394"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="969,386,1257,516,1255,521,967,391"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1020,362,1473,367,2177,377,3019,397,3885,428,4260,446,4551,465,5215,516,5346,527,5346,533,5214,521,4550,470,4259,452,3885,433,3019,402,2177,383,1472,372,1020,367"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="918,397,911,436,903,456,890,473,872,485,847,496,782,513,708,525,638,534,638,528,707,520,781,508,845,491,869,480,886,469,898,453,906,434,913,396"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="930,395,941,430,948,478,950,518,945,519,943,478,936,431,925,396"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="884,394,839,433,819,455,809,465,794,473,742,489,675,499,516,509,356,513,232,521,221,523,220,518,232,516,356,508,516,504,674,494,741,484,792,468,806,460,815,451,835,429,880,390"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="903,396,878,437,860,457,838,473,396,531,395,525,836,468,856,453,873,434,899,393"/>
|
||
|
|
<area shape="rect" href="component__options_8cpp.html" title=" " alt="" coords="600,431,781,471"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="854,390,741,433,739,428,852,385"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3267,193,3647,195,4125,203,4352,210,4544,220,4681,234,4724,243,4746,253,4753,263,4756,275,4753,286,4746,297,4712,307,4636,317,4375,339,4006,362,3573,385,2692,424,2085,449,2085,443,2691,419,3572,380,4005,357,4374,334,4635,312,4711,302,4742,293,4748,284,4751,275,4748,266,4742,257,4722,248,4681,240,4544,226,4352,215,4125,208,3647,200,3267,198"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3011,199,2497,205,1817,216,1216,233,1023,244,967,251,944,257,938,265,936,274,938,284,945,293,957,303,972,311,1014,321,1065,325,1122,325,1233,325,1280,329,1316,340,1344,358,1369,379,1413,429,1445,478,1466,517,1461,520,1440,481,1408,432,1366,383,1341,362,1314,345,1279,335,1233,330,1122,330,1065,330,1013,326,971,316,954,307,941,296,934,286,931,274,933,263,941,252,966,245,1023,239,1216,228,1816,210,2497,199,3011,194"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3267,204,4093,212,4359,217,4591,225,4761,236,4815,244,4843,252,4874,280,4898,314,4917,351,4931,390,4948,464,4954,518,4949,519,4943,465,4926,392,4912,353,4894,317,4870,284,4840,257,4814,249,4761,241,4590,230,4358,222,4093,217,3267,209"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3011,199,2491,205,1801,216,1191,233,995,244,938,250,915,257,900,278,899,292,909,301,928,309,978,322,1002,330,1020,341,1058,385,1086,434,1107,481,1120,517,1115,519,1102,483,1081,436,1053,388,1017,345,1000,334,977,327,927,314,906,306,894,293,895,276,912,252,937,245,995,239,1191,228,1800,210,2491,199,3011,194"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3267,192,3662,194,4163,201,4400,209,4602,219,4746,234,4791,242,4814,253,4831,275,4839,298,4840,320,4832,341,4819,361,4800,381,4750,418,4688,450,4620,479,4497,521,4495,516,4618,474,4685,446,4747,413,4797,377,4815,358,4828,339,4834,319,4834,299,4826,278,4810,257,4789,247,4746,239,4602,225,4400,214,4162,207,3662,199,3267,198"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3267,204,4319,205,4661,209,4961,218,5181,231,5250,241,5285,252,5315,281,5332,314,5334,331,5332,349,5326,367,5314,385,4679,524,4678,519,5310,380,5321,364,5327,348,5329,331,5327,316,5311,285,5283,257,5249,246,5180,237,4960,223,4661,215,4319,211,3266,209"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3011,199,2494,205,1809,216,1203,233,1009,244,953,250,930,257,924,265,922,274,930,293,955,317,980,329,1007,333,1034,331,1095,327,1129,329,1165,340,1241,372,1270,393,1296,429,1304,452,1307,477,1304,519,1299,518,1302,477,1299,454,1291,432,1266,397,1239,376,1163,345,1128,335,1095,332,1035,337,1006,338,979,334,952,321,926,296,916,275,919,263,926,252,952,245,1009,239,1203,228,1808,210,2494,199,3011,194"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3266,194,3776,201,4451,213,5047,230,5239,240,5296,246,5321,252,5349,282,5362,315,5359,349,5341,385,5321,395,5278,410,5147,447,4854,522,4852,516,5146,442,5277,405,5319,390,5337,381,5354,348,5356,316,5344,285,5319,257,5295,251,5239,246,5047,235,4451,218,3776,206,3266,199"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3267,194,3791,200,4488,211,5105,228,5304,239,5362,246,5388,252,5413,282,5429,317,5438,355,5442,393,5438,466,5429,519,5424,518,5433,465,5437,393,5433,355,5424,319,5408,285,5385,257,5361,251,5303,245,5105,234,4488,216,3791,205,3266,199"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3266,194,3784,200,4471,212,5077,229,5273,240,5330,246,5356,252,5381,282,5390,314,5385,348,5369,384,5352,409,5332,432,5284,471,5233,500,5185,521,5183,516,5231,496,5281,467,5328,429,5348,406,5364,381,5380,346,5384,314,5376,285,5353,257,5329,251,5273,245,5077,234,4470,217,3784,205,3266,199"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3011,198,2451,202,1691,212,1321,219,1003,229,771,242,698,249,660,257,627,273,604,289,586,312,569,344,555,391,552,439,555,484,561,518,556,519,550,484,547,439,550,390,564,342,582,309,600,286,624,268,658,252,697,244,771,237,1003,224,1321,214,1691,206,2451,197,3011,193"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3266,193,3652,194,4138,202,4368,210,4563,220,4703,234,4746,243,4768,253,4776,263,4778,275,4776,286,4769,296,4749,313,4720,329,4638,358,4527,385,4391,408,4236,430,4064,449,3691,481,3307,505,2947,521,2442,538,2442,533,2947,516,3307,499,3691,475,4064,444,4235,425,4391,403,4526,379,4636,353,4717,324,4746,309,4765,293,4771,284,4773,274,4771,266,4765,257,4745,248,4702,239,4563,225,4368,215,4138,208,3652,200,3266,198"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3011,198,2467,201,1733,210,1376,217,1070,228,846,241,776,249,740,257,661,299,626,323,598,350,577,377,568,406,571,437,590,469,608,483,635,495,709,514,793,525,873,532,872,537,793,531,708,519,633,500,605,488,586,472,566,438,562,406,573,375,594,346,623,319,659,295,738,252,775,243,846,235,1069,222,1376,212,1733,205,2467,196,3011,193"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3267,192,3657,194,4150,202,4384,209,4583,220,4725,234,4769,242,4791,253,4801,269,4799,287,4789,305,4770,324,4714,362,4639,400,4553,436,4465,470,4314,521,4313,516,4463,465,4551,432,4637,395,4712,357,4767,320,4785,302,4794,286,4796,271,4788,257,4767,248,4724,239,4582,225,4384,215,4150,207,3657,199,3267,198"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3011,199,2423,204,1618,215,886,233,638,244,560,250,518,257,458,281,401,312,347,349,297,388,215,464,163,520,159,517,212,460,294,384,344,344,398,308,456,276,517,252,559,245,638,239,886,227,1618,210,2423,199,3011,194"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3011,198,2438,202,1655,211,1273,219,945,229,705,241,630,249,590,257,543,282,499,313,460,350,424,388,367,464,332,520,328,517,363,461,420,385,456,346,496,309,540,277,588,252,629,244,705,236,945,223,1273,213,1655,206,2437,197,3011,193"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3011,199,2466,204,1737,214,1092,232,884,243,824,250,799,257,792,268,791,279,796,290,806,301,835,322,870,340,867,345,832,327,802,305,792,293,786,280,787,266,796,253,823,245,884,238,1091,227,1737,209,2466,199,3011,194"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3011,198,2474,198,1753,204,1403,211,1103,222,886,237,818,247,784,257,763,274,746,295,719,343,704,392,696,431,691,430,699,391,715,341,741,292,759,270,781,252,817,241,885,232,1103,217,1403,206,1753,199,2474,192,3011,192"/>
|
||
|
|
<area shape="rect" href="component__base_8hpp.html" title=" " alt="" coords="955,255,1133,295"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3011,199,2610,205,2072,215,1537,233,1314,244,1146,257,1134,259,1133,253,1145,252,1314,239,1537,227,2072,210,2610,199,3011,194"/>
|
||
|
|
<area shape="rect" href="dom_2deprecated_8hpp.html" title=" " alt="" coords="5009,262,5249,287"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3267,192,3570,194,3995,202,4483,220,4733,234,4979,252,5044,259,5044,265,4978,257,4733,239,4482,226,3994,208,3570,200,3267,198"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3266,194,3764,200,4421,211,4999,228,5184,239,5239,246,5263,253,5271,265,5273,278,5266,306,5249,331,5231,352,5227,348,5245,328,5261,303,5268,278,5266,267,5260,257,5238,251,5184,245,4999,234,4421,216,3764,205,3266,199"/>
|
||
|
|
<area shape="rect" href="table_8hpp.html" title=" " alt="" coords="1157,262,1357,287"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3011,200,2179,219,1712,236,1518,246,1371,257,1317,265,1317,259,1370,252,1518,241,1712,231,2179,214,3011,195"/>
|
||
|
|
<area shape="rect" href="automerge_8cpp.html" title=" " alt="" coords="1382,262,1591,287"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3011,198,2753,200,2404,209,2006,227,1803,240,1604,257,1550,265,1549,259,1604,252,1803,235,2006,221,2403,203,2753,195,3011,192"/>
|
||
|
|
<area shape="rect" href="blink_8cpp.html" title=" " alt="" coords="1616,262,1787,287"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3011,198,2783,200,2482,208,2143,226,1970,240,1800,257,1754,265,1753,259,1800,252,1969,235,2142,221,2482,203,2783,195,3011,192"/>
|
||
|
|
<area shape="rect" href="bold_8cpp.html" title=" " alt="" coords="1811,262,1978,287"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3011,199,2814,203,2559,212,2276,229,1991,257,1947,265,1946,259,1990,252,2275,224,2559,207,2814,197,3011,193"/>
|
||
|
|
<area shape="rect" href="border_8cpp.html" title=" " alt="" coords="2003,262,2181,287"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3011,201,2644,218,2420,234,2195,257,2148,265,2147,259,2194,252,2419,229,2644,213,3011,196"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3267,194,4406,213,5071,230,5348,241,5559,252,5635,259,5634,265,5558,257,5348,246,5071,236,4405,219,3267,200"/>
|
||
|
|
<area shape="rect" href="clear__under_8cpp.html" title=" " alt="" coords="2206,255,2349,295"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3011,202,2713,219,2537,235,2362,257,2349,259,2348,254,2361,252,2537,230,2713,214,3010,197"/>
|
||
|
|
<area shape="rect" href="dom_2color_8cpp.html" title=" " alt="" coords="2373,262,2542,287"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3011,208,2797,228,2555,257,2513,265,2512,259,2554,252,2797,222,3010,202"/>
|
||
|
|
<area shape="rect" href="composite__decorator_8cpp.html" title=" " alt="" coords="2567,255,2745,295"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3048,211,2758,257,2746,259,2745,254,2757,252,3048,206"/>
|
||
|
|
<area shape="rect" href="dbox_8cpp.html" title=" " alt="" coords="2769,262,2940,287"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3085,213,2897,265,2895,259,3084,208"/>
|
||
|
|
<area shape="rect" href="dim_8cpp.html" title=" " alt="" coords="2964,262,3127,287"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3116,218,3061,264,3057,260,3113,214"/>
|
||
|
|
<area shape="rect" href="flex_8cpp.html" title=" " alt="" coords="3151,262,3313,287"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3165,214,3220,260,3216,264,3161,218"/>
|
||
|
|
<area shape="rect" href="flexbox_8cpp.html" title=" " alt="" coords="3337,262,3524,287"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3195,208,3389,259,3387,265,3193,213"/>
|
||
|
|
<area shape="rect" href="focus_8cpp.html" title=" " alt="" coords="3548,262,3721,287"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3235,206,3536,252,3577,259,3576,265,3536,257,3234,211"/>
|
||
|
|
<area shape="rect" href="frame_8cpp.html" title=" " alt="" coords="3746,262,3923,287"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3267,202,3485,222,3734,252,3778,259,3777,265,3733,257,3485,228,3266,208"/>
|
||
|
|
<area shape="rect" href="gauge_8cpp.html" title=" " alt="" coords="3948,262,4127,287"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3267,198,3573,216,3755,232,3936,252,3982,259,3981,265,3936,257,3754,237,3572,222,3267,203"/>
|
||
|
|
<area shape="rect" href="graph_8cpp.html" title=" " alt="" coords="4151,262,4326,287"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3266,195,3657,211,3898,228,4139,252,4185,259,4184,265,4138,257,3897,233,3657,216,3266,200"/>
|
||
|
|
<area shape="rect" href="gridbox_8cpp.html" title=" " alt="" coords="4351,262,4537,287"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3266,194,3472,198,3739,208,4038,225,4339,252,4388,259,4387,265,4338,257,4038,230,3739,213,3472,203,3266,199"/>
|
||
|
|
<area shape="rect" href="hbox_8cpp.html" title=" " alt="" coords="4561,262,4732,287"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="3266,192,3505,193,3824,201,4185,219,4369,234,4550,252,4595,259,4594,265,4549,257,4369,239,4185,225,3824,207,3505,199,3266,197"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1147,292,1312,300,1514,302,1616,306,1710,312,1793,323,1858,340,1895,359,1930,382,1981,429,1977,433,1926,386,1893,363,1856,345,1792,328,1710,317,1615,311,1514,308,1312,305,1147,297"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1136,295,1384,362,1492,398,1529,414,1549,429,1555,442,1556,455,1546,479,1526,502,1503,521,1499,517,1522,498,1541,477,1551,454,1550,443,1545,432,1526,419,1490,403,1383,367,1135,300"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1147,292,1257,304,1342,309,1427,318,1531,340,1658,381,1781,430,1886,478,1962,516,1959,521,1883,483,1779,435,1657,386,1530,345,1426,323,1342,315,1256,309,1147,297"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1147,292,1405,315,1624,327,1817,331,1997,330,2369,326,2588,329,2845,340,3148,359,3383,378,3919,428,4186,448,4393,462,4601,480,4866,516,4877,518,4876,523,4865,521,4600,486,4393,467,4185,454,3918,433,3382,384,3147,364,2845,345,2588,335,2369,331,1997,335,1817,336,1624,332,1405,320,1147,297"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1119,299,1145,317,1166,341,1176,364,1180,389,1178,414,1173,439,1156,485,1137,519,1133,517,1151,482,1168,438,1173,413,1174,389,1171,366,1162,344,1142,321,1116,303"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1147,292,1315,309,1458,318,1701,325,1943,327,2252,340,2557,361,2794,380,3335,428,3618,448,3839,461,4060,479,4342,516,4353,518,4352,523,4341,521,4059,485,3839,466,3618,454,3334,433,2793,385,2557,366,2252,345,1943,333,1701,330,1458,324,1315,314,1147,297"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1147,292,1358,312,1537,322,1695,327,1842,328,2146,327,2325,331,2535,340,2850,359,3095,378,3654,428,4086,462,4275,482,4516,516,4528,518,4527,523,4516,521,4274,487,4086,468,3653,433,3094,383,2849,365,2535,345,2324,336,2146,333,1842,333,1695,332,1537,328,1358,317,1147,297"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1119,297,1156,316,1190,341,1228,385,1258,434,1280,481,1294,517,1289,519,1275,483,1253,437,1224,388,1186,345,1153,320,1117,302"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1147,292,1405,315,1624,327,1817,331,1997,330,2369,326,2588,329,2845,340,3148,358,3383,376,3919,428,4306,464,4475,483,4691,516,4702,518,4701,523,4690,521,4474,489,4305,469,3918,433,3382,382,3147,364,2845,345,2588,335,2369,331,1997,335,1817,336,1624,332,1405,320,1147,297"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1147,292,1493,321,1787,335,2045,337,2286,333,2527,327,2785,324,3078,326,3424,340,3704,358,3921,377,4418,428,4949,483,5346,526,5346,532,4949,488,4417,433,3921,382,3704,363,3424,345,3078,332,2785,329,2527,333,2286,339,2045,343,1786,340,1493,326,1147,297"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1147,292,1452,318,1710,331,1938,334,2150,331,2589,324,2847,327,3151,340,3432,358,3651,378,4150,428,4401,449,4596,463,4791,482,5040,516,5052,518,5051,523,5040,521,4790,487,4596,468,4400,454,4149,433,3650,383,3432,364,3151,345,2847,333,2589,330,2150,337,1938,339,1710,336,1452,323,1147,297"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="941,285,854,298,759,325,712,344,667,368,626,397,590,432,577,453,570,476,565,519,559,518,565,474,573,450,586,429,623,393,664,364,710,339,757,320,853,293,940,279"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1147,292,1264,302,1363,305,1532,302,1613,301,1699,306,1796,317,1909,340,1972,357,2036,379,2157,428,2261,477,2335,516,2332,521,2258,482,2155,433,2034,384,1971,362,1907,345,1795,323,1699,311,1613,307,1532,307,1363,311,1263,308,1147,297"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1041,309,1021,384,990,460,961,519,956,517,985,458,1016,382,1035,308"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1147,292,1385,314,1570,323,1755,328,1991,340,2655,391,3300,446,4178,527,4177,533,3299,452,2655,397,1990,345,1755,333,1570,328,1384,320,1147,297"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="941,283,855,289,755,301,649,319,545,345,435,386,331,434,241,483,177,521,174,516,239,478,328,430,433,381,543,340,647,314,754,296,854,284,941,277"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="941,284,794,304,714,321,637,345,548,386,465,435,395,483,345,521,342,516,392,478,462,430,546,381,635,340,713,316,794,298,940,279"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1147,293,1395,340,1488,374,1526,395,1570,429,1611,474,1639,517,1634,520,1606,477,1566,433,1523,400,1486,379,1394,345,1146,298"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1147,292,1238,303,1310,308,1380,317,1466,340,1566,381,1659,430,1739,478,1796,516,1793,521,1736,483,1657,435,1563,386,1464,345,1379,322,1310,313,1238,308,1146,297"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="1005,305,945,345,942,340,1002,300"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="5053,263,5002,257,4750,239,4492,225,3990,207,3557,199,3253,198,3253,192,3557,194,3990,202,4492,219,4750,234,5003,252,5053,257"/>
|
||
|
|
<area shape="poly" title=" " alt="" coords="5153,295,5207,348,5203,351,5149,299"/>
|
||
|
|
</map>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<p><a href="string_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:a757b345f73bb6cde5165a4d7f0c0a298" id="r_a757b345f73bb6cde5165a4d7f0c0a298"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#a757b345f73bb6cde5165a4d7f0c0a298">to_string</a> (const std::wstring &s)</td></tr>
|
||
|
|
<tr class="memdesc:a757b345f73bb6cde5165a4d7f0c0a298"><td class="mdescLeft"> </td><td class="mdescRight">Convert a UTF8 std::string into a std::wstring. <br /></td></tr>
|
||
|
|
<tr class="separator:a757b345f73bb6cde5165a4d7f0c0a298"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
|
<tr class="memitem:a57429a83a46c643a81dee81e49384439" id="r_a57429a83a46c643a81dee81e49384439"><td class="memItemLeft" align="right" valign="top">std::wstring </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#a57429a83a46c643a81dee81e49384439">to_wstring</a> (const std::string &s)</td></tr>
|
||
|
|
<tr class="memdesc:a57429a83a46c643a81dee81e49384439"><td class="mdescLeft"> </td><td class="mdescRight">Convert a std::wstring into a UTF8 std::string. <br /></td></tr>
|
||
|
|
<tr class="separator:a57429a83a46c643a81dee81e49384439"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
|
<tr class="memitem:a24ea52e8ef70889ef1da986837e0ff34" id="r_a24ea52e8ef70889ef1da986837e0ff34"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||
|
|
<tr class="memitem:a24ea52e8ef70889ef1da986837e0ff34"><td class="memTemplItemLeft" align="right" valign="top">std::wstring </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#a24ea52e8ef70889ef1da986837e0ff34">to_wstring</a> (T s)</td></tr>
|
||
|
|
<tr class="separator:a24ea52e8ef70889ef1da986837e0ff34"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
|
<tr class="memitem:a517b35c7721e632812d8b3a7697c4099" id="r_a517b35c7721e632812d8b3a7697c4099"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#a517b35c7721e632812d8b3a7697c4099">string_width</a> (const std::string &)</td></tr>
|
||
|
|
<tr class="separator:a517b35c7721e632812d8b3a7697c4099"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
|
<tr class="memitem:a389c58d385e861cd2ef109b53fc6ef96" id="r_a389c58d385e861cd2ef109b53fc6ef96"><td class="memItemLeft" align="right" valign="top">std::vector< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#a389c58d385e861cd2ef109b53fc6ef96">Utf8ToGlyphs</a> (const std::string &input)</td></tr>
|
||
|
|
<tr class="separator:a389c58d385e861cd2ef109b53fc6ef96"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
|
<tr class="memitem:a9769a28baa6a84d5de6a8bd624a29294" id="r_a9769a28baa6a84d5de6a8bd624a29294"><td class="memItemLeft" align="right" valign="top">std::vector< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#a9769a28baa6a84d5de6a8bd624a29294">CellToGlyphIndex</a> (const std::string &input)</td></tr>
|
||
|
|
<tr class="separator:a9769a28baa6a84d5de6a8bd624a29294"><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('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>
|