mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-12-16 01:48:56 +08:00
432 lines
36 KiB
HTML
432 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
|
|
 <span id="projectnumber">4.1.1</span>
|
|
</div>
|
|
<div id="projectbrief">C++ functional terminal UI.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.12.0 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() { codefold.init(0); });
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search',true);
|
|
$(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function(){initNavTree('color_8hpp.html',''); initResizable(true); });
|
|
/* @license-end */
|
|
</script>
|
|
<div id="doc-content">
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#nested-classes">Data Structures</a> |
|
|
<a href="#namespaces">Namespaces</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle"><div class="title">color.hpp File Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><div id="dynsection-0" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
|
|
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> This graph shows which files directly or indirectly include this file:</div>
|
|
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
|
|
</div>
|
|
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
|
|
<div class="center"><img src="color_8hpp__dep__incl.png" border="0" usemap="#ainclude_2ftxui_2screen_2color_8hppdep" alt=""/></div>
|
|
<map name="ainclude_2ftxui_2screen_2color_8hppdep" id="ainclude_2ftxui_2screen_2color_8hppdep">
|
|
<area shape="rect" title=" " alt="" coords="848,5,998,45"/>
|
|
<area shape="rect" href="component__options_8hpp.html" title=" " alt="" coords="1054,343,1237,383"/>
|
|
<area shape="poly" title=" " alt="" coords="963,52,1004,92,1051,160,1091,231,1141,341,1136,343,1086,233,1047,162,1000,95,959,56"/>
|
|
<area shape="rect" href="button_8cpp.html" title=" " alt="" coords="1197,519,1348,559"/>
|
|
<area shape="poly" title=" " alt="" coords="835,31,641,36,407,48,201,67,129,80,105,88,90,95,69,118,61,140,59,167,59,200,59,364,65,391,83,413,112,431,150,445,195,456,247,463,364,469,489,469,610,466,716,464,795,468,991,489,1186,516,1197,518,1196,523,1185,521,991,494,795,473,716,470,610,471,489,474,364,475,247,468,194,461,148,450,109,436,80,417,61,393,54,364,54,200,53,167,55,139,65,115,87,91,103,83,128,75,200,62,407,42,640,31,835,25"/>
|
|
<area shape="rect" href="menu_8cpp.html" title=" " alt="" coords="1372,519,1522,559"/>
|
|
<area shape="poly" title=" " alt="" coords="835,30,632,37,512,47,392,62,282,84,234,98,192,114,158,132,132,152,115,175,110,200,110,283,112,315,118,340,132,360,155,380,195,391,282,404,533,432,917,468,1139,488,1236,498,1361,516,1372,518,1371,523,1360,521,1236,504,1139,494,916,473,532,437,281,409,194,396,153,385,128,364,113,342,106,316,104,283,104,200,111,173,128,149,155,127,190,109,233,93,281,79,391,57,511,42,632,32,835,24"/>
|
|
<area shape="rect" href="slider_8cpp.html" title=" " alt="" coords="1022,519,1173,559"/>
|
|
<area shape="poly" title=" " alt="" coords="835,30,630,35,380,46,261,54,159,65,82,79,56,87,39,95,19,118,10,140,8,167,8,200,8,364,8,397,10,424,19,447,39,469,60,479,93,488,192,504,323,516,473,524,782,533,1022,535,1022,540,782,538,473,529,322,521,191,509,92,494,58,484,36,473,14,449,5,425,3,397,3,364,3,200,3,167,5,139,14,115,36,91,54,82,80,74,158,60,261,49,380,41,630,30,835,25"/>
|
|
<area shape="rect" href="component__options_8cpp.html" title=" " alt="" coords="952,431,1134,471"/>
|
|
<area shape="poly" title=" " alt="" coords="945,56,963,93,977,138,980,160,978,183,972,204,960,223,946,235,929,244,885,257,831,264,773,268,656,268,566,272,494,279,415,283,264,290,206,300,184,307,169,316,161,327,160,341,168,359,185,381,199,389,223,397,296,409,391,417,499,422,833,428,953,438,952,444,832,433,499,427,391,422,295,414,222,402,197,394,181,385,163,362,155,342,156,325,166,312,182,302,204,294,263,285,415,278,494,274,566,267,655,263,772,262,831,259,884,252,927,239,943,230,956,220,967,202,973,182,974,161,971,139,958,95,940,59"/>
|
|
<area shape="rect" href="canvas_8hpp.html" title=" " alt="" coords="1138,189,1351,214"/>
|
|
<area shape="poly" title=" " alt="" coords="1012,46,1067,66,1120,91,1156,114,1189,141,1236,186,1232,190,1185,145,1153,119,1118,96,1065,70,1010,51"/>
|
|
<area shape="rect" href="elements_8hpp.html" title=" " alt="" coords="3122,269,3350,295"/>
|
|
<area shape="poly" title=" " alt="" coords="1012,34,1867,131,3129,267,3129,272,1867,136,1012,40"/>
|
|
<area shape="rect" href="border_8cpp.html" title=" " alt="" coords="403,350,582,375"/>
|
|
<area shape="poly" title=" " alt="" coords="835,39,701,61,642,77,602,96,573,123,550,157,532,194,518,231,502,302,496,350,491,349,496,301,513,230,527,192,545,154,569,120,599,91,640,72,700,56,834,34"/>
|
|
<area shape="rect" href="canvas_8cpp.html" title=" " alt="" coords="195,350,379,375"/>
|
|
<area shape="poly" title=" " alt="" coords="835,31,772,37,701,48,628,67,559,96,512,124,469,158,391,232,332,303,297,351,293,348,328,300,387,229,465,154,509,120,557,91,626,62,700,43,771,31,835,26"/>
|
|
<area shape="rect" href="dom_2color_8cpp.html" title=" " alt="" coords="606,350,776,375"/>
|
|
<area shape="poly" title=" " alt="" coords="836,37,764,52,688,79,653,98,620,121,593,149,571,182,564,207,567,232,577,256,594,279,635,319,674,348,671,352,632,323,590,282,573,259,562,233,559,207,566,180,588,146,617,117,650,94,686,74,763,47,835,32"/>
|
|
<area shape="rect" href="linear__gradient_8cpp.html" title=" " alt="" coords="3958,343,4106,383"/>
|
|
<area shape="poly" title=" " alt="" coords="1012,23,1383,27,1650,34,1956,46,2290,65,2639,92,2992,130,3337,179,3522,215,3703,260,3860,305,3976,340,3974,345,3859,310,3701,265,3521,220,3336,184,2991,135,2639,98,2290,70,1956,51,1650,39,1383,32,1012,29"/>
|
|
<area shape="rect" href="separator_8cpp.html" title=" " alt="" coords="5926,350,6125,375"/>
|
|
<area shape="poly" title=" " alt="" coords="1011,24,1665,28,2686,37,3751,57,4199,72,4537,91,4720,107,4863,126,5186,179,5420,219,5653,267,5837,310,5984,347,5982,353,5836,315,5652,272,5419,224,5185,184,4862,131,4720,113,4536,96,4199,77,3751,63,2686,43,1665,33,1011,30"/>
|
|
<area shape="rect" href="linear__gradient_8hpp.html" title=" " alt="" coords="3148,181,3324,221"/>
|
|
<area shape="poly" title=" " alt="" coords="1012,31,3148,191,3148,196,1012,36"/>
|
|
<area shape="rect" href="color__info_8hpp.html" title=" " alt="" coords="736,93,886,133"/>
|
|
<area shape="poly" title=" " alt="" coords="889,56,838,95,834,91,886,52"/>
|
|
<area shape="rect" href="screen_2color_8cpp.html" title=" " alt="" coords="581,189,764,214"/>
|
|
<area shape="poly" title=" " alt="" coords="836,43,778,63,751,77,726,95,707,118,693,143,678,189,673,187,688,141,703,115,723,91,748,73,776,58,834,38"/>
|
|
<area shape="rect" href="color__info_8cpp.html" title=" " alt="" coords="788,181,946,221"/>
|
|
<area shape="poly" title=" " alt="" coords="920,60,900,134,879,182,875,180,895,132,915,58"/>
|
|
<area shape="rect" href="screen_8hpp.html" title=" " alt="" coords="4375,93,4524,133"/>
|
|
<area shape="poly" title=" " alt="" coords="1012,26,2166,48,3910,91,4375,106,4375,112,3910,96,2166,54,1012,31"/>
|
|
<area shape="rect" href="component_8hpp.html" title=" " alt="" coords="3096,431,3275,471"/>
|
|
<area shape="poly" title=" " alt="" coords="1251,380,1521,403,1750,413,1952,415,2140,413,2328,409,2530,408,2758,413,3027,428,3096,435,3096,440,3027,433,2758,418,2530,413,2328,414,2140,418,1952,421,1750,418,1521,408,1251,385"/>
|
|
<area shape="poly" title=" " alt="" coords="1170,392,1261,517,1257,520,1166,396"/>
|
|
<area shape="rect" href="checkbox_8cpp.html" title=" " alt="" coords="1741,519,1892,559"/>
|
|
<area shape="poly" title=" " alt="" coords="1232,384,1745,516,1743,521,1231,389"/>
|
|
<area shape="rect" href="collapsible_8cpp.html" title=" " alt="" coords="2448,519,2598,559"/>
|
|
<area shape="poly" title=" " alt="" coords="1251,380,1606,429,1950,472,2448,527,2447,532,1949,477,1605,435,1251,385"/>
|
|
<area shape="rect" href="dropdown_8cpp.html" title=" " alt="" coords="2622,519,2773,559"/>
|
|
<area shape="poly" title=" " alt="" coords="1251,380,1398,397,1513,407,1771,428,2192,464,2376,482,2612,516,2623,518,2622,523,2611,521,2376,488,2192,469,1771,433,1512,413,1398,403,1251,385"/>
|
|
<area shape="rect" href="input_8cpp.html" title=" " alt="" coords="2797,519,2948,559"/>
|
|
<area shape="poly" title=" " alt="" coords="1251,380,1468,400,1637,408,1806,414,2021,428,2405,462,2572,483,2786,516,2797,518,2796,523,2785,521,2571,488,2404,468,2020,433,1806,419,1637,413,1468,406,1251,385"/>
|
|
<area shape="poly" title=" " alt="" coords="1192,387,1416,516,1413,521,1189,392"/>
|
|
<area shape="rect" href="radiobox_8cpp.html" title=" " alt="" coords="2972,519,3122,559"/>
|
|
<area shape="poly" title=" " alt="" coords="1252,380,1404,395,1533,403,1752,408,1971,412,2099,417,2250,428,2607,462,2762,484,2961,516,2972,518,2971,523,2960,521,2761,489,2606,468,2250,433,2099,422,1971,417,1752,414,1532,408,1403,400,1251,385"/>
|
|
<area shape="poly" title=" " alt="" coords="1154,397,1155,433,1148,471,1135,498,1119,520,1114,517,1131,495,1143,470,1149,433,1148,397"/>
|
|
<area shape="poly" title=" " alt="" coords="1114,394,1068,432,1064,428,1111,390"/>
|
|
<area shape="poly" title=" " alt="" coords="3083,456,2720,463,2223,475,1725,494,1518,507,1361,521,1349,523,1348,518,1360,516,1517,501,1725,489,2222,470,2720,457,3082,451"/>
|
|
<area shape="poly" title=" " alt="" coords="3083,461,1892,535,1892,530,3082,456"/>
|
|
<area shape="poly" title=" " alt="" coords="3083,464,2866,486,2612,521,2599,523,2598,518,2611,516,2865,481,3083,458"/>
|
|
<area shape="rect" href="component_8cpp.html" title=" " alt="" coords="3496,519,3646,559"/>
|
|
<area shape="poly" title=" " alt="" coords="3284,471,3496,518,3495,523,3283,476"/>
|
|
<area shape="rect" href="container_8cpp.html" title=" " alt="" coords="3670,519,3821,559"/>
|
|
<area shape="poly" title=" " alt="" coords="3290,462,3463,485,3660,516,3671,518,3670,523,3659,521,3462,490,3289,467"/>
|
|
<area shape="poly" title=" " alt="" coords="3084,470,2786,521,2774,524,2773,518,2785,516,3083,465"/>
|
|
<area shape="rect" href="hoverable_8cpp.html" title=" " alt="" coords="3845,519,3996,559"/>
|
|
<area shape="poly" title=" " alt="" coords="3289,456,3538,478,3686,495,3834,516,3845,518,3844,523,3833,521,3686,501,3537,484,3289,462"/>
|
|
<area shape="poly" title=" " alt="" coords="3105,477,2942,521,2940,516,3103,472"/>
|
|
<area shape="rect" href="maybe_8cpp.html" title=" " alt="" coords="4020,519,4170,559"/>
|
|
<area shape="poly" title=" " alt="" coords="3290,453,3611,473,3810,491,4009,516,4020,518,4019,523,4008,521,3809,497,3611,478,3289,459"/>
|
|
<area shape="poly" title=" " alt="" coords="3083,459,2507,483,1730,521,1523,535,1523,529,1730,516,2507,478,3083,453"/>
|
|
<area shape="rect" href="modal_8cpp.html" title=" " alt="" coords="4194,519,4345,559"/>
|
|
<area shape="poly" title=" " alt="" coords="3289,451,3460,457,3683,468,3932,487,4184,516,4195,518,4194,523,4183,521,3932,493,3682,474,3460,462,3289,457"/>
|
|
<area shape="poly" title=" " alt="" coords="3145,480,3079,521,3076,516,3143,475"/>
|
|
<area shape="rect" href="renderer_8cpp.html" title=" " alt="" coords="3146,519,3297,559"/>
|
|
<area shape="poly" title=" " alt="" coords="3202,482,3216,517,3211,519,3197,485"/>
|
|
<area shape="rect" href="resizable__split_8cpp.html" title=" " alt="" coords="3321,519,3472,559"/>
|
|
<area shape="poly" title=" " alt="" coords="3245,473,3351,516,3349,521,3243,478"/>
|
|
<area shape="poly" title=" " alt="" coords="3082,456,2689,461,2141,473,1590,492,1360,506,1186,521,1174,523,1173,518,1186,516,1360,500,1589,487,2141,468,2689,456,3082,450"/>
|
|
<area shape="poly" title=" " alt="" coords="1325,213,1370,219,1623,238,1882,253,2384,272,2818,279,3122,279,3122,284,2818,284,2384,277,1881,259,1623,244,1370,224,1324,219"/>
|
|
<area shape="poly" title=" " alt="" coords="1160,219,392,345,350,353,349,347,391,340,1159,214"/>
|
|
<area shape="poly" title=" " alt="" coords="3108,287,2709,293,2172,304,1640,321,1418,332,1250,345,1238,347,1237,341,1250,340,1418,327,1639,316,2172,299,2708,288,3108,282"/>
|
|
<area shape="poly" title=" " alt="" coords="3284,298,3312,316,3333,341,3341,363,3333,384,3320,400,3304,414,3268,433,3266,428,3301,409,3316,397,3329,381,3335,363,3329,344,3308,320,3282,303"/>
|
|
<area shape="poly" title=" " alt="" coords="3109,288,1849,313,1215,330,1014,338,935,345,910,373,898,404,900,437,918,469,938,483,967,494,1044,505,1124,510,1186,516,1197,518,1196,523,1185,521,1124,515,1043,510,966,499,936,488,914,472,895,438,892,404,905,371,933,340,1013,333,1215,325,1849,308,3109,283"/>
|
|
<area shape="poly" title=" " alt="" coords="3109,288,1908,313,1308,330,1118,338,1044,345,1039,353,1037,362,1045,381,1058,391,1079,401,1145,423,1235,444,1339,464,1560,500,1742,525,1741,530,1559,505,1338,469,1234,449,1144,428,1077,406,1055,395,1041,384,1032,362,1034,351,1042,340,1118,333,1308,324,1908,308,3109,283"/>
|
|
<area shape="poly" title=" " alt="" coords="3218,307,3171,354,3137,385,3097,402,3062,413,3000,420,2936,421,2899,425,2857,433,2702,478,2575,521,2573,516,2701,473,2856,428,2899,420,2936,416,2999,414,3061,408,3095,397,3134,380,3167,350,3214,303"/>
|
|
<area shape="poly" title=" " alt="" coords="3365,282,3446,287,3528,297,3596,315,3622,326,3640,341,3653,363,3657,387,3653,412,3645,437,3618,484,3591,520,3586,517,3614,481,3640,435,3648,411,3651,387,3648,365,3636,344,3619,331,3594,320,3527,303,3446,292,3365,287"/>
|
|
<area shape="poly" title=" " alt="" coords="3365,285,3451,291,3538,302,3613,318,3643,328,3665,341,3685,359,3702,382,3726,431,3740,479,3746,518,3741,519,3734,481,3721,433,3697,384,3681,363,3662,345,3641,333,3612,323,3537,307,3450,296,3364,290"/>
|
|
<area shape="poly" title=" " alt="" coords="3231,309,3213,348,3198,368,3181,385,3153,402,3128,413,3081,420,3031,422,2972,433,2845,478,2741,521,2739,516,2843,473,2970,428,3031,417,3080,415,3126,407,3151,397,3178,381,3194,364,3208,345,3226,306"/>
|
|
<area shape="poly" title=" " alt="" coords="3365,289,3554,308,3639,322,3700,340,3735,358,3767,380,3827,429,3875,478,3908,517,3904,520,3871,482,3823,433,3764,384,3732,363,3698,345,3638,327,3553,313,3364,294"/>
|
|
<area shape="poly" title=" " alt="" coords="3245,308,3246,346,3242,366,3232,384,3212,404,3192,415,3172,420,3151,421,3106,421,3081,425,3055,433,2969,477,2901,521,2898,516,2967,473,3053,428,3080,420,3105,416,3150,416,3171,414,3190,410,3209,399,3228,381,3237,364,3241,346,3239,308"/>
|
|
<area shape="poly" title=" " alt="" coords="3365,281,3452,287,3550,297,3652,314,3751,340,3848,380,3939,429,4017,478,4071,516,4068,521,4014,482,3937,434,3846,385,3749,345,3650,319,3549,302,3452,292,3365,287"/>
|
|
<area shape="poly" title=" " alt="" coords="3109,288,1886,308,1268,325,1068,335,1010,340,984,345,952,372,930,403,926,419,926,436,931,452,942,469,956,480,974,490,1020,503,1077,510,1139,513,1265,512,1319,512,1361,516,1372,518,1371,523,1360,521,1318,518,1265,517,1139,518,1076,515,1019,508,972,495,953,485,938,472,926,455,921,437,921,419,926,401,948,368,982,340,1009,335,1068,329,1268,320,1886,303,3109,282"/>
|
|
<area shape="poly" title=" " alt="" coords="3364,283,3463,288,3577,298,3697,315,3814,340,3940,380,4060,429,4163,478,4237,516,4234,521,4160,482,4058,434,3938,385,3813,345,3696,320,3576,304,3463,293,3364,288"/>
|
|
<area shape="poly" title=" " alt="" coords="3260,303,3275,321,3286,342,3290,364,3283,384,3260,405,3236,414,3212,416,3186,413,3161,410,3136,410,3111,417,3086,433,3071,452,3060,475,3051,519,3046,518,3055,473,3066,449,3083,429,3109,412,3135,405,3161,405,3187,408,3212,410,3235,409,3257,400,3278,381,3285,363,3281,344,3270,324,3256,306"/>
|
|
<area shape="poly" title=" " alt="" coords="3365,285,3434,291,3501,302,3557,318,3578,328,3593,341,3600,352,3602,362,3593,384,3575,405,3546,425,3467,463,3376,496,3293,521,3291,516,3375,491,3465,458,3543,420,3571,401,3589,381,3596,362,3595,353,3589,344,3575,333,3555,323,3500,307,3433,297,3364,290"/>
|
|
<area shape="poly" title=" " alt="" coords="3364,284,3439,289,3513,300,3575,316,3598,328,3614,341,3624,355,3629,369,3627,397,3611,423,3586,447,3553,470,3518,490,3449,521,3447,516,3515,485,3551,465,3582,443,3607,420,3622,395,3624,370,3619,357,3611,344,3595,332,3573,321,3512,305,3439,295,3364,289"/>
|
|
<area shape="poly" title=" " alt="" coords="3109,288,1828,313,1182,329,978,338,898,345,876,374,868,404,873,436,892,469,918,495,951,513,987,525,1023,532,1022,537,985,530,949,518,915,499,888,472,868,438,862,404,871,372,895,340,977,332,1182,324,1828,307,3109,283"/>
|
|
<area shape="poly" title=" " alt="" coords="3109,288,1883,313,1269,330,1075,338,999,345,994,354,991,364,996,386,1010,409,1026,429,1022,432,1005,412,991,388,986,364,989,352,996,340,1074,332,1269,324,1883,307,3109,283"/>
|
|
<area shape="rect" href="component__base_8hpp.html" title=" " alt="" coords="3400,343,3579,383"/>
|
|
<area shape="poly" title=" " alt="" coords="3287,296,3430,340,3428,345,3286,301"/>
|
|
<area shape="rect" href="dom_2deprecated_8hpp.html" title=" " alt="" coords="1262,350,1502,375"/>
|
|
<area shape="poly" title=" " alt="" coords="3109,286,2820,288,2422,296,1965,314,1731,328,1502,345,1441,353,1440,347,1502,340,1731,322,1965,309,2422,291,2820,283,3109,280"/>
|
|
<area shape="rect" href="table_8hpp.html" title=" " alt="" coords="1526,350,1726,375"/>
|
|
<area shape="poly" title=" " alt="" coords="3109,286,2856,288,2516,296,2129,314,1932,328,1738,345,1686,353,1685,347,1738,340,1931,323,2129,309,2516,291,2856,283,3109,280"/>
|
|
<area shape="rect" href="automerge_8cpp.html" title=" " alt="" coords="4130,350,4340,375"/>
|
|
<area shape="poly" title=" " alt="" coords="3364,286,3706,304,3913,320,4119,340,4171,347,4170,353,4119,345,3912,325,3706,309,3364,291"/>
|
|
<area shape="rect" href="blink_8cpp.html" title=" " alt="" coords="4364,350,4535,375"/>
|
|
<area shape="poly" title=" " alt="" coords="3364,282,3556,286,3803,296,4077,313,4353,340,4398,347,4397,353,4352,345,4077,318,3802,301,3556,291,3364,287"/>
|
|
<area shape="rect" href="bold_8cpp.html" title=" " alt="" coords="4560,350,4726,375"/>
|
|
<area shape="poly" title=" " alt="" coords="3364,280,3588,283,3882,291,4213,309,4382,323,4547,340,4592,347,4592,353,4547,345,4382,328,4213,314,3882,296,3587,288,3364,286"/>
|
|
<area shape="poly" title=" " alt="" coords="3109,286,2592,289,1866,297,1132,315,826,328,594,345,546,353,545,347,594,340,825,323,1132,309,1866,292,2592,283,3109,281"/>
|
|
<area shape="poly" title=" " alt="" coords="3109,286,2557,288,1772,296,975,314,643,327,391,345,342,353,341,347,391,340,643,322,975,308,1772,290,2557,283,3109,281"/>
|
|
<area shape="rect" href="clear__under_8cpp.html" title=" " alt="" coords="4750,343,4893,383"/>
|
|
<area shape="poly" title=" " alt="" coords="3364,283,4070,300,4457,317,4617,328,4739,340,4751,342,4750,347,4739,345,4617,333,4457,322,4070,306,3364,288"/>
|
|
<area shape="poly" title=" " alt="" coords="3109,288,1863,311,1188,328,942,336,795,345,746,353,745,347,795,340,941,331,1188,322,1862,305,3109,283"/>
|
|
<area shape="rect" href="composite__decorator_8cpp.html" title=" " alt="" coords="1750,343,1928,383"/>
|
|
<area shape="poly" title=" " alt="" coords="3109,286,2888,289,2597,298,2270,316,1941,345,1929,347,1928,342,1940,340,2270,310,2597,293,2887,284,3108,281"/>
|
|
<area shape="rect" href="dbox_8cpp.html" title=" " alt="" coords="1952,350,2123,375"/>
|
|
<area shape="poly" title=" " alt="" coords="3108,287,2919,292,2676,301,2406,319,2135,345,2091,353,2090,347,2135,340,2406,313,2676,296,2919,286,3108,282"/>
|
|
<area shape="rect" href="dim_8cpp.html" title=" " alt="" coords="4918,350,5080,375"/>
|
|
<area shape="poly" title=" " alt="" coords="3364,283,4150,300,4587,317,4768,328,4906,340,4950,347,4950,353,4905,345,4768,333,4587,322,4150,306,3364,288"/>
|
|
<area shape="rect" href="flex_8cpp.html" title=" " alt="" coords="2147,350,2310,375"/>
|
|
<area shape="poly" title=" " alt="" coords="3109,289,2754,305,2538,322,2322,345,2280,353,2279,347,2321,340,2537,316,2753,300,3109,284"/>
|
|
<area shape="rect" href="flexbox_8cpp.html" title=" " alt="" coords="2334,350,2520,375"/>
|
|
<area shape="poly" title=" " alt="" coords="3109,293,2843,313,2533,345,2486,353,2486,347,2532,340,2843,307,3109,288"/>
|
|
<area shape="rect" href="focus_8cpp.html" title=" " alt="" coords="2544,350,2718,375"/>
|
|
<area shape="poly" title=" " alt="" coords="3109,298,2929,318,2730,345,2688,353,2687,347,2729,340,2929,313,3109,293"/>
|
|
<area shape="rect" href="frame_8cpp.html" title=" " alt="" coords="5105,350,5282,375"/>
|
|
<area shape="poly" title=" " alt="" coords="3364,282,4239,299,4732,316,4937,327,5093,340,5141,347,5140,353,5092,345,4936,333,4732,322,4238,305,3364,288"/>
|
|
<area shape="rect" href="gauge_8cpp.html" title=" " alt="" coords="5307,350,5486,375"/>
|
|
<area shape="poly" title=" " alt="" coords="3364,282,3777,287,4334,297,4889,315,5120,326,5295,340,5343,347,5343,353,5295,345,5120,332,4889,320,4334,303,3777,292,3364,287"/>
|
|
<area shape="rect" href="graph_8cpp.html" title=" " alt="" coords="5510,350,5685,375"/>
|
|
<area shape="poly" title=" " alt="" coords="3364,281,3813,285,4429,295,5046,313,5303,325,5498,340,5546,347,5545,353,5498,345,5303,330,5046,318,4429,300,3813,291,3364,287"/>
|
|
<area shape="rect" href="gridbox_8cpp.html" title=" " alt="" coords="2742,350,2928,375"/>
|
|
<area shape="poly" title=" " alt="" coords="3165,300,2894,353,2893,347,3164,295"/>
|
|
<area shape="rect" href="hbox_8cpp.html" title=" " alt="" coords="2952,350,3123,375"/>
|
|
<area shape="poly" title=" " alt="" coords="3196,302,3068,352,3066,347,3194,297"/>
|
|
<area shape="rect" href="inverted_8cpp.html" title=" " alt="" coords="5710,350,5902,375"/>
|
|
<area shape="poly" title=" " alt="" coords="3365,281,3849,285,4523,295,5201,312,5484,325,5698,340,5750,347,5749,353,5698,345,5483,330,5201,318,4523,300,3849,290,3365,287"/>
|
|
<area shape="poly" title=" " alt="" coords="3364,287,3630,306,3785,321,3940,340,3959,343,3958,348,3939,345,3785,326,3629,311,3364,292"/>
|
|
<area shape="poly" title=" " alt="" coords="3364,281,3887,284,4623,293,5368,311,5679,324,5914,340,5968,347,5967,353,5914,345,5678,329,5368,316,4623,299,3887,290,3364,286"/>
|
|
<area shape="poly" title=" " alt="" coords="3410,389,3253,433,3252,428,3409,384"/>
|
|
<area shape="poly" title=" " alt="" coords="3387,372,2229,433,1793,466,1604,486,1361,521,1349,523,1348,518,1360,516,1603,481,1793,461,2228,428,3387,367"/>
|
|
<area shape="poly" title=" " alt="" coords="3387,373,3060,397,2894,414,2774,433,2746,443,2724,453,2703,464,2673,473,2604,485,2514,497,2295,515,1893,537,1892,532,2295,510,2514,491,2604,480,2672,468,2701,459,2722,448,2744,438,2773,428,2893,409,3059,391,3387,367"/>
|
|
<area shape="poly" title=" " alt="" coords="3387,374,3171,395,3044,412,2918,433,2846,451,2775,473,2595,521,2594,516,2773,468,2845,446,2917,428,3043,407,3170,390,3387,368"/>
|
|
<area shape="poly" title=" " alt="" coords="3507,394,3565,517,3560,520,3502,396"/>
|
|
<area shape="poly" title=" " alt="" coords="3530,388,3719,516,3716,521,3527,393"/>
|
|
<area shape="poly" title=" " alt="" coords="3387,380,3244,403,3085,433,2907,478,2759,521,2758,516,2905,473,3084,428,3243,398,3387,375"/>
|
|
<area shape="poly" title=" " alt="" coords="3550,385,3875,516,3873,521,3548,390"/>
|
|
<area shape="poly" title=" " alt="" coords="3421,390,3376,409,3333,433,3320,443,3312,453,3303,464,3288,473,3242,492,3201,504,3164,509,3128,511,3054,512,3011,514,2961,521,2949,524,2948,518,2960,516,3010,509,3054,506,3128,506,3163,504,3200,498,3240,487,3286,468,3299,460,3308,450,3316,439,3330,428,3374,404,3419,385"/>
|
|
<area shape="poly" title=" " alt="" coords="3569,384,3724,428,4031,516,4029,521,3722,433,3568,389"/>
|
|
<area shape="poly" title=" " alt="" coords="3387,375,2673,433,1523,533,1523,528,2672,428,3386,370"/>
|
|
<area shape="poly" title=" " alt="" coords="3593,382,3808,428,4195,517,4194,522,3807,433,3592,388"/>
|
|
<area shape="poly" title=" " alt="" coords="3447,392,3383,433,3359,454,3332,473,3123,523,3122,518,3330,468,3356,450,3380,429,3444,388"/>
|
|
<area shape="poly" title=" " alt="" coords="3468,395,3430,435,3383,473,3333,501,3283,521,3281,516,3331,496,3380,468,3426,431,3464,392"/>
|
|
<area shape="poly" title=" " alt="" coords="3475,396,3435,472,3409,520,3404,517,3430,469,3471,394"/>
|
|
<area shape="poly" title=" " alt="" coords="3387,373,3135,385,2919,393,2735,396,2424,396,2273,398,2113,403,1930,414,1714,433,1563,452,1414,476,1174,523,1173,518,1413,471,1562,447,1714,428,1929,409,2112,398,2273,392,2424,391,2735,390,2919,387,3135,380,3387,367"/>
|
|
<area shape="poly" title=" " alt="" coords="1477,345,1526,340,1755,322,1990,309,2446,291,2841,283,3122,280,3122,286,2841,288,2446,296,1990,314,1756,328,1526,345,1478,351"/>
|
|
<area shape="poly" title=" " alt="" coords="3239,235,3239,269,3234,269,3234,235"/>
|
|
<area shape="poly" title=" " alt="" coords="3338,220,3940,340,3959,344,3958,349,3939,345,3337,225"/>
|
|
<area shape="poly" title=" " alt="" coords="771,143,692,191,690,186,768,138"/>
|
|
<area shape="poly" title=" " alt="" coords="833,144,857,180,853,183,829,146"/>
|
|
<area shape="poly" title=" " alt="" coords="4361,118,2951,139,2070,158,1700,170,1421,184,1338,191,1337,186,1420,179,1699,165,2069,153,2951,133,4361,113"/>
|
|
<area shape="poly" title=" " alt="" coords="4362,129,3320,272,3319,267,4361,124"/>
|
|
<area shape="poly" title=" " alt="" coords="4426,146,4247,352,4243,348,4422,142"/>
|
|
<area shape="poly" title=" " alt="" coords="4452,147,4452,350,4447,350,4447,147"/>
|
|
<area shape="poly" title=" " alt="" coords="4475,143,4636,348,4632,352,4471,146"/>
|
|
<area shape="poly" title=" " alt="" coords="4361,119,3587,137,3038,157,2475,184,2177,204,1946,223,1417,272,1005,302,825,317,594,345,550,353,549,347,593,340,824,312,1004,297,1416,267,1945,218,2177,198,2475,179,3038,151,3587,132,4361,113"/>
|
|
<area shape="poly" title=" " alt="" coords="4361,118,3693,121,2681,131,2163,139,1700,151,1339,165,1211,174,1126,184,1091,192,1065,202,1038,213,1002,224,915,241,847,250,778,258,690,272,490,315,333,353,332,347,489,309,689,267,777,253,846,245,914,236,1001,219,1036,208,1063,197,1089,187,1125,179,1210,169,1338,160,1700,145,2163,134,2681,125,3693,116,4361,112"/>
|
|
<area shape="poly" title=" " alt="" coords="4491,139,4795,340,4792,345,4488,143"/>
|
|
<area shape="poly" title=" " alt="" coords="4362,121,3843,146,3137,184,1999,254,1502,291,863,345,776,354,776,349,863,340,1502,285,1999,248,3136,179,3842,140,4361,116"/>
|
|
<area shape="poly" title=" " alt="" coords="4505,137,4975,348,4973,352,4503,141"/>
|
|
<area shape="poly" title=" " alt="" coords="4523,135,4657,179,5161,347,5159,352,4656,184,4521,140"/>
|
|
<area shape="poly" title=" " alt="" coords="4539,132,4733,179,5095,275,5357,347,5355,352,5094,280,4732,184,4537,137"/>
|
|
<area shape="poly" title=" " alt="" coords="4538,127,4822,179,5248,273,5553,347,5552,353,5247,279,4821,184,4537,132"/>
|
|
<area shape="poly" title=" " alt="" coords="4539,123,4720,146,4932,179,5175,224,5413,272,5757,347,5756,353,5412,277,5174,229,4931,184,4720,152,4538,128"/>
|
|
<area shape="poly" title=" " alt="" coords="4408,143,4065,345,4063,340,4405,138"/>
|
|
<area shape="poly" title=" " alt="" coords="4539,120,4772,143,5053,179,5325,223,5590,271,5972,347,5971,353,5589,276,5324,228,5052,184,4771,148,4538,125"/>
|
|
</map>
|
|
</div>
|
|
</div>
|
|
<p><a href="color_8hpp_source.html">Go to the source code of this file.</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
|
|
Data Structures</h2></td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classftxui_1_1Color.html">Color</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A class representing terminal colors. <a href="classftxui_1_1Color.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
|
|
Namespaces</h2></td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html">ftxui</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui_1_1literals.html">ftxui::literals</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:a66d988ecc082819b1671ee2bbadebccd" id="r_a66d988ecc082819b1671ee2bbadebccd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classftxui_1_1Color.html">Color</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui_1_1literals.html#a66d988ecc082819b1671ee2bbadebccd">operator""_rgb</a> (unsigned long long int combined)</td></tr>
|
|
<tr class="memdesc:a66d988ecc082819b1671ee2bbadebccd"><td class="mdescLeft"> </td><td class="mdescRight">Creates a color from a combined hex RGB representation, e.g. 0x808000_rgb. <br /></td></tr>
|
|
<tr class="separator:a66d988ecc082819b1671ee2bbadebccd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
</div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- HTML footer for doxygen 1.8.14-->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
</div>
|
|
<script>
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
const projectNumber = document.getElementById('projectname');
|
|
|
|
if (!projectNumber) {
|
|
console.warn('Doxygen element with ID "projectnumber" not found. Cannot add version switcher.');
|
|
return;
|
|
}
|
|
|
|
const langs = ["en", "es", "fr", "ja", "zh-CH", "zh-TW"];
|
|
const lang_paths = {"en": "../../index.html", "es": "../../es/index.html", "fr": "../../fr/index.html", "ja": "../../ja/index.html", "zh-CH": "../../zh-CH/index.html", "zh-TW": "../../zh-TW/index.html"};
|
|
const lang_display = {"en": "English", "es": "Espa\u00f1ol", "fr": "Fran\u00e7ais", "ja": "\u65e5\u672c\u8a9e", "zh-CH": "\u4e2d\u6587 (\u7b80\u4f53)", "zh-TW": "\u4e2d\u6587 (\u7e41\u9ad4)"};
|
|
const versions = ["main", "v6.1.9", "v6.1.8", "v6.1.7", "v6.1.6", "v6.1.5", "v6.1.4", "v6.1.3", "v6.1.2", "v6.1.1", "v6.1.0", "v6.0.2", "v6.0.1", "v6.0.0", "v5.0.0", "v4.1.1", "v4.1.0", "v4.0.0", "v3.0.0", "v2.0.0", "v0.9", "v0.11", "v0.10"];
|
|
const version_paths = {"main": "../../index.html", "v6.1.9": "../v6.1.9/index.html", "v6.1.8": "../v6.1.8/index.html", "v6.1.7": "../v6.1.7/index.html", "v6.1.6": "../v6.1.6/index.html", "v6.1.5": "../v6.1.5/index.html", "v6.1.4": "../v6.1.4/index.html", "v6.1.3": "../v6.1.3/index.html", "v6.1.2": "../v6.1.2/index.html", "v6.1.1": "../v6.1.1/index.html", "v6.1.0": "../v6.1.0/index.html", "v6.0.2": "../v6.0.2/index.html", "v6.0.1": "../v6.0.1/index.html", "v6.0.0": "../v6.0.0/index.html", "v5.0.0": "../v5.0.0/index.html", "v4.1.1": "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 = "v4.1.1";
|
|
|
|
// 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>
|