This commit is contained in:
ArthurSonzogni
2025-12-13 19:38:34 +00:00
commit 02764cd443
35187 changed files with 6288738 additions and 0 deletions

430
en/v3.0.0/color_8hpp.html Normal file
View File

@@ -0,0 +1,430 @@
<!-- 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
&#160;<span id="projectnumber">3.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&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('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> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<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="472,5,621,45"/>
<area shape="rect" href="component__options_8hpp.html" title=" " alt="" coords="4187,343,4370,383"/>
<area shape="poly" title=" " alt="" coords="635,27,1171,48,1533,67,1902,91,2376,130,2745,167,3586,267,3881,300,4175,340,4187,342,4186,347,4174,345,3880,305,3585,272,2744,173,2376,135,1901,96,1533,72,1171,53,635,32"/>
<area shape="rect" href="button_8cpp.html" title=" " alt="" coords="3431,519,3582,559"/>
<area shape="poly" title=" " alt="" coords="458,37,268,59,178,76,116,96,73,116,39,135,26,146,16,160,10,178,8,200,8,364,10,394,17,419,28,437,43,452,62,462,83,468,135,473,262,466,331,463,400,468,601,483,941,497,1864,516,2813,529,3431,534,3431,539,2813,534,1864,522,941,502,600,489,400,473,331,469,263,471,135,478,82,473,60,467,40,456,24,441,12,421,5,395,3,364,3,200,5,177,11,158,22,143,36,130,71,111,114,91,177,71,267,54,458,31"/>
<area shape="rect" href="menu_8cpp.html" title=" " alt="" coords="3606,519,3757,559"/>
<area shape="poly" title=" " alt="" coords="536,59,501,154,463,278,450,339,443,394,446,439,452,456,460,469,474,474,503,479,608,487,962,500,1455,508,2017,512,3077,513,3595,516,3606,518,3605,523,3594,521,3077,518,2017,517,1455,513,962,506,607,493,503,484,472,479,457,473,447,459,441,440,438,394,445,338,458,276,496,153,531,58"/>
<area shape="rect" href="slider_8cpp.html" title=" " alt="" coords="5527,519,5678,559"/>
<area shape="poly" title=" " alt="" coords="635,24,1818,32,2731,41,3716,57,4667,79,5097,93,5478,109,5798,127,6043,148,6133,159,6200,171,6242,184,6253,191,6257,199,6257,364,6253,386,6239,406,6218,425,6190,441,6118,469,6031,491,5936,508,5841,521,5678,536,5678,531,5840,516,5936,503,6030,486,6117,464,6188,436,6215,420,6235,403,6248,384,6252,364,6252,201,6249,195,6239,189,6199,176,6133,164,6043,153,5798,132,5478,114,5097,98,4667,84,3716,62,2731,47,1818,37,635,30"/>
<area shape="rect" href="canvas_8hpp.html" title=" " alt="" coords="736,189,949,214"/>
<area shape="poly" title=" " alt="" coords="592,50,824,186,822,191,589,55"/>
<area shape="rect" href="elements_8hpp.html" title=" " alt="" coords="3345,269,3573,295"/>
<area shape="poly" title=" " alt="" coords="635,28,1077,52,1664,91,2115,131,2564,179,3360,267,3360,272,2564,184,2114,136,1664,96,1077,57,635,33"/>
<area shape="rect" href="dom_2color_8cpp.html" title=" " alt="" coords="470,438,639,463"/>
<area shape="poly" title=" " alt="" coords="459,37,338,57,272,73,209,96,134,127,108,148,84,183,77,202,84,220,121,268,166,309,218,343,273,372,328,394,383,412,479,435,478,441,381,417,327,399,270,376,215,348,163,313,117,272,79,223,72,202,79,180,104,144,132,122,207,91,271,68,337,51,458,31"/>
<area shape="rect" href="separator_8cpp.html" title=" " alt="" coords="1389,350,1587,375"/>
<area shape="poly" title=" " alt="" coords="567,55,594,94,630,139,674,183,725,219,764,233,831,249,1022,285,1411,347,1410,353,1021,291,830,254,762,238,723,224,671,187,626,142,589,97,563,58"/>
<area shape="rect" href="color__info_8hpp.html" title=" " alt="" coords="259,93,408,133"/>
<area shape="poly" title=" " alt="" coords="488,53,381,96,379,91,486,48"/>
<area shape="rect" href="screen_2color_8cpp.html" title=" " alt="" coords="94,189,277,214"/>
<area shape="poly" title=" " alt="" coords="459,30,407,36,352,48,298,67,248,95,227,117,210,143,191,190,186,188,205,141,222,114,245,91,296,62,351,43,407,31,458,25"/>
<area shape="rect" href="color__info_8cpp.html" title=" " alt="" coords="301,181,459,221"/>
<area shape="poly" title=" " alt="" coords="518,57,479,95,398,183,395,179,475,91,515,53"/>
<area shape="rect" href="screen_8hpp.html" title=" " alt="" coords="1503,93,1652,133"/>
<area shape="poly" title=" " alt="" coords="635,31,1503,103,1502,108,635,37"/>
<area shape="rect" href="component_8hpp.html" title=" " alt="" coords="4547,431,4725,471"/>
<area shape="poly" title=" " alt="" coords="4371,383,4558,428,4557,433,4370,388"/>
<area shape="poly" title=" " alt="" coords="4173,385,4071,393,3991,394,3953,396,3914,402,3871,414,3823,433,3809,442,3800,452,3790,463,3776,473,3700,495,3583,523,3582,518,3699,490,3774,468,3787,459,3796,448,3805,438,3820,428,3870,409,3913,397,3953,391,3991,389,4071,388,4173,380"/>
<area shape="rect" href="checkbox_8cpp.html" title=" " alt="" coords="3781,519,3931,559"/>
<area shape="poly" title=" " alt="" coords="4206,389,4084,433,3980,479,3894,521,3892,516,3978,474,4082,428,4204,384"/>
<area shape="rect" href="collapsible_8cpp.html" title=" " alt="" coords="3955,519,4106,559"/>
<area shape="poly" title=" " alt="" coords="4216,390,4176,409,4138,433,4086,477,4048,520,4044,517,4083,474,4134,429,4174,405,4214,386"/>
<area shape="rect" href="dropdown_8cpp.html" title=" " alt="" coords="4130,519,4281,559"/>
<area shape="poly" title=" " alt="" coords="4260,396,4240,432,4223,478,4212,519,4207,518,4218,477,4235,430,4255,393"/>
<area shape="rect" href="input_8cpp.html" title=" " alt="" coords="4305,519,4455,559"/>
<area shape="poly" title=" " alt="" coords="4298,394,4341,469,4370,517,4366,520,4336,472,4293,397"/>
<area shape="poly" title=" " alt="" coords="4174,386,3934,433,3816,477,3720,521,3718,516,3814,472,3933,428,4173,381"/>
<area shape="rect" href="radiobox_8cpp.html" title=" " alt="" coords="4479,519,4630,559"/>
<area shape="poly" title=" " alt="" coords="4319,388,4441,468,4523,516,4520,521,4439,473,4316,393"/>
<area shape="rect" href="component__options_8cpp.html" title=" " alt="" coords="3581,431,3763,471"/>
<area shape="poly" title=" " alt="" coords="4174,385,3976,410,3782,433,3764,436,3763,431,3781,428,3975,404,4173,380"/>
<area shape="poly" title=" " alt="" coords="4533,456,4355,462,4122,473,3859,492,3595,521,3583,523,3582,518,3594,516,3859,487,4121,467,4355,456,4533,451"/>
<area shape="poly" title=" " alt="" coords="4533,461,4266,483,4105,500,3944,521,3932,523,3931,518,3944,516,4104,494,4265,477,4533,456"/>
<area shape="poly" title=" " alt="" coords="4533,465,4340,489,4119,521,4107,523,4106,518,4118,516,4340,483,4532,460"/>
<area shape="rect" href="component_8cpp.html" title=" " alt="" coords="4654,519,4805,559"/>
<area shape="poly" title=" " alt="" coords="4669,478,4710,516,4707,520,4665,482"/>
<area shape="rect" href="container_8cpp.html" title=" " alt="" coords="4829,519,4979,559"/>
<area shape="poly" title=" " alt="" coords="4709,472,4846,516,4845,521,4707,477"/>
<area shape="poly" title=" " alt="" coords="4534,474,4294,521,4281,524,4280,519,4293,516,4533,469"/>
<area shape="poly" title=" " alt="" coords="4568,478,4437,521,4435,516,4566,473"/>
<area shape="rect" href="maybe_8cpp.html" title=" " alt="" coords="5003,519,5154,559"/>
<area shape="poly" title=" " alt="" coords="4739,468,4993,516,5004,518,5003,524,4991,521,4738,473"/>
<area shape="poly" title=" " alt="" coords="4533,458,4193,477,3982,496,3770,521,3757,523,3757,518,3769,516,3981,490,4193,472,4533,453"/>
<area shape="poly" title=" " alt="" coords="4610,483,4575,520,4571,517,4607,479"/>
<area shape="rect" href="renderer_8cpp.html" title=" " alt="" coords="5178,519,5329,559"/>
<area shape="poly" title=" " alt="" coords="4739,460,4938,483,5167,516,5178,518,5177,523,5166,521,4937,488,4739,465"/>
<area shape="rect" href="resizable__split_8cpp.html" title=" " alt="" coords="5353,519,5503,559"/>
<area shape="poly" title=" " alt="" coords="4739,455,5012,477,5177,494,5342,516,5353,518,5352,523,5341,521,5176,499,5012,482,4739,461"/>
<area shape="poly" title=" " alt="" coords="4739,453,5085,471,5300,490,5516,516,5528,518,5527,523,5516,521,5300,495,5085,477,4739,458"/>
<area shape="poly" title=" " alt="" coords="964,204,3345,275,3344,280,964,209"/>
<area shape="rect" href="canvas_8cpp.html" title=" " alt="" coords="608,350,792,375"/>
<area shape="poly" title=" " alt="" coords="825,226,713,351,709,348,821,223"/>
<area shape="poly" title=" " alt="" coords="3587,292,3592,292,3884,312,4012,321,4175,340,4187,342,4187,347,4174,345,4011,327,3884,317,3592,297,3586,297"/>
<area shape="poly" title=" " alt="" coords="3587,292,3592,292,3787,296,4039,297,4167,300,4288,307,4394,320,4478,340,4496,348,4509,358,4536,381,4609,428,4606,433,4533,385,4506,362,4494,353,4476,345,4393,325,4288,313,4167,306,4038,302,3787,302,3592,297,3586,297"/>
<area shape="poly" title=" " alt="" coords="3331,287,2793,291,2056,301,1364,318,1112,330,963,345,931,353,907,362,851,385,808,394,771,397,740,406,726,416,712,432,703,452,705,460,711,468,744,477,822,485,1093,499,1476,510,1923,519,2826,530,3431,534,3431,540,2826,535,1923,524,1475,516,1093,505,822,490,743,482,708,473,700,462,698,451,707,429,722,412,738,401,771,392,807,389,850,380,905,357,929,348,962,340,1112,325,1364,313,2056,295,2793,286,3331,281"/>
<area shape="poly" title=" " alt="" coords="3460,308,3460,398,3465,441,3470,458,3477,469,3499,484,3531,494,3615,506,3702,510,3770,516,3781,518,3780,523,3769,521,3702,515,3614,511,3530,500,3496,489,3473,472,3465,460,3460,442,3454,398,3455,308"/>
<area shape="poly" title=" " alt="" coords="3468,307,3499,403,3515,446,3527,469,3562,486,3609,498,3666,505,3728,508,3850,510,3944,516,3956,518,3955,523,3944,521,3850,516,3727,513,3665,510,3608,503,3560,491,3523,473,3510,449,3493,404,3463,309"/>
<area shape="poly" title=" " alt="" coords="3587,292,3592,292,3810,293,4172,293,4362,296,4532,304,4663,318,4709,328,4739,340,4770,367,4787,397,4791,431,4783,472,4769,498,4751,520,4747,517,4764,495,4777,470,4786,431,4782,399,4766,370,4736,345,4708,333,4662,324,4531,309,4362,302,4172,298,3810,298,3592,297,3587,297"/>
<area shape="poly" title=" " alt="" coords="3587,292,3592,292,3816,294,4190,295,4386,298,4561,306,4698,320,4746,329,4777,340,4802,358,4825,379,4861,429,4886,478,4901,518,4896,520,4881,481,4856,432,4821,383,4799,362,4775,345,4745,334,4697,325,4561,312,4386,304,4190,300,3816,299,3592,297,3587,297"/>
<area shape="poly" title=" " alt="" coords="3478,304,3502,341,3520,380,3530,413,3543,442,3554,455,3571,468,3592,480,3618,489,3682,501,3756,508,3837,510,3996,510,4065,511,4119,516,4130,518,4129,523,4118,521,4064,517,3996,516,3837,516,3756,513,3681,507,3617,494,3590,485,3568,473,3550,459,3538,445,3525,415,3515,382,3498,344,3473,307"/>
<area shape="poly" title=" " alt="" coords="3587,292,3592,292,3744,293,3998,294,4129,298,4246,306,4336,320,4366,329,4384,341,4399,361,4407,384,4411,409,4410,434,4402,482,4390,519,4385,517,4397,481,4405,434,4405,409,4402,386,4394,364,4381,345,4364,334,4334,325,4246,312,4129,304,3998,300,3744,299,3592,297,3586,297"/>
<area shape="poly" title=" " alt="" coords="3587,292,3592,292,3823,297,4208,302,4591,315,4734,325,4784,332,4818,340,4858,357,4896,378,4966,427,5024,477,5063,516,5059,520,5020,481,4963,431,4893,382,4856,362,4817,345,4783,337,4733,331,4591,320,4207,307,3823,302,3592,297,3587,297"/>
<area shape="poly" title=" " alt="" coords="3452,309,3426,397,3420,441,3421,458,3426,469,3490,489,3606,518,3605,523,3489,494,3422,473,3416,459,3415,441,3421,396,3447,307"/>
<area shape="poly" title=" " alt="" coords="3587,292,3592,292,4005,302,4262,315,4357,326,4390,332,4412,340,4439,358,4463,379,4502,429,4532,478,4550,517,4545,520,4527,481,4498,432,4459,383,4435,362,4409,345,4389,338,4356,331,4262,320,4005,308,3592,297,3586,297"/>
<area shape="poly" title=" " alt="" coords="3587,292,3592,292,3718,296,3874,297,4237,295,4423,298,4598,304,4752,318,4818,328,4875,340,4929,357,4983,378,5083,427,5168,477,5228,516,5226,521,5166,481,5081,432,4980,383,4927,362,4874,345,4817,333,4752,323,4598,310,4423,303,4237,301,3874,302,3717,301,3592,297,3587,297"/>
<area shape="poly" title=" " alt="" coords="3587,292,3592,292,3725,297,3889,298,4272,299,4469,302,4654,308,4818,321,4949,340,5015,357,5082,378,5209,427,5318,477,5395,516,5393,521,5315,481,5207,432,5080,383,5014,362,4947,345,4817,326,4654,314,4469,307,4272,305,3889,304,3725,302,3592,297,3587,297"/>
<area shape="poly" title=" " alt="" coords="3587,292,3592,292,3733,297,3908,299,4315,301,4524,304,4721,311,4895,322,5035,340,5113,357,5191,378,5341,427,5470,477,5563,516,5561,521,5468,482,5340,432,5190,383,5112,362,5034,345,4895,327,4721,316,4524,310,4315,307,3908,305,3733,302,3592,297,3587,297"/>
<area shape="poly" title=" " alt="" coords="3547,296,3591,313,3631,341,3648,362,3660,386,3672,430,3667,431,3655,388,3643,365,3628,345,3589,318,3545,301"/>
<area shape="rect" href="component__base_8hpp.html" title=" " alt="" coords="4547,343,4725,383"/>
<area shape="poly" title=" " alt="" coords="3587,292,3592,292,3855,305,4061,309,4266,317,4528,340,4547,342,4546,348,4528,345,4265,322,4061,315,3855,310,3592,297,3586,297"/>
<area shape="rect" href="dom_2deprecated_8hpp.html" title=" " alt="" coords="3699,350,3939,375"/>
<area shape="poly" title=" " alt="" coords="3518,295,3760,347,3759,353,3517,300"/>
<area shape="rect" href="table_8hpp.html" title=" " alt="" coords="3963,350,4163,375"/>
<area shape="poly" title=" " alt="" coords="3579,294,3951,340,3998,347,3997,353,3950,345,3578,299"/>
<area shape="rect" href="automerge_8cpp.html" title=" " alt="" coords="721,438,930,463"/>
<area shape="poly" title=" " alt="" coords="3331,287,2816,290,2118,300,1465,317,1227,330,1143,337,1087,345,1016,365,948,391,847,440,845,435,946,386,1015,360,1086,340,1143,332,1227,324,1465,312,2118,294,2816,285,3331,281"/>
<area shape="rect" href="blink_8cpp.html" title=" " alt="" coords="955,438,1125,463"/>
<area shape="poly" title=" " alt="" coords="3331,287,2805,291,2100,301,1463,318,1249,330,1182,337,1146,345,1114,365,1086,391,1049,439,1045,436,1082,387,1111,361,1144,340,1181,332,1249,325,1463,313,2099,295,2805,285,3331,281"/>
<area shape="rect" href="bold_8cpp.html" title=" " alt="" coords="1150,438,1317,463"/>
<area shape="poly" title=" " alt="" coords="3331,287,2796,292,2081,303,1448,320,1245,332,1186,338,1162,345,1155,355,1154,367,1167,392,1191,417,1217,436,1214,440,1188,421,1163,396,1149,368,1150,354,1158,341,1185,333,1244,326,1448,315,2081,297,2796,287,3331,282"/>
<area shape="rect" href="border_8cpp.html" title=" " alt="" coords="5836,350,6015,375"/>
<area shape="poly" title=" " alt="" coords="3586,281,4054,285,4700,294,5349,312,5619,324,5824,340,5873,347,5872,353,5824,345,5619,330,5349,317,4700,300,4054,290,3586,287"/>
<area shape="poly" title=" " alt="" coords="3331,286,2813,290,2085,299,1350,316,1043,329,811,345,758,353,757,347,810,340,1043,324,1350,311,2085,293,2813,284,3331,281"/>
<area shape="rect" href="clear__under_8cpp.html" title=" " alt="" coords="1539,431,1682,471"/>
<area shape="poly" title=" " alt="" coords="3331,288,3053,294,2718,304,2419,321,2313,332,2250,345,2235,354,2226,364,2216,375,2200,385,2127,410,2063,423,2006,428,1952,428,1838,423,1772,425,1695,433,1682,435,1682,430,1694,428,1771,419,1838,417,1952,422,2006,423,2063,418,2125,405,2198,380,2212,371,2222,361,2232,350,2248,340,2312,327,2419,316,2718,299,3053,288,3331,283"/>
<area shape="poly" title=" " alt="" coords="3331,287,2748,292,1951,303,1226,320,981,332,903,338,862,345,845,353,834,363,822,374,805,385,759,404,711,419,623,441,621,435,710,414,757,399,803,380,819,370,830,359,842,349,861,340,903,333,980,327,1226,315,1951,298,2748,287,3331,282"/>
<area shape="rect" href="composite__decorator_8cpp.html" title=" " alt="" coords="1813,343,1992,383"/>
<area shape="poly" title=" " alt="" coords="3331,285,3085,287,2755,295,2382,313,2191,327,2004,345,1992,347,1992,342,2004,340,2191,322,2381,308,2755,289,3085,281,3331,280"/>
<area shape="rect" href="dbox_8cpp.html" title=" " alt="" coords="2016,350,2187,375"/>
<area shape="poly" title=" " alt="" coords="3331,287,3117,290,2837,299,2522,317,2206,345,2158,353,2157,347,2205,340,2522,312,2837,294,3117,285,3331,281"/>
<area shape="rect" href="dim_8cpp.html" title=" " alt="" coords="1707,438,1869,463"/>
<area shape="poly" title=" " alt="" coords="3414,302,3370,321,3327,345,3314,355,3306,366,3297,376,3282,385,3244,395,3186,403,3024,415,2816,422,2585,425,2145,426,1980,429,1882,433,1838,441,1837,435,1881,428,1980,423,2145,421,2585,419,2816,416,3023,410,3186,398,3243,390,3280,380,3294,372,3302,363,3311,352,3324,340,3368,316,3412,297"/>
<area shape="rect" href="flex_8cpp.html" title=" " alt="" coords="2261,350,2424,375"/>
<area shape="poly" title=" " alt="" coords="3331,288,3154,293,2931,303,2684,320,2436,345,2393,353,2392,347,2436,340,2683,314,2930,297,3154,287,3331,282"/>
<area shape="rect" href="flexbox_8cpp.html" title=" " alt="" coords="2448,350,2635,375"/>
<area shape="poly" title=" " alt="" coords="3331,291,3019,310,2833,325,2647,345,2600,353,2599,347,2646,340,2832,320,3019,305,3330,286"/>
<area shape="rect" href="focus_8cpp.html" title=" " alt="" coords="1341,438,1515,463"/>
<area shape="poly" title=" " alt="" coords="3331,287,2992,290,2551,299,2117,317,1938,330,1802,345,1702,366,1605,392,1459,440,1458,435,1604,387,1701,360,1801,340,1937,324,2117,311,2551,294,2992,285,3331,281"/>
<area shape="rect" href="frame_8cpp.html" title=" " alt="" coords="6039,350,6217,375"/>
<area shape="poly" title=" " alt="" coords="3587,281,4090,284,4795,292,5506,310,5802,323,6027,340,6076,347,6075,353,6026,345,5802,329,5506,315,4795,298,4090,289,3587,286"/>
<area shape="rect" href="gauge_8cpp.html" title=" " alt="" coords="5231,350,5409,375"/>
<area shape="poly" title=" " alt="" coords="3587,292,3592,292,3839,303,4048,307,4403,304,4574,304,4758,308,4966,319,5212,340,5263,347,5263,353,5212,345,4966,324,4758,313,4574,309,4403,310,4048,312,3839,308,3592,297,3587,297"/>
<area shape="rect" href="graph_8cpp.html" title=" " alt="" coords="5434,350,5609,375"/>
<area shape="poly" title=" " alt="" coords="3587,285,3795,292,4043,297,4253,298,4609,296,4781,297,4966,303,5175,317,5422,340,5469,347,5468,353,5421,345,5174,322,4965,308,4781,302,4609,301,4253,304,4043,303,3795,297,3586,290"/>
<area shape="rect" href="gridbox_8cpp.html" title=" " alt="" coords="2659,350,2845,375"/>
<area shape="poly" title=" " alt="" coords="3331,296,3110,316,2858,345,2812,353,2811,347,2857,340,3109,311,3331,290"/>
<area shape="rect" href="hbox_8cpp.html" title=" " alt="" coords="2869,350,3040,375"/>
<area shape="poly" title=" " alt="" coords="3361,299,3054,345,3013,353,3012,347,3053,340,3360,294"/>
<area shape="rect" href="inverted_8cpp.html" title=" " alt="" coords="1893,438,2085,463"/>
<area shape="poly" title=" " alt="" coords="3432,305,3378,345,3354,367,3343,377,3326,385,3292,393,3242,400,3099,411,2714,422,2329,426,2098,433,2047,441,2046,435,2097,428,2328,421,2714,416,3098,405,3241,395,3291,388,3324,380,3340,372,3350,363,3374,341,3429,301"/>
<area shape="rect" href="node__decorator_8hpp.html" title=" " alt="" coords="1171,343,1314,383"/>
<area shape="poly" title=" " alt="" coords="3331,288,2350,307,1789,324,1555,334,1378,345,1314,353,1314,347,1377,340,1555,329,1789,318,2350,301,3330,282"/>
<area shape="rect" href="scroll__indicator_8cpp.html" title=" " alt="" coords="2109,431,2256,471"/>
<area shape="poly" title=" " alt="" coords="3449,309,3420,349,3401,369,3377,385,3350,394,3310,402,3194,416,3042,428,2870,436,2520,447,2256,451,2256,446,2520,442,2870,431,3042,422,3193,411,3309,397,3349,389,3375,380,3397,365,3416,346,3444,306"/>
<area shape="rect" href="paragraph_8cpp.html" title=" " alt="" coords="3065,350,3269,375"/>
<area shape="poly" title=" " alt="" coords="3404,301,3210,353,3208,347,3403,296"/>
<area shape="rect" href="reflect_8cpp.html" title=" " alt="" coords="5633,350,5812,375"/>
<area shape="poly" title=" " alt="" coords="3587,283,4691,307,5280,323,5494,332,5622,340,5670,347,5669,353,5621,345,5494,337,5279,329,4691,312,3587,288"/>
<area shape="poly" title=" " alt="" coords="3331,289,2658,308,2211,325,1757,345,1588,356,1588,351,1757,340,2211,319,2658,303,3331,284"/>
<area shape="poly" title=" " alt="" coords="4639,397,4639,430,4633,430,4633,397"/>
<area shape="poly" title=" " alt="" coords="4533,375,4180,404,4015,420,3921,433,3891,442,3869,452,3817,473,3583,524,3582,519,3815,468,3867,447,3889,437,3919,428,4014,415,4179,399,4533,369"/>
<area shape="poly" title=" " alt="" coords="4534,381,4392,403,4237,433,4061,478,3916,521,3915,516,4060,473,4235,428,4391,398,4533,375"/>
<area shape="poly" title=" " alt="" coords="4547,389,4377,433,4089,521,4088,516,4375,428,4545,383"/>
<area shape="poly" title=" " alt="" coords="4713,387,4740,405,4761,429,4768,453,4765,477,4756,500,4745,520,4741,517,4751,498,4760,476,4763,453,4756,432,4736,409,4710,391"/>
<area shape="poly" title=" " alt="" coords="4699,386,4740,405,4781,428,4841,474,4887,517,4884,521,4838,478,4779,433,4738,410,4696,390"/>
<area shape="poly" title=" " alt="" coords="4578,390,4253,521,4251,516,4576,385"/>
<area shape="poly" title=" " alt="" coords="4597,393,4536,433,4408,521,4405,516,4533,428,4594,388"/>
<area shape="poly" title=" " alt="" coords="4705,385,4824,428,5036,516,5034,521,4822,433,4703,390"/>
<area shape="poly" title=" " alt="" coords="4533,374,4320,396,4196,412,4073,433,3749,521,3747,516,4071,428,4195,407,4319,390,4533,369"/>
<area shape="poly" title=" " alt="" coords="4697,387,4721,406,4740,429,4747,451,4740,472,4723,487,4697,500,4631,522,4629,517,4695,495,4720,482,4735,469,4742,451,4735,432,4717,409,4694,392"/>
<area shape="poly" title=" " alt="" coords="4724,384,4891,428,5193,516,5191,521,4890,433,4723,389"/>
<area shape="poly" title=" " alt="" coords="4740,380,4979,428,5354,516,5353,521,4978,433,4738,386"/>
<area shape="poly" title=" " alt="" coords="4740,375,5083,428,5300,470,5517,516,5528,518,5527,524,5515,521,5299,475,5082,433,4739,380"/>
<area shape="poly" title=" " alt="" coords="3759,350,3517,297,3518,292,3760,344"/>
<area shape="poly" title=" " alt="" coords="1158,384,881,441,880,435,1157,379"/>
<area shape="poly" title=" " alt="" coords="1187,391,1068,440,1066,436,1184,386"/>
<area shape="poly" title=" " alt="" coords="1242,397,1237,438,1232,437,1236,396"/>
<area shape="poly" title=" " alt="" coords="1328,381,1539,430,1538,435,1327,386"/>
<area shape="poly" title=" " alt="" coords="1158,377,640,441,639,436,1157,372"/>
<area shape="poly" title=" " alt="" coords="1328,373,1695,428,1734,435,1733,441,1694,433,1327,379"/>
<area shape="poly" title=" " alt="" coords="1297,386,1404,436,1402,440,1295,391"/>
<area shape="poly" title=" " alt="" coords="1328,374,1378,380,1519,394,1630,403,1740,412,1882,428,1929,435,1928,441,1881,433,1740,417,1629,408,1519,400,1377,385,1327,379"/>
<area shape="poly" title=" " alt="" coords="1328,374,1378,380,1580,395,1738,399,1896,406,2098,428,2110,430,2109,435,2097,433,1896,411,1738,405,1580,400,1377,385,1327,379"/>
<area shape="poly" title=" " alt="" coords="290,143,206,191,204,186,288,138"/>
<area shape="poly" title=" " alt="" coords="352,144,372,180,367,182,348,147"/>
<area shape="poly" title=" " alt="" coords="1489,126,1254,150,968,184,916,191,915,186,968,179,1253,145,1489,121"/>
<area shape="poly" title=" " alt="" coords="1666,120,3345,268,3344,273,1666,125"/>
<area shape="poly" title=" " alt="" coords="1489,119,1286,126,1038,139,818,158,740,170,696,184,637,226,612,249,593,273,581,298,577,325,582,352,598,381,621,398,660,413,754,435,752,441,658,418,619,403,594,384,577,354,572,325,576,297,589,270,608,245,633,221,693,179,739,165,817,152,1038,133,1285,121,1489,114"/>
<area shape="poly" title=" " alt="" coords="1490,124,1381,144,1324,161,1269,184,1209,217,1167,250,1130,289,1089,344,1061,395,1046,439,1041,437,1056,393,1084,341,1126,286,1163,246,1207,213,1267,179,1322,156,1380,139,1489,119"/>
<area shape="poly" title=" " alt="" coords="1490,134,1403,161,1355,179,1307,202,1260,230,1217,262,1179,300,1148,344,1142,362,1148,382,1160,399,1175,414,1209,436,1206,440,1172,418,1155,402,1143,384,1136,362,1143,341,1174,297,1213,258,1257,225,1304,197,1353,174,1401,156,1489,129"/>
<area shape="poly" title=" " alt="" coords="1666,114,2397,136,2913,155,3440,179,4112,208,4635,230,4886,245,5156,267,5463,297,5824,340,5870,347,5869,353,5824,345,5462,303,5156,272,4886,251,4634,236,4112,214,3440,184,2912,160,2397,141,1666,119"/>
<area shape="poly" title=" " alt="" coords="1489,118,1289,122,1049,133,936,141,838,152,765,166,740,175,726,183,711,202,701,223,693,271,694,316,700,350,695,350,689,317,687,270,696,221,707,199,722,179,738,170,763,161,837,147,935,136,1049,127,1289,117,1488,113"/>
<area shape="poly" title=" " alt="" coords="1534,143,1467,188,1433,217,1403,248,1379,281,1365,315,1364,348,1370,365,1379,381,1399,392,1439,405,1540,431,1539,436,1437,410,1397,397,1375,385,1365,367,1359,349,1360,314,1374,279,1399,245,1430,213,1464,184,1531,139"/>
<area shape="poly" title=" " alt="" coords="1489,119,1272,125,1005,137,766,156,681,169,633,184,604,208,583,239,568,275,559,313,554,386,556,437,551,438,548,386,554,312,563,273,578,237,600,204,631,179,680,164,765,151,1005,132,1272,120,1489,114"/>
<area shape="poly" title=" " alt="" coords="1581,147,1587,197,1600,258,1622,323,1638,353,1658,381,1677,400,1700,415,1747,435,1745,440,1697,419,1674,404,1654,384,1634,356,1618,325,1594,260,1582,198,1576,147"/>
<area shape="poly" title=" " alt="" coords="1666,113,2582,133,3245,152,3925,179,4610,215,5294,267,5661,296,5821,313,6027,340,6071,347,6070,353,6026,345,5821,318,5661,301,5293,272,4610,220,3925,184,3244,157,2582,138,1666,119"/>
<area shape="poly" title=" " alt="" coords="1666,117,2056,143,2564,179,3075,218,3586,267,3690,280,3795,292,3998,306,4170,313,4463,318,4756,322,4929,328,5132,340,5230,349,5230,354,5132,345,4928,334,4756,327,4463,324,4170,319,3998,311,3794,297,3690,286,3585,272,3075,223,2564,184,2055,148,1666,123"/>
<area shape="poly" title=" " alt="" coords="1666,116,2164,140,2838,179,3261,209,3589,236,3918,263,4341,292,4645,304,4882,306,5119,313,5258,323,5422,340,5468,347,5468,353,5421,345,5257,329,5119,319,4882,312,4645,309,4341,297,3918,269,3589,242,3260,214,2837,184,2164,146,1666,121"/>
<area shape="poly" title=" " alt="" coords="1593,145,1654,282,1686,347,1708,381,1739,393,1796,407,1929,435,1928,441,1794,412,1737,398,1705,385,1682,350,1649,285,1588,147"/>
<area shape="poly" title=" " alt="" coords="1604,143,1635,180,1679,241,1710,292,1745,338,1770,359,1803,380,1843,400,1879,412,1912,418,1944,419,2012,419,2052,422,2098,428,2110,430,2109,436,2097,433,2052,427,2012,425,1944,425,1911,423,1877,417,1841,405,1800,385,1767,363,1741,341,1705,295,1675,244,1631,183,1600,146"/>
<area shape="poly" title=" " alt="" coords="1666,115,2275,139,3121,179,4372,258,5622,340,5668,347,5667,353,5621,345,4371,263,3121,184,2274,144,1666,120"/>
<area shape="poly" title=" " alt="" coords="1568,147,1495,351,1490,349,1563,146"/>
</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 &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classftxui_1_1Color.html">Color</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</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">&#160;</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 &#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>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</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">&#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:a66d988ecc082819b1671ee2bbadebccd" id="r_a66d988ecc082819b1671ee2bbadebccd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classftxui_1_1Color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui_1_1literals.html#a66d988ecc082819b1671ee2bbadebccd">operator&quot;&quot;_rgb</a> (unsigned long long int combined)</td></tr>
<tr class="memdesc:a66d988ecc082819b1671ee2bbadebccd"><td class="mdescLeft">&#160;</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">&#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('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": "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 = "v3.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>