mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-12-16 01:48:56 +08:00
426 lines
35 KiB
HTML
426 lines
35 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/color.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.11.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('color_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="#func-members">Functions</a> </div>
|
|
<div class="headertitle"><div class="title">color.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="color_8hpp__dep__incl.png" border="0" usemap="#ainclude_2ftxui_2screen_2color_8hppdep" alt=""/></div>
|
|
<map name="ainclude_2ftxui_2screen_2color_8hppdep" id="ainclude_2ftxui_2screen_2color_8hppdep">
|
|
<area shape="rect" title=" " alt="" coords="311,5,460,45"/>
|
|
<area shape="rect" href="elements_8hpp.html" title=" " alt="" coords="3954,189,4182,214"/>
|
|
<area shape="poly" title=" " alt="" coords="474,28,3954,192,3954,197,473,33"/>
|
|
<area shape="rect" href="slider_8cpp.html" title=" " alt="" coords="4154,445,4305,485"/>
|
|
<area shape="poly" title=" " alt="" coords="297,32,204,45,156,56,110,73,70,95,37,123,16,157,10,178,8,200,8,291,10,309,16,326,26,341,40,355,77,377,127,394,187,406,256,413,409,417,574,412,733,403,872,395,976,395,1281,409,1686,422,2648,442,4154,461,4154,466,2648,447,1686,428,1281,415,976,400,872,400,733,408,574,417,409,423,255,419,186,411,126,399,75,382,37,359,22,345,11,329,5,311,3,291,3,200,5,177,11,155,33,119,66,90,108,68,155,51,203,39,297,27"/>
|
|
<area shape="rect" href="dom_2color_8cpp.html" title=" " alt="" coords="987,365,1157,390"/>
|
|
<area shape="poly" title=" " alt="" coords="396,58,414,121,440,196,470,265,485,291,500,307,536,326,587,341,649,353,718,361,862,371,987,374,987,379,862,376,718,367,648,358,586,346,534,331,497,311,481,294,465,267,435,198,409,122,391,59"/>
|
|
<area shape="rect" href="color__info_8hpp.html" title=" " alt="" coords="199,93,348,133"/>
|
|
<area shape="poly" title=" " alt="" coords="351,56,300,95,297,91,348,52"/>
|
|
<area shape="rect" href="screen_2color_8cpp.html" title=" " alt="" coords="43,189,226,214"/>
|
|
<area shape="poly" title=" " alt="" coords="298,43,240,63,213,77,188,95,169,118,155,143,140,189,135,187,150,141,165,115,185,91,210,73,238,58,296,38"/>
|
|
<area shape="rect" href="color__info_8cpp.html" title=" " alt="" coords="251,181,408,221"/>
|
|
<area shape="poly" title=" " alt="" coords="382,60,363,134,342,182,337,180,357,132,377,58"/>
|
|
<area shape="rect" href="screen_8hpp.html" title=" " alt="" coords="1176,93,1325,133"/>
|
|
<area shape="poly" title=" " alt="" coords="474,33,1176,102,1175,107,473,38"/>
|
|
<area shape="rect" href="component_8hpp.html" title=" " alt="" coords="5213,357,5392,397"/>
|
|
<area shape="poly" title=" " alt="" coords="4196,201,4468,204,4793,214,4947,223,5081,234,5182,249,5218,257,5241,267,5263,286,5280,310,5300,356,5295,358,5276,313,5260,290,5239,272,5216,262,5181,254,5080,239,4947,228,4792,220,4467,210,4196,206"/>
|
|
<area shape="rect" href="button_8cpp.html" title=" " alt="" coords="6075,445,6226,485"/>
|
|
<area shape="poly" title=" " alt="" coords="4196,200,4610,201,5148,210,5411,218,5642,230,5820,246,5883,256,5925,267,5961,284,5995,305,6056,354,6105,404,6138,443,6134,447,6101,407,6052,358,5992,309,5958,288,5923,272,5882,261,5820,251,5642,235,5411,223,5148,215,4610,207,4196,205"/>
|
|
<area shape="rect" href="checkbox_8cpp.html" title=" " alt="" coords="5202,445,5353,485"/>
|
|
<area shape="poly" title=" " alt="" coords="4196,202,4317,207,4459,219,4612,238,4763,267,4859,294,4931,324,5002,357,5094,395,5225,443,5224,448,5092,400,5000,362,4929,329,4857,299,4762,272,4612,243,4459,224,4316,213,4196,207"/>
|
|
<area shape="rect" href="component_8cpp.html" title=" " alt="" coords="4853,445,5003,485"/>
|
|
<area shape="poly" title=" " alt="" coords="4196,208,4437,231,4550,247,4632,267,4717,306,4796,356,4862,405,4909,443,4905,447,4859,409,4793,360,4715,311,4630,272,4549,252,4437,236,4196,214"/>
|
|
<area shape="rect" href="container_8cpp.html" title=" " alt="" coords="4678,445,4829,485"/>
|
|
<area shape="poly" title=" " alt="" coords="4196,206,4304,214,4416,226,4517,243,4557,254,4588,267,4616,285,4643,307,4688,356,4723,405,4746,444,4741,446,4718,408,4684,359,4639,311,4613,289,4585,272,4556,259,4516,249,4416,231,4303,219,4196,211"/>
|
|
<area shape="rect" href="dropdown_8cpp.html" title=" " alt="" coords="5027,445,5178,485"/>
|
|
<area shape="poly" title=" " alt="" coords="4196,201,4304,207,4428,218,4560,237,4690,267,4804,307,4913,356,5007,404,5073,443,5071,447,5004,409,4911,360,4803,312,4689,272,4560,243,4428,223,4303,212,4196,207"/>
|
|
<area shape="rect" href="input_8cpp.html" title=" " alt="" coords="6250,445,6401,485"/>
|
|
<area shape="poly" title=" " alt="" coords="4196,201,4758,208,5523,221,6217,241,6452,253,6526,260,6566,267,6607,281,6638,297,6664,320,6686,356,6694,378,6692,388,6686,399,6667,414,6639,427,6565,446,6480,457,6401,464,6401,458,6480,452,6564,440,6637,422,6664,410,6682,396,6687,387,6689,378,6682,358,6660,324,6635,302,6605,286,6565,272,6525,265,6451,258,6217,246,5523,227,4758,214,4196,207"/>
|
|
<area shape="rect" href="maybe_8cpp.html" title=" " alt="" coords="5377,445,5527,485"/>
|
|
<area shape="poly" title=" " alt="" coords="4196,203,4473,212,4807,225,5106,243,5213,254,5277,267,5318,283,5349,300,5376,322,5406,356,5434,401,5449,444,5444,446,5429,404,5402,359,5373,326,5346,304,5316,287,5275,272,5212,260,5105,249,4807,230,4473,217,4196,208"/>
|
|
<area shape="rect" href="menu_8cpp.html" title=" " alt="" coords="5551,445,5702,485"/>
|
|
<area shape="poly" title=" " alt="" coords="4196,203,4486,211,4838,225,5154,243,5268,254,5335,267,5379,284,5421,305,5499,354,5564,404,5609,443,5605,447,5561,408,5496,358,5418,309,5377,288,5334,272,5267,260,5154,248,4838,230,4485,217,4196,208"/>
|
|
<area shape="rect" href="radiobox_8cpp.html" title=" " alt="" coords="5726,445,5877,485"/>
|
|
<area shape="poly" title=" " alt="" coords="4196,200,4617,202,5157,211,5414,219,5632,231,5789,247,5837,256,5862,267,5876,289,5881,312,5878,337,5871,363,5846,410,5820,447,5815,444,5841,407,5866,361,5873,336,5875,313,5871,291,5858,271,5835,261,5788,252,5632,236,5414,225,5157,216,4617,208,4196,205"/>
|
|
<area shape="rect" href="renderer_8cpp.html" title=" " alt="" coords="4329,445,4479,485"/>
|
|
<area shape="poly" title=" " alt="" coords="4196,200,4295,205,4396,216,4442,225,4483,236,4515,250,4538,268,4544,278,4545,288,4538,311,4492,367,4423,447,4419,443,4488,364,4534,308,4540,288,4539,280,4534,271,4513,255,4481,241,4441,230,4395,221,4295,210,4196,205"/>
|
|
<area shape="rect" href="resizable__split_8cpp.html" title=" " alt="" coords="4503,445,4654,485"/>
|
|
<area shape="poly" title=" " alt="" coords="4196,200,4299,205,4407,216,4499,236,4534,250,4559,267,4574,288,4585,311,4594,360,4592,408,4586,445,4581,444,4587,407,4588,361,4580,312,4570,290,4555,271,4532,255,4497,241,4406,221,4299,210,4195,206"/>
|
|
<area shape="poly" title=" " alt="" coords="4196,201,4289,207,4384,218,4465,237,4496,251,4517,268,4523,278,4525,289,4517,311,4482,338,4416,375,4270,448,4268,443,4413,370,4479,333,4513,308,4520,288,4518,280,4513,271,4493,255,4463,242,4383,223,4289,212,4195,206"/>
|
|
<area shape="rect" href="toggle_8cpp.html" title=" " alt="" coords="5901,445,6051,485"/>
|
|
<area shape="poly" title=" " alt="" coords="4196,201,4620,206,5166,218,5427,226,5650,237,5811,251,5861,258,5888,267,5910,285,5928,307,5953,356,5969,405,5976,444,5971,445,5964,407,5948,358,5923,310,5906,289,5885,272,5860,264,5810,256,5649,243,5427,232,5165,223,4619,212,4195,206"/>
|
|
<area shape="rect" href="component__base_8hpp.html" title=" " alt="" coords="5049,269,5228,309"/>
|
|
<area shape="poly" title=" " alt="" coords="4196,205,4571,225,4801,243,5031,267,5050,269,5049,274,5030,272,4800,248,4571,230,4195,210"/>
|
|
<area shape="rect" href="component__options_8hpp.html" title=" " alt="" coords="5665,269,5847,309"/>
|
|
<area shape="poly" title=" " alt="" coords="4196,200,4460,203,4820,213,5230,233,5440,248,5646,267,5665,269,5664,274,5645,272,5440,253,5230,238,4820,218,4460,208,4196,205"/>
|
|
<area shape="rect" href="dom_2deprecated_8hpp.html" title=" " alt="" coords="6277,277,6517,302"/>
|
|
<area shape="poly" title=" " alt="" coords="4196,199,4549,200,5056,209,5646,229,5949,245,6247,267,6312,274,6312,279,6246,272,5949,251,5646,234,5056,214,4549,206,4196,205"/>
|
|
<area shape="rect" href="paragraph_8cpp.html" title=" " alt="" coords="6227,365,6431,390"/>
|
|
<area shape="poly" title=" " alt="" coords="4196,202,4686,209,5334,222,5917,242,6113,253,6175,260,6209,267,6234,283,6265,309,6320,362,6316,366,6262,313,6231,287,6207,272,6174,265,6113,259,5917,247,5334,228,4685,214,4196,207"/>
|
|
<area shape="rect" href="text_8cpp.html" title=" " alt="" coords="6507,365,6671,390"/>
|
|
<area shape="poly" title=" " alt="" coords="4196,200,4753,202,5509,211,5876,219,6191,231,6421,246,6492,256,6531,267,6555,288,6572,315,6589,363,6584,365,6567,317,6550,292,6528,272,6491,261,6420,252,6191,236,5876,224,5509,216,4753,207,4196,205"/>
|
|
<area shape="rect" href="table_8hpp.html" title=" " alt="" coords="2071,277,2271,302"/>
|
|
<area shape="poly" title=" " alt="" coords="3940,205,3645,207,3236,216,2766,236,2525,252,2290,272,2234,279,2234,274,2289,267,2525,247,2766,231,3236,211,3645,202,3940,200"/>
|
|
<area shape="rect" href="table_8cpp.html" title=" " alt="" coords="1757,365,1928,390"/>
|
|
<area shape="poly" title=" " alt="" coords="3940,205,3496,208,2910,217,2623,225,2369,237,2174,252,2105,261,2060,272,2043,280,2031,289,2003,312,1936,344,1876,367,1874,362,1934,339,2000,307,2027,285,2040,275,2058,267,2104,256,2173,247,2369,231,2623,220,2910,211,3496,202,3940,200"/>
|
|
<area shape="rect" href="blink_8cpp.html" title=" " alt="" coords="1952,365,2123,390"/>
|
|
<area shape="poly" title=" " alt="" coords="3940,205,3551,208,3049,217,2805,226,2591,237,2426,252,2368,262,2330,272,2316,280,2308,290,2298,301,2284,312,2248,326,2198,341,2091,367,2089,362,2196,336,2246,321,2281,307,2295,297,2303,287,2313,276,2328,267,2367,256,2425,247,2591,232,2805,220,3049,212,3551,203,3940,200"/>
|
|
<area shape="rect" href="bold_8cpp.html" title=" " alt="" coords="2147,365,2314,390"/>
|
|
<area shape="poly" title=" " alt="" coords="3940,207,3567,213,3091,225,2656,244,2500,257,2407,272,2374,287,2329,313,2249,367,2246,362,2327,309,2371,283,2406,267,2499,252,2656,239,3091,219,3567,207,3940,201"/>
|
|
<area shape="rect" href="border_8cpp.html" title=" " alt="" coords="959,277,1137,302"/>
|
|
<area shape="poly" title=" " alt="" coords="3940,206,3376,209,2570,218,2148,227,1751,238,1409,253,1151,272,1102,279,1101,274,1150,267,1409,248,1751,233,2148,221,2570,213,3376,203,3940,200"/>
|
|
<area shape="rect" href="clear__under_8cpp.html" title=" " alt="" coords="2338,357,2481,397"/>
|
|
<area shape="poly" title=" " alt="" coords="3940,206,3555,212,3069,223,2839,231,2643,242,2502,256,2459,263,2438,271,2423,290,2415,312,2411,357,2405,357,2409,311,2418,287,2434,267,2458,258,2502,250,2643,237,2838,226,3069,218,3555,206,3940,201"/>
|
|
<area shape="poly" title=" " alt="" coords="3940,207,3465,215,2840,228,2281,247,2093,259,2034,265,2002,272,1989,280,1981,291,1973,302,1958,312,1891,332,1800,348,1693,360,1576,369,1343,377,1157,379,1157,374,1343,372,1576,363,1692,355,1799,343,1889,327,1956,307,1969,298,1977,288,1986,276,2000,267,2033,260,2092,254,2281,242,2840,223,3465,209,3940,202"/>
|
|
<area shape="rect" href="composite__decorator_8cpp.html" title=" " alt="" coords="2817,269,2996,309"/>
|
|
<area shape="poly" title=" " alt="" coords="3941,208,3525,227,3267,246,3008,272,2996,274,2996,268,3008,267,3267,240,3525,222,3940,203"/>
|
|
<area shape="rect" href="dbox_8cpp.html" title=" " alt="" coords="3020,277,3191,302"/>
|
|
<area shape="poly" title=" " alt="" coords="3941,211,3609,232,3409,250,3210,272,3163,279,3163,274,3209,267,3409,244,3609,227,3940,206"/>
|
|
<area shape="rect" href="dim_8cpp.html" title=" " alt="" coords="2505,365,2668,390"/>
|
|
<area shape="poly" title=" " alt="" coords="3940,206,3676,209,3348,219,3185,227,3033,239,2904,253,2806,272,2746,292,2689,318,2605,367,2603,362,2687,314,2744,287,2805,267,2903,248,3033,233,3184,222,3348,214,3676,204,3940,200"/>
|
|
<area shape="rect" href="flex_8cpp.html" title=" " alt="" coords="3265,277,3428,302"/>
|
|
<area shape="poly" title=" " alt="" coords="3940,215,3707,238,3440,272,3400,279,3399,274,3440,267,3707,233,3940,210"/>
|
|
<area shape="rect" href="frame_8cpp.html" title=" " alt="" coords="1162,277,1339,302"/>
|
|
<area shape="poly" title=" " alt="" coords="3940,206,3411,210,2663,220,1907,240,1591,254,1352,272,1304,279,1303,274,1352,267,1591,249,1907,234,2663,214,3411,204,3940,200"/>
|
|
<area shape="rect" href="gauge_8cpp.html" title=" " alt="" coords="1364,277,1543,302"/>
|
|
<area shape="poly" title=" " alt="" coords="3940,206,3447,211,2758,222,2064,242,1775,255,1556,272,1507,279,1507,274,1556,267,1775,250,2064,236,2758,217,3447,206,3940,201"/>
|
|
<area shape="rect" href="graph_8cpp.html" title=" " alt="" coords="1567,277,1742,302"/>
|
|
<area shape="poly" title=" " alt="" coords="3940,206,3482,212,2851,223,2218,243,1955,256,1755,272,1708,279,1707,274,1754,267,1954,251,2218,238,2851,218,3482,206,3940,201"/>
|
|
<area shape="rect" href="gridbox_8cpp.html" title=" " alt="" coords="3452,277,3639,302"/>
|
|
<area shape="poly" title=" " alt="" coords="3981,219,3651,272,3609,279,3608,274,3650,267,3980,214"/>
|
|
<area shape="rect" href="hbox_8cpp.html" title=" " alt="" coords="3663,277,3833,302"/>
|
|
<area shape="poly" title=" " alt="" coords="4012,220,3792,279,3790,274,4011,215"/>
|
|
<area shape="rect" href="hflow_8cpp.html" title=" " alt="" coords="3858,277,4030,302"/>
|
|
<area shape="poly" title=" " alt="" coords="4042,224,3962,279,3959,274,4039,220"/>
|
|
<area shape="rect" href="inverted_8cpp.html" title=" " alt="" coords="2692,365,2884,390"/>
|
|
<area shape="poly" title=" " alt="" coords="3940,207,3767,212,3569,223,3385,242,3310,256,3254,272,3240,280,3230,291,3220,302,3204,312,3160,329,3121,340,3053,348,2984,351,2896,360,2854,367,2853,362,2896,355,2983,345,3053,343,3120,334,3158,324,3201,307,3216,298,3226,287,3236,276,3252,267,3309,250,3384,237,3568,218,3767,207,3940,202"/>
|
|
<area shape="rect" href="node__decorator_8hpp.html" title=" " alt="" coords="2447,269,2590,309"/>
|
|
<area shape="poly" title=" " alt="" coords="3940,208,3384,226,3024,245,2660,272,2590,280,2590,275,2660,267,3024,240,3384,221,3940,202"/>
|
|
<area shape="rect" href="scroll__indicator_8cpp.html" title=" " alt="" coords="2908,357,3055,397"/>
|
|
<area shape="poly" title=" " alt="" coords="4073,228,4068,271,4059,293,4044,311,4020,324,3982,333,3871,347,3726,354,3564,357,3254,356,3137,357,3068,360,3055,362,3055,357,3068,355,3137,351,3254,351,3564,351,3726,349,3870,341,3981,328,4018,319,4041,307,4055,291,4063,270,4067,228"/>
|
|
<area shape="rect" href="underlined_8cpp.html" title=" " alt="" coords="3079,365,3286,390"/>
|
|
<area shape="poly" title=" " alt="" coords="4196,202,4284,208,4372,220,4446,239,4474,252,4494,268,4504,289,4501,301,4494,311,4476,320,4441,327,4329,340,3987,359,3597,371,3287,377,3286,372,3597,366,3987,354,4329,335,4440,322,4474,315,4490,307,4496,298,4498,290,4490,271,4472,256,4445,244,4371,225,4283,214,4196,208"/>
|
|
<area shape="rect" href="reflect_8cpp.html" title=" " alt="" coords="1767,277,1945,302"/>
|
|
<area shape="poly" title=" " alt="" coords="3940,207,3519,214,2949,227,2380,246,2144,258,1964,272,1913,279,1913,274,1964,267,2143,253,2380,241,2949,222,3519,209,3940,202"/>
|
|
<area shape="rect" href="separator_8cpp.html" title=" " alt="" coords="735,277,934,302"/>
|
|
<area shape="poly" title=" " alt="" coords="3940,206,3341,209,2476,218,1594,238,1225,253,947,272,894,279,893,274,946,267,1225,248,1594,233,2475,213,3341,203,3940,200"/>
|
|
<area shape="rect" href="size_8cpp.html" title=" " alt="" coords="4106,277,4270,302"/>
|
|
<area shape="poly" title=" " alt="" coords="4097,220,4173,274,4170,279,4094,224"/>
|
|
<area shape="rect" href="spinner_8cpp.html" title=" " alt="" coords="4294,277,4479,302"/>
|
|
<area shape="poly" title=" " alt="" coords="4125,215,4345,274,4343,279,4123,220"/>
|
|
<area shape="poly" title=" " alt="" coords="5406,381,5702,402,5883,419,6064,443,6076,445,6075,450,6064,448,5883,425,5702,407,5405,386"/>
|
|
<area shape="poly" title=" " alt="" coords="5296,411,5285,446,5280,444,5291,410"/>
|
|
<area shape="poly" title=" " alt="" coords="5208,403,5004,449,5003,444,5207,398"/>
|
|
<area shape="poly" title=" " alt="" coords="5200,394,5032,417,4842,448,4830,450,4829,445,4841,443,5031,412,5199,389"/>
|
|
<area shape="poly" title=" " alt="" coords="5247,405,5148,448,5145,443,5245,400"/>
|
|
<area shape="poly" title=" " alt="" coords="5406,379,5567,385,5775,397,6006,415,6239,443,6250,444,6249,450,6238,448,6006,421,5774,402,5566,390,5406,384"/>
|
|
<area shape="poly" title=" " alt="" coords="5348,402,5421,443,5418,448,5346,406"/>
|
|
<area shape="poly" title=" " alt="" coords="5387,398,5556,443,5555,448,5386,403"/>
|
|
<area shape="poly" title=" " alt="" coords="5406,391,5715,443,5726,445,5725,450,5714,448,5405,396"/>
|
|
<area shape="poly" title=" " alt="" coords="5199,386,4883,406,4688,424,4492,448,4480,450,4479,445,4492,443,4687,418,4882,400,5199,380"/>
|
|
<area shape="poly" title=" " alt="" coords="5200,389,4956,411,4811,428,4667,448,4655,450,4654,445,4666,443,4811,422,4956,406,5200,383"/>
|
|
<area shape="poly" title=" " alt="" coords="5200,384,5031,389,4811,401,4565,420,4318,448,4305,450,4305,445,4317,443,4565,415,4811,396,5031,384,5200,378"/>
|
|
<area shape="poly" title=" " alt="" coords="5406,385,5629,407,5890,443,5901,445,5900,450,5889,448,5628,413,5406,390"/>
|
|
<area shape="poly" title=" " alt="" coords="5188,313,5268,355,5266,360,5186,318"/>
|
|
<area shape="poly" title=" " alt="" coords="5242,299,5433,322,5652,355,5859,396,6065,443,6076,445,6074,450,6063,448,5858,401,5652,360,5432,327,5241,304"/>
|
|
<area shape="poly" title=" " alt="" coords="5119,322,5103,360,5102,379,5109,396,5123,408,5147,421,5208,443,5206,448,5145,426,5120,413,5104,399,5097,379,5098,359,5114,320"/>
|
|
<area shape="poly" title=" " alt="" coords="5101,319,5047,359,4949,447,4946,443,5044,355,5098,315"/>
|
|
<area shape="poly" title=" " alt="" coords="5086,317,4796,448,4794,443,5084,312"/>
|
|
<area shape="poly" title=" " alt="" coords="5093,319,5073,337,5058,358,5054,381,5060,404,5072,425,5086,444,5082,447,5068,428,5055,406,5049,381,5054,356,5069,333,5090,315"/>
|
|
<area shape="poly" title=" " alt="" coords="5242,296,5483,319,5770,355,6239,443,6250,445,6249,450,6238,448,5769,360,5483,325,5241,302"/>
|
|
<area shape="poly" title=" " alt="" coords="5152,321,5172,360,5186,379,5203,395,5226,405,5269,418,5377,444,5376,449,5268,423,5224,410,5200,400,5182,383,5168,363,5147,323"/>
|
|
<area shape="poly" title=" " alt="" coords="5242,309,5322,329,5405,355,5510,400,5594,443,5592,448,5507,404,5403,360,5321,334,5241,314"/>
|
|
<area shape="poly" title=" " alt="" coords="5242,306,5352,327,5470,355,5623,400,5750,443,5748,448,5622,405,5469,360,5351,333,5241,311"/>
|
|
<area shape="poly" title=" " alt="" coords="5036,309,4910,331,4774,360,4604,405,4463,448,4462,443,4603,400,4773,355,4909,326,5035,304"/>
|
|
<area shape="poly" title=" " alt="" coords="5058,316,4906,360,4635,448,4633,443,4905,355,5057,310"/>
|
|
<area shape="poly" title=" " alt="" coords="5036,303,4844,325,4625,360,4441,404,4290,448,4288,443,4439,399,4623,355,4843,319,5035,297"/>
|
|
<area shape="poly" title=" " alt="" coords="5242,302,5389,325,5553,355,5748,400,5910,443,5909,448,5747,405,5551,360,5389,330,5241,307"/>
|
|
<area shape="poly" title=" " alt="" coords="5651,313,5393,362,5392,357,5650,308"/>
|
|
<area shape="poly" title=" " alt="" coords="5812,312,6109,443,6107,448,5810,317"/>
|
|
<area shape="poly" title=" " alt="" coords="5692,317,5330,448,5328,443,5690,312"/>
|
|
<area shape="poly" title=" " alt="" coords="5651,297,5533,305,5403,317,5285,335,5238,346,5203,360,5175,378,5151,401,5116,447,5112,444,5147,398,5172,374,5200,355,5236,341,5284,329,5403,311,5533,299,5651,292"/>
|
|
<area shape="poly" title=" " alt="" coords="5831,311,6264,443,6263,448,5830,316"/>
|
|
<area shape="poly" title=" " alt="" coords="5736,322,5643,447,5639,444,5732,319"/>
|
|
<area shape="poly" title=" " alt="" coords="5767,322,5799,444,5794,446,5762,323"/>
|
|
<area shape="poly" title=" " alt="" coords="5792,316,5954,443,5950,447,5789,320"/>
|
|
<area shape="poly" title=" " alt="" coords="6322,278,6270,272,5965,250,5654,234,5050,213,4534,206,4182,205,4182,199,4535,200,5050,208,5654,228,5966,245,6271,267,6322,272"/>
|
|
<area shape="poly" title=" " alt="" coords="6421,311,6435,330,6447,352,6452,375,6446,398,6434,415,6420,428,6386,448,6384,443,6416,424,6430,411,6442,396,6447,375,6442,354,6431,333,6417,314"/>
|
|
<area shape="poly" title=" " alt="" coords="6382,315,6341,366,6337,362,6377,311"/>
|
|
<area shape="poly" title=" " alt="" coords="6437,305,6564,362,6562,367,6435,310"/>
|
|
<area shape="poly" title=" " alt="" coords="2114,308,1887,367,1886,362,2113,303"/>
|
|
<area shape="poly" title=" " alt="" coords="2434,308,2136,360,2097,367,2096,362,2136,355,2433,303"/>
|
|
<area shape="poly" title=" " alt="" coords="2443,316,2270,367,2268,362,2442,311"/>
|
|
<area shape="poly" title=" " alt="" coords="2485,320,2435,359,2432,355,2482,316"/>
|
|
<area shape="poly" title=" " alt="" coords="2434,301,2283,312,1636,350,1157,375,1157,369,1635,345,2282,307,2433,295"/>
|
|
<area shape="poly" title=" " alt="" coords="2544,318,2579,363,2575,366,2540,322"/>
|
|
<area shape="poly" title=" " alt="" coords="2591,311,2753,362,2751,367,2590,316"/>
|
|
<area shape="poly" title=" " alt="" coords="2604,302,2897,355,2908,357,2907,362,2895,360,2603,307"/>
|
|
<area shape="poly" title=" " alt="" coords="2604,297,2815,322,3067,355,3115,362,3114,367,3066,360,2814,327,2603,303"/>
|
|
<area shape="poly" title=" " alt="" coords="233,143,155,191,152,186,230,138"/>
|
|
<area shape="poly" title=" " alt="" coords="295,144,319,180,315,183,291,146"/>
|
|
<area shape="poly" title=" " alt="" coords="1339,115,3954,194,3954,199,1339,120"/>
|
|
<area shape="poly" title=" " alt="" coords="1339,113,2431,128,4170,160,5047,182,5801,207,6103,221,6339,235,6497,251,6544,259,6567,267,6584,290,6592,317,6593,364,6588,364,6587,318,6579,292,6564,271,6542,264,6497,256,6339,241,6103,226,5801,212,5047,187,4170,166,2431,134,1339,118"/>
|
|
<area shape="poly" title=" " alt="" coords="1162,120,1003,126,820,138,662,157,609,169,580,183,559,214,552,246,559,277,580,307,603,316,649,324,803,336,1013,344,1251,348,1703,351,1940,355,1986,362,1986,367,1940,360,1703,357,1251,353,1013,349,803,341,649,329,601,321,577,311,554,279,547,246,555,212,577,179,607,164,661,151,819,133,1003,121,1162,114"/>
|
|
<area shape="poly" title=" " alt="" coords="1162,120,1015,128,848,140,705,159,657,170,631,183,610,215,603,246,610,277,631,307,656,317,708,326,878,338,1109,346,1373,350,1873,352,2135,355,2181,362,2180,367,2134,360,1873,357,1373,355,1109,351,877,344,707,331,654,322,628,311,605,279,598,246,605,212,628,179,655,165,704,153,847,135,1015,122,1162,115"/>
|
|
<area shape="poly" title=" " alt="" coords="1220,145,1063,278,1060,274,1216,141"/>
|
|
<area shape="poly" title=" " alt="" coords="1162,121,1027,129,876,142,748,160,704,171,682,183,661,215,654,246,660,277,682,307,709,318,766,327,952,340,1205,348,1493,351,2040,352,2327,355,2338,356,2337,362,2326,360,2040,357,1493,356,1205,353,951,346,765,332,707,323,678,311,656,279,648,246,656,212,678,179,703,166,747,155,875,137,1027,124,1162,116"/>
|
|
<area shape="poly" title=" " alt="" coords="1162,119,992,124,792,136,699,144,619,155,561,168,541,175,530,183,509,214,502,245,509,276,530,307,551,319,592,330,714,347,858,361,987,369,987,374,858,366,714,353,591,335,549,324,526,311,504,278,497,245,504,212,526,179,539,171,559,163,619,150,698,139,792,131,991,119,1162,114"/>
|
|
<area shape="poly" title=" " alt="" coords="1162,121,998,136,908,150,825,169,756,194,731,208,712,224,701,242,699,262,707,283,726,307,755,319,816,329,1016,342,1288,350,1598,353,2185,352,2494,355,2538,362,2538,367,2493,360,2185,358,1598,358,1288,355,1016,348,815,334,753,324,722,311,702,286,694,262,696,240,708,221,728,204,754,189,823,164,907,145,997,131,1162,116"/>
|
|
<area shape="poly" title=" " alt="" coords="1253,147,1253,276,1248,276,1248,147"/>
|
|
<area shape="poly" title=" " alt="" coords="1285,141,1441,274,1438,278,1282,145"/>
|
|
<area shape="poly" title=" " alt="" coords="1308,136,1629,274,1627,279,1306,141"/>
|
|
<area shape="poly" title=" " alt="" coords="1339,117,1614,137,1980,169,2168,190,2342,213,2492,239,2604,267,2655,288,2704,315,2775,362,2772,367,2701,319,2653,293,2602,272,2491,244,2342,218,2167,195,1980,174,1613,142,1339,123"/>
|
|
<area shape="poly" title=" " alt="" coords="1340,114,1508,119,1733,131,1988,150,2246,179,2365,196,2457,212,2548,233,2664,267,2713,286,2762,307,2915,355,2913,360,2760,312,2711,291,2662,272,2547,238,2456,217,2364,201,2245,184,1988,155,1733,136,1508,125,1339,119"/>
|
|
<area shape="poly" title=" " alt="" coords="1339,115,1873,138,2169,157,2384,179,2484,195,2561,210,2637,232,2732,267,2769,288,2785,297,2806,307,3116,362,3115,367,2805,312,2782,302,2766,292,2730,272,2635,237,2560,215,2483,200,2384,184,2168,162,1872,144,1339,120"/>
|
|
<area shape="poly" title=" " alt="" coords="1330,135,1817,274,1816,279,1328,140"/>
|
|
<area shape="poly" title=" " alt="" coords="1194,141,863,279,861,274,1192,136"/>
|
|
</map>
|
|
</div>
|
|
</div>
|
|
<p><a href="color_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_1Color.html">Color</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A class representing terminal colors. <a href="classftxui_1_1Color.html#details">More...</a><br /></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>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui_1_1literals.html">ftxui::literals</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:a66d988ecc082819b1671ee2bbadebccd" id="r_a66d988ecc082819b1671ee2bbadebccd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classftxui_1_1Color.html">Color</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui_1_1literals.html#a66d988ecc082819b1671ee2bbadebccd">operator""_rgb</a> (unsigned long long int combined)</td></tr>
|
|
<tr class="memdesc:a66d988ecc082819b1671ee2bbadebccd"><td class="mdescLeft"> </td><td class="mdescRight">Creates a color from a combined hex RGB representation, e.g. 0x808000_rgb. <br /></td></tr>
|
|
<tr class="separator:a66d988ecc082819b1671ee2bbadebccd"><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": "../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": "index.html", "v0.10": "../v0.10/index.html"};
|
|
const currentLang = "en";
|
|
const currentVersion = "v0.11";
|
|
|
|
// 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>
|