Files
FTXUI/en/v6.1.8/color_8hpp.html

427 lines
37 KiB
HTML
Raw Normal View History

<!-- 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">6.1.8</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="4845,5,4995,45"/>
<area shape="rect" href="component__options_8hpp.html" title=" " alt="" coords="2585,357,2767,397"/>
<area shape="poly" title=" " alt="" coords="4832,31,3934,51,3261,70,2537,95,1834,128,1513,147,1225,168,978,191,783,216,648,243,606,257,583,271,577,280,575,289,577,298,583,307,606,313,661,320,853,332,1446,351,2108,365,2584,372,2584,377,2108,370,1446,356,853,337,661,325,605,319,580,312,572,301,569,289,572,278,579,267,604,252,647,238,782,211,978,186,1224,163,1512,142,1833,123,2537,90,3261,64,3934,45,4831,26"/>
<area shape="rect" href="button_8cpp.html" title=" " alt="" coords="649,533,799,573"/>
<area shape="poly" title=" " alt="" coords="4831,30,4012,36,2730,49,1476,69,1012,81,739,96,689,99,638,97,537,87,439,72,350,60,309,58,273,60,240,67,213,78,191,97,174,122,164,156,160,200,160,291,162,326,167,356,177,382,190,404,208,425,229,444,285,483,332,508,374,522,413,528,452,528,534,524,582,524,636,531,649,533,648,538,636,536,582,530,534,529,452,534,413,533,373,527,330,513,283,488,226,448,204,429,186,408,172,384,162,358,157,327,155,291,155,200,158,155,169,120,187,93,210,74,239,61,272,55,309,53,350,55,440,66,538,81,639,92,689,93,739,91,1012,76,1476,63,2730,44,4012,31,4831,25"/>
<area shape="rect" href="menu_8cpp.html" title=" " alt="" coords="4550,533,4701,573"/>
<area shape="poly" title=" " alt="" coords="4942,56,4968,106,4991,171,4999,206,5001,242,4996,277,4984,311,4956,354,4921,393,4882,427,4840,457,4755,504,4682,536,4680,531,4753,500,4837,453,4878,423,4917,389,4951,351,4979,308,4991,276,4995,242,4993,207,4986,173,4963,108,4937,58"/>
<area shape="rect" href="slider_8cpp.html" title=" " alt="" coords="82,533,233,573"/>
<area shape="poly" title=" " alt="" coords="4832,29,3831,32,2254,41,1460,50,777,61,289,77,145,86,81,96,48,115,26,137,12,163,8,200,8,379,11,404,20,428,33,450,49,470,88,505,125,531,122,535,84,509,46,474,29,453,15,430,6,405,3,379,3,200,7,162,21,134,45,111,79,91,144,80,289,71,777,56,1460,44,2254,36,3831,27,4832,24"/>
<area shape="rect" href="window_8cpp.html" title=" " alt="" coords="474,533,625,573"/>
<area shape="poly" title=" " alt="" coords="4832,30,3848,35,2300,46,1522,55,852,66,372,80,229,88,166,96,123,114,89,133,76,145,67,160,61,178,59,200,59,378,62,394,70,408,103,436,153,461,214,482,351,517,474,539,473,544,350,522,212,487,151,465,100,440,66,412,57,396,53,379,53,200,56,176,62,157,72,142,86,129,121,109,165,91,229,82,372,75,852,61,1522,50,2300,41,3848,29,4832,24"/>
<area shape="rect" href="component__options_8cpp.html" title=" " alt="" coords="296,445,477,485"/>
<area shape="poly" title=" " alt="" coords="4831,30,3845,43,3101,56,2303,74,1536,98,883,127,626,143,429,161,304,181,271,191,263,196,261,201,261,291,264,315,272,338,297,381,330,416,361,443,358,447,326,420,293,384,267,340,259,316,256,291,256,199,260,193,269,187,302,176,428,156,625,138,882,121,1536,92,2303,69,3101,51,3845,38,4831,25"/>
<area shape="rect" href="canvas_8hpp.html" title=" " alt="" coords="4568,101,4781,126"/>
<area shape="poly" title=" " alt="" coords="4854,52,4708,103,4706,98,4852,47"/>
<area shape="rect" href="elements_8hpp.html" title=" " alt="" coords="3434,189,3662,214"/>
<area shape="poly" title=" " alt="" coords="4832,39,4356,96,3631,191,3631,186,4356,91,4831,34"/>
<area shape="rect" href="border_8cpp.html" title=" " alt="" coords="5044,277,5223,302"/>
<area shape="poly" title=" " alt="" coords="4956,53,4992,92,5010,127,5020,157,5029,187,5049,220,5081,251,5115,274,5112,279,5078,255,5045,223,5024,189,5014,159,5006,129,4987,95,4952,57"/>
<area shape="rect" href="canvas_8cpp.html" title=" " alt="" coords="4785,277,4969,302"/>
<area shape="poly" title=" " alt="" coords="4917,59,4882,277,4877,276,4912,58"/>
<area shape="rect" href="dom_2color_8cpp.html" title=" " alt="" coords="5247,277,5417,302"/>
<area shape="poly" title=" " alt="" coords="4984,48,5080,91,5153,131,5222,179,5281,231,5323,275,5320,278,5277,235,5218,183,5151,135,5077,96,4982,53"/>
<area shape="rect" href="linear__gradient_8cpp.html" title=" " alt="" coords="4418,269,4566,309"/>
<area shape="poly" title=" " alt="" coords="4892,57,4848,96,4795,136,4726,177,4656,215,4537,272,4535,267,4654,210,4724,173,4792,131,4844,92,4889,53"/>
<area shape="rect" href="selection__style_8cpp.html" title=" " alt="" coords="5441,269,5612,309"/>
<area shape="poly" title=" " alt="" coords="5009,45,5072,65,5136,91,5179,117,5233,155,5286,193,5329,219,5394,246,5457,267,5456,272,5392,251,5327,224,5283,197,5230,159,5177,122,5133,96,5070,70,5007,50"/>
<area shape="rect" href="separator_8cpp.html" title=" " alt="" coords="5637,277,5835,302"/>
<area shape="poly" title=" " alt="" coords="5009,38,5096,59,5186,91,5226,111,5255,131,5318,179,5344,201,5373,219,5489,242,5670,274,5669,279,5488,247,5371,224,5341,206,5314,183,5252,135,5223,116,5184,96,5095,64,5007,43"/>
<area shape="rect" href="linear__gradient_8hpp.html" title=" " alt="" coords="4368,93,4544,133"/>
<area shape="poly" title=" " alt="" coords="4832,45,4556,96,4545,98,4544,93,4556,91,4831,40"/>
<area shape="rect" href="color__info_8hpp.html" title=" " alt="" coords="5435,93,5584,133"/>
<area shape="poly" title=" " alt="" coords="5009,34,5197,58,5416,91,5435,94,5434,99,5416,96,5196,63,5008,39"/>
<area shape="rect" href="screen_2color_8cpp.html" title=" " alt="" coords="5385,189,5567,214"/>
<area shape="poly" title=" " alt="" coords="5009,31,5206,53,5300,70,5366,91,5400,113,5430,139,5470,187,5466,190,5426,143,5397,117,5364,96,5299,75,5205,58,5008,36"/>
<area shape="rect" href="color__info_8cpp.html" title=" " alt="" coords="5592,181,5749,221"/>
<area shape="poly" title=" " alt="" coords="5009,24,5154,27,5326,36,5410,45,5486,56,5550,72,5597,91,5621,110,5641,134,5666,180,5661,182,5636,137,5618,114,5595,96,5549,77,5485,62,5409,50,5326,41,5154,32,5009,29"/>
<area shape="rect" href="pixel_8hpp.html" title=" " alt="" coords="5059,181,5208,221"/>
<area shape="poly" title=" " alt="" coords="4975,49,5009,68,5042,91,5088,137,5122,180,5118,183,5084,140,5038,95,5006,73,4973,54"/>
<area shape="rect" href="component_8hpp.html" title=" " alt="" coords="3353,445,3532,485"/>
<area shape="poly" title=" " alt="" coords="2781,388,3353,451,3353,457,2780,393"/>
<area shape="poly" title=" " alt="" coords="2571,385,2272,400,1839,429,1336,473,1077,502,824,536,800,540,799,535,824,531,1077,497,1336,468,1839,423,2271,395,2571,380"/>
<area shape="rect" href="checkbox_8cpp.html" title=" " alt="" coords="837,533,987,573"/>
<area shape="poly" title=" " alt="" coords="2571,392,988,547,988,542,2570,386"/>
<area shape="rect" href="collapsible_8cpp.html" title=" " alt="" coords="2803,533,2954,573"/>
<area shape="poly" title=" " alt="" coords="2710,404,2858,531,2855,535,2707,408"/>
<area shape="rect" href="dropdown_8cpp.html" title=" " alt="" coords="3677,533,3827,573"/>
<area shape="poly" title=" " alt="" coords="2781,379,2964,386,3184,398,3394,417,3479,429,3545,443,3597,461,3646,485,3725,531,3723,535,3644,489,3595,466,3543,448,3479,434,3393,422,3184,404,2964,391,2781,384"/>
<area shape="rect" href="input_8cpp.html" title=" " alt="" coords="4026,533,4177,573"/>
<area shape="poly" title=" " alt="" coords="2781,379,2942,385,3149,397,3380,415,3611,443,3727,462,3842,486,4031,531,4030,536,3841,491,3726,467,3610,448,3379,421,3149,402,2942,390,2781,384"/>
<area shape="poly" title=" " alt="" coords="2781,379,3083,392,3518,419,3766,438,4024,463,4284,494,4538,531,4550,533,4549,538,4537,536,4283,499,4023,469,3765,444,3517,424,3082,397,2781,384"/>
<area shape="rect" href="radiobox_8cpp.html" title=" " alt="" coords="2614,533,2765,573"/>
<area shape="poly" title=" " alt="" coords="2681,411,2691,533,2685,533,2676,411"/>
<area shape="rect" href="resizable__split_8cpp.html" title=" " alt="" coords="3327,533,3478,573"/>
<area shape="poly" title=" " alt="" coords="2768,398,3328,531,3327,537,2767,403"/>
<area shape="poly" title=" " alt="" coords="2571,381,2283,384,1871,394,1392,414,1146,429,904,448,714,469,527,494,233,541,232,536,526,489,714,463,904,443,1145,424,1392,408,1871,389,2283,379,2571,376"/>
<area shape="poly" title=" " alt="" coords="2571,382,2330,387,1996,398,1612,417,1223,448,1057,466,929,484,636,536,625,538,624,533,636,531,928,479,1056,461,1222,443,1612,412,1996,393,2330,382,2571,377"/>
<area shape="poly" title=" " alt="" coords="2571,383,2145,389,1546,402,940,421,688,434,496,448,478,450,478,445,496,443,687,428,940,416,1546,396,2145,384,2571,377"/>
<area shape="poly" title=" " alt="" coords="3339,470,2839,474,2111,484,1369,504,1059,518,824,536,800,539,799,534,824,531,1058,513,1369,498,2111,479,2839,468,3339,464"/>
<area shape="poly" title=" " alt="" coords="3339,473,988,552,988,547,3339,467"/>
<area shape="poly" title=" " alt="" coords="3340,481,3165,505,2966,536,2955,538,2954,533,2965,531,3164,499,3339,476"/>
<area shape="rect" href="component_8cpp.html" title=" " alt="" coords="4201,533,4351,573"/>
<area shape="poly" title=" " alt="" coords="3546,469,3836,490,4012,508,4188,531,4201,533,4200,538,4188,536,4012,513,3836,496,3546,475"/>
<area shape="rect" href="container_8cpp.html" title=" " alt="" coords="3502,533,3653,573"/>
<area shape="poly" title=" " alt="" coords="3486,491,3549,531,3546,535,3483,495"/>
<area shape="poly" title=" " alt="" coords="3524,486,3685,531,3684,536,3523,492"/>
<area shape="rect" href="hoverable_8cpp.html" title=" " alt="" coords="3851,533,4002,573"/>
<area shape="poly" title=" " alt="" coords="3546,480,3839,531,3851,533,3850,538,3838,536,3545,485"/>
<area shape="poly" title=" " alt="" coords="3546,473,3762,496,4014,531,4026,533,4025,538,4013,536,3761,501,3546,478"/>
<area shape="rect" href="maybe_8cpp.html" title=" " alt="" coords="4375,533,4526,573"/>
<area shape="poly" title=" " alt="" coords="3546,467,3908,485,4135,504,4363,531,4375,533,4375,538,4362,536,4135,509,3908,491,3546,472"/>
<area shape="poly" title=" " alt="" coords="3546,465,3732,470,3979,481,4257,500,4538,531,4550,533,4549,538,4537,536,4257,505,3979,486,3732,475,3546,471"/>
<area shape="rect" href="modal_8cpp.html" title=" " alt="" coords="2978,533,3129,573"/>
<area shape="poly" title=" " alt="" coords="3345,491,3129,538,3128,533,3344,486"/>
<area shape="poly" title=" " alt="" coords="3340,477,3090,500,2791,536,2765,540,2765,535,2790,531,3089,495,3340,472"/>
<area shape="rect" href="renderer_8cpp.html" title=" " alt="" coords="3153,533,3303,573"/>
<area shape="poly" title=" " alt="" coords="3384,493,3276,536,3274,531,3382,488"/>
<area shape="poly" title=" " alt="" coords="3431,499,3414,534,3409,532,3426,497"/>
<area shape="poly" title=" " alt="" coords="3339,470,2180,487,1333,506,461,536,233,549,233,544,461,531,1333,501,2180,481,3339,465"/>
<area shape="poly" title=" " alt="" coords="3339,469,2807,471,2024,479,1612,487,1224,499,889,515,636,536,625,538,624,532,636,531,889,509,1224,493,1612,481,2024,473,2807,465,3339,464"/>
<area shape="poly" title=" " alt="" coords="4596,131,4556,136,4307,160,4058,178,3662,198,3662,193,4058,173,4306,155,4556,131,4595,126"/>
<area shape="poly" title=" " alt="" coords="4700,133,4865,274,4862,278,4696,137"/>
<area shape="poly" title=" " alt="" coords="3420,206,2749,210,1816,221,1363,229,979,240,708,255,629,263,596,272,590,280,588,289,590,298,596,307,625,319,685,330,880,348,1152,360,1469,368,2118,374,2585,374,2585,379,2118,380,1469,374,1152,366,880,353,684,336,623,325,593,311,585,301,583,289,585,278,593,267,628,258,707,249,978,235,1363,224,1816,215,2749,205,3420,200"/>
<area shape="poly" title=" " alt="" coords="3676,204,3758,210,3839,222,3908,241,3933,253,3951,268,3961,289,3952,311,3924,337,3897,351,3869,357,3839,356,3776,351,3741,352,3703,360,3581,404,3483,448,3480,443,3580,399,3702,355,3741,347,3776,346,3840,351,3868,351,3895,346,3921,333,3947,308,3955,289,3947,271,3930,257,3906,246,3838,227,3757,216,3676,209"/>
<area shape="poly" title=" " alt="" coords="3420,206,2738,210,1787,220,1324,229,932,240,655,254,575,263,541,272,529,287,522,304,520,321,521,339,536,377,562,414,595,449,631,481,697,531,693,535,628,486,591,453,558,417,531,379,516,341,514,321,517,303,525,285,539,267,574,257,655,249,932,235,1324,223,1787,215,2738,204,3420,200"/>
<area shape="poly" title=" " alt="" coords="3420,206,2744,210,1802,220,1344,229,956,240,682,254,603,263,569,272,554,291,547,311,546,331,552,350,564,369,580,388,626,424,682,458,743,487,855,531,853,536,741,492,680,462,623,429,577,392,559,372,547,352,541,331,542,310,550,289,567,267,602,257,682,249,956,235,1344,224,1802,215,2744,204,3420,200"/>
<area shape="poly" title=" " alt="" coords="3420,206,2758,210,1840,221,1394,230,1016,241,750,255,672,263,640,272,634,280,632,289,634,298,640,307,653,314,676,321,751,331,859,337,994,341,1326,343,1702,339,2413,333,2661,338,2739,345,2780,355,2803,373,2822,395,2851,444,2869,494,2878,533,2873,534,2864,495,2846,446,2818,398,2799,377,2777,360,2738,350,2661,343,2413,338,1702,344,1326,348,994,346,858,343,750,336,675,326,651,319,637,311,629,301,627,289,629,278,637,267,671,258,749,249,1016,235,1394,224,1840,216,2758,205,3420,201"/>
<area shape="poly" title=" " alt="" coords="3676,199,3806,203,3947,213,4013,222,4072,233,4122,248,4158,267,4188,296,4214,330,4234,367,4249,406,4269,479,4277,533,4272,534,4263,480,4244,408,4229,369,4209,333,4184,299,4154,272,4120,253,4071,239,4012,227,3946,218,3806,208,3676,205"/>
<area shape="poly" title=" " alt="" coords="3676,209,3903,231,3996,248,4028,257,4046,267,4053,278,4054,289,4046,311,4028,332,4007,342,3984,348,3957,360,3850,426,3804,454,3741,488,3629,536,3627,531,3739,483,3801,450,3848,421,3955,355,3982,343,4005,337,4024,328,4042,308,4049,288,4048,280,4042,271,4026,262,3995,253,3903,237,3676,214"/>
<area shape="poly" title=" " alt="" coords="3676,208,3795,217,3916,230,4016,247,4050,256,4068,267,4083,289,4091,310,4091,331,4085,352,4074,372,4058,392,4016,429,3963,462,3907,492,3805,536,3803,531,3905,487,3961,458,4012,424,4054,388,4069,369,4080,350,4085,331,4085,311,4079,291,4065,271,4047,261,4015,252,3916,235,3794,222,3676,213"/>
<area shape="poly" title=" " alt="" coords="3676,207,3803,216,3934,229,4041,246,4077,256,4098,267,4110,285,4117,303,4120,322,4118,341,4105,380,4080,418,4050,454,4016,486,3955,535,3952,531,4012,482,4046,450,4076,415,4100,378,4113,340,4115,322,4112,305,4106,288,4094,271,4075,261,4040,251,3933,234,3802,221,3676,212"/>
<area shape="poly" title=" " alt="" coords="3676,206,3810,214,3950,227,4066,245,4105,255,4127,267,4148,299,4158,335,4160,373,4155,412,4136,483,4114,534,4109,532,4131,481,4150,411,4154,373,4153,336,4143,302,4124,271,4103,260,4065,250,3950,233,3810,220,3676,211"/>
<area shape="poly" title=" " alt="" coords="3676,202,3813,208,3963,220,4100,239,4155,251,4196,267,4241,294,4283,328,4321,365,4355,403,4409,477,4443,532,4438,535,4405,480,4351,407,4317,368,4279,332,4238,299,4194,272,4153,257,4099,244,3963,225,3813,214,3675,208"/>
<area shape="poly" title=" " alt="" coords="3676,204,3823,211,3986,224,4136,242,4197,253,4244,267,4304,294,4362,327,4417,364,4468,403,4554,476,4610,531,4606,535,4550,480,4465,407,4414,368,4359,331,4301,299,4242,272,4196,258,4135,247,3986,229,3822,217,3676,209"/>
<area shape="poly" title=" " alt="" coords="3586,219,3616,237,3642,259,3651,272,3655,285,3655,298,3647,311,3622,328,3587,339,3543,345,3496,347,3402,350,3362,353,3331,360,3291,377,3251,397,3177,446,3116,496,3074,535,3070,531,3113,492,3174,442,3248,393,3288,372,3330,355,3361,348,3401,345,3496,342,3543,339,3586,334,3620,323,3643,308,3650,297,3650,285,3646,274,3638,263,3613,241,3584,223"/>
<area shape="poly" title=" " alt="" coords="3421,206,2747,210,1809,220,1354,229,967,240,695,254,616,263,583,272,577,280,575,289,577,298,583,308,600,321,624,335,694,361,790,385,907,408,1190,447,1514,479,1849,505,2164,525,2614,546,2614,552,2163,530,1849,511,1514,485,1190,452,906,413,789,390,693,366,622,340,597,326,579,311,572,300,570,289,572,278,580,267,615,258,695,249,967,235,1354,224,1809,215,2747,205,3420,200"/>
<area shape="poly" title=" " alt="" coords="3601,216,3642,233,3678,254,3692,267,3699,281,3700,296,3691,311,3660,340,3627,354,3594,357,3559,354,3487,345,3447,347,3405,360,3369,377,3342,395,3291,447,3260,492,3238,534,3234,532,3255,490,3287,444,3339,391,3366,373,3403,355,3446,342,3487,339,3560,348,3594,351,3626,348,3657,335,3687,308,3695,294,3694,282,3687,270,3675,258,3640,237,3599,221"/>
<area shape="poly" title=" " alt="" coords="3676,202,3764,208,3852,220,3927,239,3956,252,3975,268,3982,278,3984,289,3975,311,3956,324,3913,346,3789,404,3597,488,3463,536,3461,531,3595,483,3787,399,3911,341,3953,320,3971,308,3979,289,3977,280,3971,271,3953,256,3926,244,3851,225,3763,214,3675,208"/>
<area shape="poly" title=" " alt="" coords="3420,206,2685,211,1647,223,1140,232,709,243,403,256,313,264,275,272,244,298,220,331,200,368,186,406,168,479,161,534,156,533,163,478,181,404,195,365,215,328,240,295,272,267,313,259,403,251,709,238,1140,227,1647,218,2685,206,3420,201"/>
<area shape="poly" title=" " alt="" coords="3420,206,2694,210,1669,221,1169,229,743,240,443,255,355,263,317,272,293,295,274,320,260,346,253,373,251,400,256,427,268,455,286,484,297,494,315,503,362,519,418,532,474,541,473,546,417,537,361,524,313,508,294,498,282,487,263,458,251,429,246,400,247,372,255,344,269,317,289,292,315,267,354,258,442,249,743,235,1168,224,1669,215,2694,205,3420,200"/>
<area shape="poly" title=" " alt="" coords="3420,206,2698,209,1680,218,1184,227,763,238,465,253,379,262,343,272,331,286,325,300,323,328,331,359,344,396,356,422,372,444,367,447,351,425,339,398,326,361,317,328,320,298,327,283,340,267,378,257,465,248,762,233,1184,221,1680,213,2698,203,3420,200"/>
<area shape="rect" href="component__base_8hpp.html" title=" " alt="" coords="3759,269,3937,309"/>
<area shape="poly" title=" " alt="" coords="3602,215,3783,267,3781,272,3601,220"/>
<area shape="rect" href="table_8hpp.html" title=" " alt="" coords="651,277,851,302"/>
<area shape="poly" title=" " alt="" coords="3421,206,2897,211,2158,222,1411,242,1099,255,863,272,810,279,809,274,862,267,1099,250,1411,237,2158,217,2897,206,3421,201"/>
<area shape="rect" href="automerge_8cpp.html" title=" " alt="" coords="875,277,1085,302"/>
<area shape="poly" title=" " alt="" coords="3420,207,2937,213,2266,225,1592,245,1311,257,1098,272,1042,279,1042,274,1097,267,1310,252,1592,239,2266,220,2937,208,3420,201"/>
<area shape="rect" href="blink_8cpp.html" title=" " alt="" coords="1109,277,1280,302"/>
<area shape="poly" title=" " alt="" coords="3420,206,2972,212,2358,223,1742,243,1486,256,1292,272,1246,279,1246,274,1292,267,1486,251,1742,238,2357,218,2972,207,3420,201"/>
<area shape="rect" href="bold_8cpp.html" title=" " alt="" coords="1305,277,1471,302"/>
<area shape="poly" title=" " alt="" coords="3420,207,3006,213,2447,225,1890,244,1659,257,1483,272,1438,279,1437,274,1482,267,1658,252,1890,239,2447,220,3006,208,3420,201"/>
<area shape="poly" title=" " alt="" coords="3676,203,4243,222,4610,240,4982,267,5051,274,5050,279,4981,272,4610,246,4242,227,3676,208"/>
<area shape="poly" title=" " alt="" coords="3675,202,3885,207,4159,218,4465,238,4774,267,4822,274,4821,279,4773,272,4465,243,4158,224,3885,212,3675,207"/>
<area shape="rect" href="clear__under_8cpp.html" title=" " alt="" coords="1495,269,1638,309"/>
<area shape="poly" title=" " alt="" coords="3420,207,3036,213,2526,225,2020,244,1810,257,1651,272,1639,274,1638,268,1650,267,1810,251,2020,239,2526,219,3036,207,3420,201"/>
<area shape="poly" title=" " alt="" coords="3676,203,4470,224,4912,243,5095,254,5235,267,5281,274,5280,279,5234,272,5095,260,4912,248,4469,230,3676,208"/>
<area shape="rect" href="composite__decorator_8cpp.html" title=" " alt="" coords="1663,269,1841,309"/>
<area shape="poly" title=" " alt="" coords="3420,208,2623,230,2178,249,1994,260,1854,272,1842,273,1841,268,1853,267,1994,255,2178,243,2623,225,3420,203"/>
<area shape="rect" href="dbox_8cpp.html" title=" " alt="" coords="4591,277,4761,302"/>
<area shape="poly" title=" " alt="" coords="3676,203,4079,222,4328,240,4578,267,4623,274,4622,279,4577,272,4327,246,4079,227,3676,209"/>
<area shape="rect" href="dim_8cpp.html" title=" " alt="" coords="1865,277,2028,302"/>
<area shape="poly" title=" " alt="" coords="3420,204,3166,206,2823,215,2434,235,2235,251,2040,272,1997,279,1996,274,2040,267,2234,246,2433,230,2823,210,3166,201,3420,199"/>
<area shape="rect" href="flex_8cpp.html" title=" " alt="" coords="2052,277,2215,302"/>
<area shape="poly" title=" " alt="" coords="3421,206,3196,209,2898,219,2564,239,2394,254,2227,272,2183,279,2183,274,2226,267,2393,248,2564,234,2898,214,3195,204,3420,200"/>
<area shape="rect" href="flexbox_8cpp.html" title=" " alt="" coords="2239,277,2425,302"/>
<area shape="poly" title=" " alt="" coords="3420,208,2984,227,2711,245,2438,272,2390,279,2389,274,2437,267,2711,240,2984,221,3420,203"/>
<area shape="rect" href="focus_8cpp.html" title=" " alt="" coords="2449,277,2623,302"/>
<area shape="poly" title=" " alt="" coords="3420,210,3066,230,2850,248,2635,272,2591,279,2590,274,2634,267,2850,243,3065,225,3420,205"/>
<area shape="rect" href="frame_8cpp.html" title=" " alt="" coords="2647,277,2825,302"/>
<area shape="poly" title=" " alt="" coords="3421,214,3152,236,2838,272,2793,279,2792,274,2837,267,3151,231,3420,209"/>
<area shape="rect" href="gauge_8cpp.html" title=" " alt="" coords="2849,277,3028,302"/>
<area shape="poly" title=" " alt="" coords="3437,218,3251,242,3040,272,2998,279,2997,274,3040,267,3250,236,3436,213"/>
<area shape="rect" href="graph_8cpp.html" title=" " alt="" coords="3053,277,3227,302"/>
<area shape="poly" title=" " alt="" coords="3481,219,3195,279,3194,274,3479,214"/>
<area shape="rect" href="gridbox_8cpp.html" title=" " alt="" coords="3252,277,3439,302"/>
<area shape="poly" title=" " alt="" coords="3509,222,3374,279,3372,274,3507,217"/>
<area shape="rect" href="hbox_8cpp.html" title=" " alt="" coords="3463,277,3633,302"/>
<area shape="poly" title=" " alt="" coords="3551,228,3551,276,3545,276,3545,228"/>
<area shape="poly" title=" " alt="" coords="3676,205,4005,226,4202,243,4399,267,4418,270,4417,275,4398,272,4201,249,4004,231,3676,211"/>
<area shape="poly" title=" " alt="" coords="3676,202,4563,222,5063,241,5271,253,5430,267,5442,268,5441,274,5429,272,5271,258,5063,247,4562,227,3676,207"/>
<area shape="poly" title=" " alt="" coords="3676,202,4654,222,5214,242,5447,253,5624,267,5677,274,5677,279,5624,272,5447,259,5214,247,4654,228,3676,207"/>
<area shape="poly" title=" " alt="" coords="3745,303,3646,312,3150,348,2768,373,2767,368,3150,343,3645,307,3745,298"/>
<area shape="poly" title=" " alt="" coords="3745,313,3625,339,3552,360,3523,379,3497,402,3458,447,3454,443,3494,398,3520,375,3550,355,3624,334,3744,308"/>
<area shape="poly" title=" " alt="" coords="3745,304,3646,312,3276,330,2962,337,2430,341,2174,348,1899,365,1589,396,1223,448,991,492,800,536,799,531,990,487,1222,443,1588,391,1899,359,2173,343,2430,336,2962,332,3276,324,3645,307,3745,299"/>
<area shape="poly" title=" " alt="" coords="3745,304,3646,312,3344,329,3109,336,2874,343,2572,360,2101,396,1632,448,1271,498,988,542,987,537,1270,492,1632,443,2101,391,2572,355,2874,338,3109,331,3344,323,3645,307,3745,298"/>
<area shape="poly" title=" " alt="" coords="3745,303,3497,331,3389,346,3328,360,3313,368,3303,378,3292,389,3277,400,3211,431,3117,469,2933,536,2932,531,3116,464,3209,426,3275,395,3289,385,3299,374,3309,364,3326,355,3388,341,3497,326,3745,298"/>
<area shape="poly" title=" " alt="" coords="3892,314,3954,355,3998,391,4030,422,4063,451,4109,483,4163,510,4217,531,4215,536,4161,515,4107,488,4060,456,4026,426,3994,395,3950,359,3889,319"/>
<area shape="poly" title=" " alt="" coords="3820,321,3599,535,3595,531,3817,317"/>
<area shape="poly" title=" " alt="" coords="3839,323,3761,534,3756,532,3834,321"/>
<area shape="poly" title=" " alt="" coords="3860,322,3924,532,3918,534,3855,323"/>
<area shape="poly" title=" " alt="" coords="3878,318,4085,531,4081,535,3874,321"/>
<area shape="poly" title=" " alt="" coords="3905,312,4408,531,4406,536,3903,317"/>
<area shape="poly" title=" " alt="" coords="3926,311,4069,355,4356,452,4575,531,4573,536,4354,457,4067,360,3925,316"/>
<area shape="poly" title=" " alt="" coords="3746,307,3542,335,3405,360,3290,422,3176,488,3089,535,3087,531,3173,483,3287,417,3403,355,3541,330,3745,301"/>
<area shape="poly" title=" " alt="" coords="3745,303,3491,329,3367,345,3277,360,3119,401,2966,450,2833,498,2736,536,2734,531,2831,493,2964,445,3117,396,3275,355,3366,340,3490,324,3745,297"/>
<area shape="poly" title=" " alt="" coords="3746,312,3497,360,3451,378,3416,396,3343,447,3289,493,3247,535,3243,531,3286,489,3340,443,3413,392,3448,374,3495,355,3745,307"/>
<area shape="poly" title=" " alt="" coords="3806,319,3739,360,3643,425,3601,454,3545,488,3448,536,3446,531,3543,483,3598,450,3640,421,3736,355,3803,314"/>
<area shape="poly" title=" " alt="" coords="3745,304,3645,312,3266,329,2944,336,2662,337,2399,334,2135,332,1853,333,1531,341,1152,360,1018,364,903,362,707,356,614,360,516,374,409,402,285,448,252,466,221,489,175,535,171,531,218,485,249,462,283,443,407,397,515,368,613,355,707,351,903,357,1018,359,1152,355,1531,336,1853,328,2135,326,2399,329,2662,331,2944,331,3266,324,3645,307,3745,299"/>
<area shape="poly" title=" " alt="" coords="3745,304,3645,312,3327,326,3058,332,2599,329,2379,327,2142,329,1873,339,1555,360,1371,375,1228,389,1086,411,905,448,739,492,603,536,601,531,737,487,903,443,1085,406,1227,384,1370,369,1554,355,1872,334,2142,324,2379,321,2600,323,3057,326,3327,321,3645,307,3745,299"/>
<area shape="poly" title=" " alt="" coords="4354,127,3663,192,3662,187,4354,122"/>
<area shape="poly" title=" " alt="" coords="4465,146,4491,269,4485,270,4460,147"/>
<area shape="poly" title=" " alt="" coords="5499,147,5483,189,5478,187,5494,145"/>
<area shape="poly" title=" " alt="" coords="5558,137,5637,179,5634,184,5555,142"/>
<area shape="poly" title=" " alt="" coords="5136,235,5136,276,5131,276,5131,235"/>
<area shape="poly" title=" " alt="" coords="5065,228,4912,279,4911,274,5063,223"/>
<area shape="poly" title=" " alt="" coords="5046,221,4774,272,4736,279,4735,274,4773,267,5045,216"/>
<area shape="poly" title=" " alt="" coords="5222,219,5442,267,5441,272,5221,224"/>
<area shape="poly" title=" " alt="" coords="5222,211,5624,267,5670,274,5669,279,5624,272,5221,216"/>
</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": "index.html", "v6.1.7": "../v6.1.7/index.html", "v6.1.6": "../v6.1.6/index.html", "v6.1.5": "../v6.1.5/index.html", "v6.1.4": "../v6.1.4/index.html", "v6.1.3": "../v6.1.3/index.html", "v6.1.2": "../v6.1.2/index.html", "v6.1.1": "../v6.1.1/index.html", "v6.1.0": "../v6.1.0/index.html", "v6.0.2": "../v6.0.2/index.html", "v6.0.1": "../v6.0.1/index.html", "v6.0.0": "../v6.0.0/index.html", "v5.0.0": "../v5.0.0/index.html", "v4.1.1": "../v4.1.1/index.html", "v4.1.0": "../v4.1.0/index.html", "v4.0.0": "../v4.0.0/index.html", "v3.0.0": "../v3.0.0/index.html", "v2.0.0": "../v2.0.0/index.html", "v0.9": "../v0.9/index.html", "v0.11": "../v0.11/index.html", "v0.10": "../v0.10/index.html"};
const currentLang = "en";
const currentVersion = "v6.1.8";
// 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>