Files
FTXUI/en/v2.0.0/color_8hpp.html
2025-12-13 19:38:34 +00:00

424 lines
36 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
&#160;<span id="projectnumber">2.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="279,5,428,45"/>
<area shape="rect" href="canvas_8hpp.html" title=" " alt="" coords="4207,189,4420,214"/>
<area shape="poly" title=" " alt="" coords="442,25,1140,30,2207,43,3243,63,3626,76,3851,91,3974,111,4095,137,4277,186,4275,191,4094,142,3973,116,3850,96,3625,81,3243,68,2207,48,1140,36,442,30"/>
<area shape="rect" href="elements_8hpp.html" title=" " alt="" coords="3650,269,3878,295"/>
<area shape="poly" title=" " alt="" coords="442,31,3650,270,3650,275,441,36"/>
<area shape="rect" href="slider_8cpp.html" title=" " alt="" coords="3203,519,3354,559"/>
<area shape="poly" title=" " alt="" coords="265,36,181,51,138,63,98,80,62,102,33,129,15,161,8,200,8,364,10,389,15,409,24,425,36,437,68,454,109,461,210,461,266,462,322,468,397,477,511,485,834,500,1247,511,1709,520,2611,530,3203,534,3203,540,2611,536,1709,525,1247,516,833,505,511,491,397,482,321,473,266,467,210,467,108,466,66,459,33,442,20,428,10,411,5,390,3,364,3,200,10,159,29,125,59,98,95,75,136,58,180,46,264,30"/>
<area shape="rect" href="dom_2color_8cpp.html" title=" " alt="" coords="333,438,502,463"/>
<area shape="poly" title=" " alt="" coords="266,42,196,62,162,75,129,93,101,113,79,138,64,167,59,200,59,283,61,305,66,324,86,357,117,384,155,405,199,420,245,432,333,444,332,449,244,437,197,425,153,409,114,388,82,360,61,326,55,306,53,283,53,200,59,165,74,135,97,109,126,88,159,71,195,57,264,37"/>
<area shape="rect" href="color__info_8hpp.html" title=" " alt="" coords="223,93,372,133"/>
<area shape="poly" title=" " alt="" coords="336,58,312,95,307,92,331,56"/>
<area shape="rect" href="screen_2color_8cpp.html" title=" " alt="" coords="94,189,277,214"/>
<area shape="poly" title=" " alt="" coords="271,53,239,71,213,95,199,118,192,144,188,189,182,188,187,143,194,116,209,92,236,67,268,48"/>
<area shape="rect" href="color__info_8cpp.html" title=" " alt="" coords="301,181,459,221"/>
<area shape="poly" title=" " alt="" coords="373,57,387,93,390,141,386,182,381,181,385,141,381,94,368,59"/>
<area shape="rect" href="screen_8hpp.html" title=" " alt="" coords="3689,93,3839,133"/>
<area shape="poly" title=" " alt="" coords="442,26,3689,107,3689,113,441,32"/>
<area shape="poly" title=" " alt="" coords="4220,219,3844,272,3844,267,4219,213"/>
<area shape="rect" href="canvas_8cpp.html" title=" " alt="" coords="6156,350,6340,375"/>
<area shape="poly" title=" " alt="" coords="4434,211,4849,249,5372,292,5589,305,5759,310,5928,319,6144,340,6192,347,6191,353,6144,345,5927,324,5758,315,5589,310,5372,297,4849,254,4434,217"/>
<area shape="rect" href="component_8hpp.html" title=" " alt="" coords="4207,431,4385,471"/>
<area shape="poly" title=" " alt="" coords="3892,292,4131,316,4226,329,4272,340,4288,361,4296,385,4300,430,4295,431,4291,386,4283,363,4269,345,4226,334,4130,322,3892,297"/>
<area shape="rect" href="button_8cpp.html" title=" " alt="" coords="4251,519,4402,559"/>
<area shape="poly" title=" " alt="" coords="3892,293,4147,319,4250,331,4301,340,4336,357,4361,374,4382,396,4400,430,4405,451,4400,472,4381,499,4358,521,4354,517,4377,496,4395,470,4400,451,4395,432,4377,399,4358,378,4333,361,4299,345,4250,337,4146,324,3892,298"/>
<area shape="rect" href="checkbox_8cpp.html" title=" " alt="" coords="5125,519,5275,559"/>
<area shape="poly" title=" " alt="" coords="3892,292,3897,292,4100,297,4438,302,4774,315,4899,326,4943,332,4973,340,5009,357,5043,378,5104,427,5154,477,5187,517,5183,520,5150,481,5101,431,5040,383,5006,362,4971,345,4942,338,4898,331,4774,320,4438,308,4100,302,3897,297,3892,297"/>
<area shape="rect" href="component_8cpp.html" title=" " alt="" coords="3378,519,3529,559"/>
<area shape="poly" title=" " alt="" coords="3788,303,3801,321,3812,341,3817,363,3810,384,3791,404,3763,424,3686,462,3598,495,3518,521,3517,516,3596,490,3684,457,3760,419,3788,400,3806,381,3811,363,3807,343,3797,324,3783,306"/>
<area shape="rect" href="container_8cpp.html" title=" " alt="" coords="3553,519,3703,559"/>
<area shape="poly" title=" " alt="" coords="3812,298,3839,316,3861,341,3868,363,3861,384,3849,400,3829,418,3777,456,3665,521,3663,516,3774,451,3826,414,3845,397,3856,381,3862,363,3856,344,3836,320,3809,303"/>
<area shape="rect" href="dropdown_8cpp.html" title=" " alt="" coords="4426,519,4577,559"/>
<area shape="poly" title=" " alt="" coords="3892,292,4182,320,4353,340,4380,358,4404,380,4445,429,4476,478,4496,517,4491,519,4471,481,4441,432,4401,384,4377,362,4351,345,4181,325,3891,298"/>
<area shape="rect" href="input_8cpp.html" title=" " alt="" coords="4601,519,4751,559"/>
<area shape="poly" title=" " alt="" coords="3892,292,4207,320,4395,340,4437,358,4477,379,4552,428,4614,477,4658,516,4654,520,4611,481,4549,432,4475,384,4435,363,4394,345,4206,326,3891,297"/>
<area shape="rect" href="maybe_8cpp.html" title=" " alt="" coords="3727,519,3878,559"/>
<area shape="poly" title=" " alt="" coords="3849,297,3884,314,3912,341,3919,362,3912,384,3898,402,3881,410,3865,418,3849,432,3824,477,3810,519,3805,518,3819,475,3845,429,3862,414,3879,406,3894,397,3907,381,3913,362,3907,344,3881,318,3847,301"/>
<area shape="rect" href="menu_8cpp.html" title=" " alt="" coords="4775,519,4926,559"/>
<area shape="poly" title=" " alt="" coords="3892,292,3897,292,4410,302,4743,316,4857,326,4893,333,4911,341,4925,362,4930,386,4928,411,4920,436,4895,483,4869,520,4865,517,4891,481,4915,434,4922,410,4924,386,4920,364,4908,345,4891,338,4857,332,4743,321,4410,307,3897,297,3892,297"/>
<area shape="rect" href="radiobox_8cpp.html" title=" " alt="" coords="4950,519,5101,559"/>
<area shape="poly" title=" " alt="" coords="3892,292,3897,292,4095,294,4424,295,4596,298,4750,306,4869,320,4911,329,4937,340,4959,358,4977,380,5003,430,5018,479,5026,518,5020,519,5013,480,4998,432,4972,383,4955,362,4935,345,4909,334,4868,325,4749,312,4596,304,4424,300,4095,299,3897,297,3892,297"/>
<area shape="rect" href="renderer_8cpp.html" title=" " alt="" coords="3902,519,4053,559"/>
<area shape="poly" title=" " alt="" coords="3862,296,3901,314,3933,341,3944,358,3949,373,3950,403,3946,434,3951,470,3970,518,3965,520,3945,471,3941,434,3944,403,3944,374,3939,360,3929,344,3898,318,3860,301"/>
<area shape="rect" href="resizable__split_8cpp.html" title=" " alt="" coords="4077,519,4227,559"/>
<area shape="poly" title=" " alt="" coords="3842,295,3901,313,3959,340,4039,416,4136,517,4132,520,4035,420,3956,345,3899,318,3840,300"/>
<area shape="poly" title=" " alt="" coords="3768,309,3763,347,3756,367,3745,385,3724,398,3688,414,3581,452,3348,521,3346,516,3580,447,3686,409,3722,393,3741,381,3751,364,3758,346,3763,308"/>
<area shape="rect" href="toggle_8cpp.html" title=" " alt="" coords="5299,519,5450,559"/>
<area shape="poly" title=" " alt="" coords="3892,292,3899,292,4009,296,4146,297,4465,296,4629,299,4783,306,4918,319,5026,340,5079,365,5168,414,5344,516,5341,521,5166,419,5077,370,5025,345,4918,324,4783,311,4629,304,4465,302,4146,302,4009,301,3899,297,3892,297"/>
<area shape="rect" href="component__base_8hpp.html" title=" " alt="" coords="4080,343,4259,383"/>
<area shape="poly" title=" " alt="" coords="3837,295,4080,341,4079,347,3836,300"/>
<area shape="rect" href="component__options_8hpp.html" title=" " alt="" coords="4714,343,4897,383"/>
<area shape="poly" title=" " alt="" coords="3892,292,3898,292,4122,305,4297,311,4471,319,4695,340,4714,342,4713,348,4694,345,4471,324,4296,316,4122,310,3897,297,3892,297"/>
<area shape="rect" href="dom_2deprecated_8hpp.html" title=" " alt="" coords="1259,350,1499,375"/>
<area shape="poly" title=" " alt="" coords="3636,287,2569,305,1951,322,1694,333,1499,345,1437,353,1437,347,1498,340,1694,328,1951,317,2569,300,3636,282"/>
<area shape="rect" href="table_8hpp.html" title=" " alt="" coords="1523,350,1723,375"/>
<area shape="poly" title=" " alt="" coords="3636,288,2683,306,2140,323,1913,333,1742,345,1686,353,1685,347,1741,340,1913,328,2139,317,2683,300,3636,282"/>
<area shape="rect" href="blink_8cpp.html" title=" " alt="" coords="1268,438,1439,463"/>
<area shape="poly" title=" " alt="" coords="3636,288,3482,293,3310,303,3151,320,3087,331,3038,345,3023,354,3013,365,3003,376,2986,385,2944,395,2880,403,2702,414,2474,421,2221,424,1739,426,1559,428,1451,433,1405,441,1404,435,1450,428,1559,423,1739,421,2221,418,2474,415,2701,409,2880,398,2943,390,2984,380,3000,372,3009,361,3020,350,3036,340,3086,326,3150,314,3309,297,3482,287,3636,282"/>
<area shape="rect" href="bold_8cpp.html" title=" " alt="" coords="526,438,693,463"/>
<area shape="poly" title=" " alt="" coords="3636,286,3017,286,2147,292,1711,299,1324,310,1024,325,918,334,847,345,782,365,721,391,629,440,627,435,718,386,781,360,846,340,917,329,1023,320,1324,304,1711,294,2147,287,3017,280,3636,280"/>
<area shape="rect" href="border_8cpp.html" title=" " alt="" coords="6364,350,6543,375"/>
<area shape="poly" title=" " alt="" coords="3891,281,4398,284,5109,292,5826,310,6126,323,6352,340,6401,347,6400,353,6352,345,6125,329,5826,315,5109,298,4398,289,3891,286"/>
<area shape="poly" title=" " alt="" coords="3892,285,4151,292,4587,298,5148,304,5709,315,5950,326,6144,340,6194,347,6193,353,6144,345,5950,331,5709,321,5148,309,4587,304,4151,297,3891,290"/>
<area shape="rect" href="clear__under_8cpp.html" title=" " alt="" coords="717,431,859,471"/>
<area shape="poly" title=" " alt="" coords="3636,286,3002,289,2121,298,1690,306,1318,316,1045,329,960,337,914,345,881,363,850,386,805,432,801,428,847,382,878,358,912,340,959,331,1045,324,1317,310,1690,300,2121,293,3002,284,3636,281"/>
<area shape="poly" title=" " alt="" coords="3636,286,2994,289,2087,297,1632,304,1227,315,913,328,801,336,727,345,644,365,563,391,443,440,441,435,561,386,642,360,726,340,801,331,912,323,1227,309,1632,299,2087,292,2994,283,3636,281"/>
<area shape="rect" href="composite__decorator_8cpp.html" title=" " alt="" coords="1797,343,1976,383"/>
<area shape="poly" title=" " alt="" coords="3636,288,2800,306,2331,322,2136,333,1988,345,1976,347,1976,341,1988,340,2136,328,2331,317,2800,300,3636,282"/>
<area shape="rect" href="dbox_8cpp.html" title=" " alt="" coords="2000,350,2171,375"/>
<area shape="poly" title=" " alt="" coords="3636,288,2893,307,2483,324,2313,334,2183,345,2137,353,2136,347,2182,340,2312,329,2482,318,2893,302,3636,283"/>
<area shape="rect" href="dim_8cpp.html" title=" " alt="" coords="1081,438,1244,463"/>
<area shape="poly" title=" " alt="" coords="3636,288,2584,307,2052,324,1873,334,1786,345,1771,354,1762,364,1752,375,1736,385,1667,409,1606,422,1552,427,1500,428,1392,424,1329,425,1256,433,1215,441,1214,435,1256,428,1329,420,1392,418,1500,422,1552,422,1606,417,1665,404,1734,380,1748,371,1758,361,1768,349,1784,340,1872,329,2051,318,2584,301,3636,282"/>
<area shape="rect" href="flex_8cpp.html" title=" " alt="" coords="2195,350,2357,375"/>
<area shape="poly" title=" " alt="" coords="3636,285,3399,286,3084,294,2729,312,2547,327,2370,345,2326,353,2325,347,2369,340,2547,321,2728,307,3084,288,3399,281,3636,280"/>
<area shape="rect" href="flexbox_8cpp.html" title=" " alt="" coords="2381,350,2568,375"/>
<area shape="poly" title=" " alt="" coords="3636,287,3433,291,3170,301,2876,318,2580,345,2532,353,2531,347,2580,340,2876,313,3170,296,3433,286,3636,282"/>
<area shape="rect" href="focus_8cpp.html" title=" " alt="" coords="884,438,1057,463"/>
<area shape="poly" title=" " alt="" coords="3636,286,2990,289,2095,298,1662,305,1295,316,1036,329,961,337,930,345,923,355,921,366,928,391,944,416,961,436,957,440,940,419,923,394,916,366,918,353,926,341,960,331,1036,323,1295,310,1662,300,2095,293,2989,284,3636,281"/>
<area shape="rect" href="frame_8cpp.html" title=" " alt="" coords="5125,350,5302,375"/>
<area shape="poly" title=" " alt="" coords="3892,292,3897,292,4081,301,4237,306,4502,307,4767,313,4922,323,5106,340,5156,347,5155,353,5105,345,4922,328,4766,319,4502,313,4237,311,4081,307,3897,297,3892,297"/>
<area shape="rect" href="gauge_8cpp.html" title=" " alt="" coords="5327,350,5505,375"/>
<area shape="poly" title=" " alt="" coords="3892,289,3948,292,4156,300,4333,303,4632,302,4777,304,4932,309,5108,320,5315,340,5363,347,5362,353,5314,345,5107,326,4931,314,4777,309,4632,308,4333,308,4156,305,3948,297,3892,294"/>
<area shape="rect" href="graph_8cpp.html" title=" " alt="" coords="5530,350,5705,375"/>
<area shape="poly" title=" " alt="" coords="3892,287,3999,292,4230,299,4426,301,4759,299,4920,300,5092,306,5287,318,5518,340,5565,347,5564,353,5517,345,5287,323,5092,311,4920,305,4759,304,4426,306,4230,304,3999,297,3892,293"/>
<area shape="rect" href="gridbox_8cpp.html" title=" " alt="" coords="2592,350,2779,375"/>
<area shape="poly" title=" " alt="" coords="3636,289,3257,306,3024,322,2791,345,2743,353,2742,347,2790,340,3024,317,3256,301,3636,284"/>
<area shape="rect" href="hbox_8cpp.html" title=" " alt="" coords="2803,350,2973,375"/>
<area shape="poly" title=" " alt="" coords="3636,292,3341,311,3167,326,2992,345,2946,353,2945,347,2992,340,3166,321,3341,305,3636,287"/>
<area shape="rect" href="inverted_8cpp.html" title=" " alt="" coords="1463,438,1655,463"/>
<area shape="poly" title=" " alt="" coords="3745,306,3664,385,3625,393,3552,399,3323,410,2668,421,2011,427,1667,433,1615,441,1615,435,1666,428,2011,422,2668,416,3323,404,3552,394,3624,388,3661,380,3742,302"/>
<area shape="rect" href="node__decorator_8hpp.html" title=" " alt="" coords="939,343,1082,383"/>
<area shape="poly" title=" " alt="" coords="3636,287,3236,290,2646,299,1954,317,1247,345,1083,357,1082,352,1247,340,1954,311,2646,294,3236,285,3636,281"/>
<area shape="rect" href="scroll__indicator_8cpp.html" title=" " alt="" coords="1679,431,1825,471"/>
<area shape="poly" title=" " alt="" coords="3760,309,3742,349,3727,369,3708,385,3676,394,3617,402,3427,416,3167,427,2865,436,2254,447,1826,451,1826,446,2254,442,2865,431,3167,422,3427,411,3616,397,3675,389,3705,380,3723,366,3737,347,3755,307"/>
<area shape="rect" href="paragraph_8cpp.html" title=" " alt="" coords="3049,350,3253,375"/>
<area shape="poly" title=" " alt="" coords="3644,299,3266,345,3218,353,3217,347,3265,340,3644,294"/>
<area shape="rect" href="reflect_8cpp.html" title=" " alt="" coords="5729,350,5908,375"/>
<area shape="poly" title=" " alt="" coords="3892,286,4049,292,4304,298,4519,299,4885,296,5061,297,5250,303,5465,317,5718,340,5766,347,5765,353,5717,345,5464,322,5250,308,5061,303,4885,302,4519,305,4304,303,4049,297,3892,291"/>
<area shape="rect" href="separator_8cpp.html" title=" " alt="" coords="5933,350,6131,375"/>
<area shape="poly" title=" " alt="" coords="3892,285,4100,292,4377,298,4612,299,5011,296,5203,297,5410,303,5644,317,5920,340,5973,347,5973,353,5920,345,5644,322,5409,309,5203,303,5011,301,4612,304,4377,303,4100,297,3892,291"/>
<area shape="rect" href="size_8cpp.html" title=" " alt="" coords="3277,350,3441,375"/>
<area shape="poly" title=" " alt="" coords="3691,300,3454,345,3417,353,3416,347,3453,340,3690,295"/>
<area shape="rect" href="spinner_8cpp.html" title=" " alt="" coords="3465,350,3650,375"/>
<area shape="poly" title=" " alt="" coords="3722,302,3588,352,3586,347,3720,297"/>
<area shape="poly" title=" " alt="" coords="4310,483,4322,518,4317,519,4305,485"/>
<area shape="poly" title=" " alt="" coords="4400,453,4719,473,4916,491,5114,516,5125,518,5124,523,5113,521,4916,497,4719,479,4399,459"/>
<area shape="poly" title=" " alt="" coords="4193,460,3899,481,3720,498,3542,521,3529,523,3529,518,3541,516,3720,493,3899,475,4192,455"/>
<area shape="poly" title=" " alt="" coords="4193,464,3973,486,3716,521,3704,523,3703,518,3716,516,3973,481,4192,458"/>
<area shape="poly" title=" " alt="" coords="4355,473,4457,516,4455,521,4353,478"/>
<area shape="poly" title=" " alt="" coords="4393,471,4601,518,4600,523,4392,476"/>
<area shape="poly" title=" " alt="" coords="4194,470,3891,521,3879,524,3878,518,3890,516,4193,465"/>
<area shape="poly" title=" " alt="" coords="4400,462,4571,485,4764,516,4776,518,4775,523,4764,521,4570,490,4399,467"/>
<area shape="poly" title=" " alt="" coords="4400,457,4646,479,4793,495,4939,516,4950,518,4949,523,4938,521,4792,501,4646,484,4399,462"/>
<area shape="poly" title=" " alt="" coords="4213,477,4048,521,4046,516,4212,472"/>
<area shape="poly" title=" " alt="" coords="4254,480,4185,521,4182,516,4251,475"/>
<area shape="poly" title=" " alt="" coords="4193,457,3827,476,3598,494,3367,521,3355,523,3354,518,3366,516,3597,489,3827,470,4193,452"/>
<area shape="poly" title=" " alt="" coords="4399,451,4569,457,4791,468,5039,487,5288,516,5300,518,5299,523,5288,521,5038,493,4790,474,4569,462,4399,457"/>
<area shape="poly" title=" " alt="" coords="4210,388,4269,428,4266,433,4207,393"/>
<area shape="poly" title=" " alt="" coords="4155,396,4145,433,4146,452,4153,469,4167,482,4192,494,4254,516,4252,521,4190,499,4164,486,4149,472,4141,453,4140,433,4150,394"/>
<area shape="poly" title=" " alt="" coords="4273,373,4458,397,4670,428,4892,469,5114,516,5125,518,5124,524,5113,521,4891,474,4669,433,4457,402,4272,378"/>
<area shape="poly" title=" " alt="" coords="4067,384,3951,406,3827,433,3656,479,3514,521,3512,516,3655,474,3826,428,3950,401,4066,379"/>
<area shape="poly" title=" " alt="" coords="4093,389,3947,433,3683,521,3682,516,3946,428,4091,384"/>
<area shape="poly" title=" " alt="" coords="4171,396,4177,434,4185,453,4196,468,4426,518,4425,524,4193,473,4180,456,4172,436,4166,397"/>
<area shape="poly" title=" " alt="" coords="4253,384,4398,428,4526,474,4632,516,4630,521,4524,479,4396,433,4251,389"/>
<area shape="poly" title=" " alt="" coords="4119,391,3844,521,3842,516,4116,386"/>
<area shape="poly" title=" " alt="" coords="4273,383,4470,428,4643,474,4789,516,4787,521,4642,480,4469,433,4272,388"/>
<area shape="poly" title=" " alt="" coords="4273,377,4562,428,4774,474,4951,516,4949,521,4772,479,4561,433,4272,382"/>
<area shape="poly" title=" " alt="" coords="4137,393,4091,433,3998,520,3995,516,4088,429,4134,389"/>
<area shape="poly" title=" " alt="" coords="4132,393,4115,411,4102,432,4098,451,4102,470,4116,495,4134,517,4130,520,4112,498,4098,472,4093,450,4098,430,4111,408,4128,390"/>
<area shape="poly" title=" " alt="" coords="4066,377,3884,399,3677,433,3603,452,3530,473,3350,521,3349,516,3529,468,3602,447,3675,428,3883,393,4066,371"/>
<area shape="poly" title=" " alt="" coords="4273,370,4512,393,4795,428,5043,468,5289,516,5300,518,5299,524,5287,521,5042,473,4794,433,4511,399,4272,375"/>
<area shape="poly" title=" " alt="" coords="4701,384,4386,437,4385,432,4700,379"/>
<area shape="poly" title=" " alt="" coords="4741,390,4621,433,4379,521,4377,516,4619,428,4739,385"/>
<area shape="poly" title=" " alt="" coords="4862,386,5158,516,5156,521,4860,391"/>
<area shape="poly" title=" " alt="" coords="4762,392,4536,521,4533,516,4759,387"/>
<area shape="poly" title=" " alt="" coords="4813,397,4812,434,4807,454,4798,472,4770,501,4736,521,4733,516,4767,497,4794,469,4802,452,4806,434,4807,397"/>
<area shape="poly" title=" " alt="" coords="4831,393,4849,430,4856,477,4855,518,4850,518,4851,478,4844,431,4826,395"/>
<area shape="poly" title=" " alt="" coords="4842,389,5003,516,5000,521,4838,393"/>
<area shape="poly" title=" " alt="" coords="4881,384,5314,516,5312,521,4879,389"/>
<area shape="poly" title=" " alt="" coords="1473,345,1522,340,1718,328,1977,317,2595,300,3650,282,3650,287,2595,305,1977,322,1719,333,1523,345,1474,351"/>
<area shape="poly" title=" " alt="" coords="1096,382,1308,435,1307,441,1095,388"/>
<area shape="poly" title=" " alt="" coords="926,385,664,441,663,435,925,379"/>
<area shape="poly" title=" " alt="" coords="950,390,838,433,836,428,948,385"/>
<area shape="poly" title=" " alt="" coords="926,377,737,401,515,433,474,441,473,435,514,428,737,395,925,371"/>
<area shape="poly" title=" " alt="" coords="1057,387,1144,436,1141,440,1055,392"/>
<area shape="poly" title=" " alt="" coords="998,396,979,439,974,436,994,394"/>
<area shape="poly" title=" " alt="" coords="1096,374,1451,428,1495,435,1494,441,1450,433,1095,379"/>
<area shape="poly" title=" " alt="" coords="1096,370,1667,428,1679,430,1678,435,1666,433,1095,375"/>
<area shape="poly" title=" " alt="" coords="263,144,202,190,199,186,260,140"/>
<area shape="poly" title=" " alt="" coords="327,142,364,179,360,183,323,145"/>
<area shape="poly" title=" " alt="" coords="3853,126,4241,186,4240,191,3852,131"/>
<area shape="poly" title=" " alt="" coords="3767,147,3767,269,3761,269,3761,147"/>
<area shape="poly" title=" " alt="" coords="3675,118,3147,123,2390,134,2017,143,1693,154,1457,168,1383,175,1344,184,1276,220,1248,242,1226,266,1211,292,1204,320,1207,349,1221,381,1237,400,1257,415,1302,436,1300,440,1254,420,1233,404,1216,384,1202,351,1198,319,1206,290,1222,263,1245,238,1273,216,1342,179,1382,170,1456,162,1693,149,2016,138,2390,129,3147,118,3675,113"/>
<area shape="poly" title=" " alt="" coords="3676,118,3077,123,2201,136,1386,155,1108,168,1020,176,974,184,914,209,857,241,802,277,752,316,671,389,622,439,618,436,667,385,749,312,799,273,854,236,912,204,973,179,1020,171,1108,163,1386,150,2200,130,3077,118,3675,113"/>
<area shape="poly" title=" " alt="" coords="3853,117,4246,141,4861,186,5220,216,5597,252,5978,293,6352,340,6397,347,6396,353,6352,345,5978,298,5596,257,5220,221,4860,191,4245,146,3852,122"/>
<area shape="poly" title=" " alt="" coords="3852,134,4195,219,4489,260,4739,283,4960,294,5167,296,5374,296,5596,300,5848,313,6144,340,6193,347,6192,353,6144,345,5847,318,5596,306,5374,302,5167,301,4960,299,4739,289,4489,266,4194,224,3851,139"/>
<area shape="poly" title=" " alt="" coords="3676,118,3097,124,2254,137,1471,157,1204,169,1120,176,1075,184,1002,212,949,244,902,286,849,344,818,389,798,432,793,429,813,387,845,341,899,282,946,240,1000,208,1074,179,1119,171,1204,164,1471,151,2254,132,3097,119,3676,113"/>
<area shape="poly" title=" " alt="" coords="3676,118,3060,125,2153,138,1309,158,1021,170,929,177,881,184,808,209,736,241,667,278,603,316,497,389,433,440,429,436,494,385,600,312,664,273,733,236,806,204,879,179,929,172,1020,165,1309,153,2153,133,3060,120,3676,113"/>
<area shape="poly" title=" " alt="" coords="3675,118,3156,120,2403,130,2022,138,1684,150,1420,165,1327,174,1266,184,1157,206,1070,226,1032,242,997,266,963,299,930,344,923,363,930,381,953,393,999,408,1111,435,1110,441,998,413,951,398,926,384,918,363,926,341,959,295,994,262,1030,238,1068,221,1156,201,1265,179,1327,169,1420,159,1683,144,2022,133,2403,124,3156,115,3675,112"/>
<area shape="poly" title=" " alt="" coords="3786,143,3814,180,3851,222,3897,262,3949,292,3980,301,4027,308,4161,319,4332,326,4523,330,4887,334,5106,340,5156,347,5155,353,5105,345,4887,339,4523,335,4332,331,4161,324,4026,313,3978,306,3947,297,3894,266,3848,226,3810,183,3782,147"/>
<area shape="poly" title=" " alt="" coords="3800,140,3919,233,4000,292,4035,301,4089,308,4242,318,4654,329,5067,333,5222,335,5315,340,5363,347,5362,353,5314,345,5222,341,5067,338,4654,334,4242,323,4089,313,4034,306,3998,297,3916,237,3796,144"/>
<area shape="poly" title=" " alt="" coords="3817,137,3892,179,3970,239,4014,272,4050,292,4090,301,4150,308,4321,319,4539,326,4780,329,5241,332,5414,335,5518,340,5565,347,5564,353,5517,345,5414,340,5241,338,4780,334,4539,331,4321,324,4150,314,4089,306,4048,297,4011,277,3967,243,3889,184,3814,142"/>
<area shape="poly" title=" " alt="" coords="3676,118,3283,123,2720,134,2149,153,1911,167,1731,184,1647,191,1571,193,1500,194,1436,198,1377,211,1350,222,1325,237,1300,256,1277,279,1255,309,1234,344,1227,364,1229,372,1234,381,1264,391,1331,405,1493,435,1492,441,1330,411,1262,396,1230,385,1224,374,1222,363,1230,342,1251,306,1273,276,1297,252,1322,232,1348,217,1376,206,1435,193,1500,188,1570,187,1647,186,1730,179,1911,162,2149,148,2720,128,3283,117,3676,113"/>
<area shape="poly" title=" " alt="" coords="3676,118,3139,131,2764,145,2364,166,1976,195,1798,213,1637,233,1497,257,1382,283,1298,312,1269,328,1249,344,1242,354,1240,363,1242,372,1249,381,1262,392,1280,402,1326,415,1383,422,1445,425,1571,424,1625,424,1667,428,1679,430,1678,435,1666,433,1624,430,1571,429,1445,430,1382,427,1325,420,1278,407,1259,397,1245,384,1238,374,1235,363,1237,352,1245,341,1266,324,1296,308,1381,278,1496,252,1636,228,1798,208,1976,189,2364,160,2763,139,3139,125,3675,113"/>
<area shape="poly" title=" " alt="" coords="3835,135,3885,155,3936,179,3983,211,4017,241,4051,269,4073,281,4101,292,4145,302,4211,309,4400,320,4640,327,4906,330,5413,332,5604,335,5718,340,5766,347,5765,353,5717,345,5603,340,5413,338,4906,335,4640,332,4400,326,4211,315,4144,307,4099,297,4071,286,4048,273,4013,245,3980,215,3933,184,3883,160,3833,140"/>
<area shape="poly" title=" " alt="" coords="3853,133,3918,153,3983,179,4032,209,4066,240,4101,269,4123,281,4151,292,4200,302,4273,310,4479,322,4741,328,5032,331,5587,333,5796,335,5920,340,5973,347,5973,353,5920,345,5795,340,5587,338,5032,337,4741,334,4479,327,4272,316,4199,307,4150,297,4121,286,4098,273,4063,244,4029,214,3980,184,3916,158,3852,138"/>
</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": "../v3.0.0/index.html", "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 = "v2.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>