mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-11-15 11:38:56 +08:00
277 lines
19 KiB
HTML
277 lines
19 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/component/captured_mouse.hpp File Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="cookie.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
<link href="doxygen_extra.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">FTXUI
|
|
 <span id="projectnumber">0.10.0</span>
|
|
</div>
|
|
<div id="projectbrief">C++ functional terminal UI.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.12.0 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() { codefold.init(0); });
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search',true);
|
|
$(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function(){initNavTree('captured__mouse_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="#typedef-members">Typedefs</a> </div>
|
|
<div class="headertitle"><div class="title">captured_mouse.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="captured__mouse_8hpp__dep__incl.png" border="0" usemap="#ainclude_2ftxui_2component_2captured__mouse_8hppdep" alt=""/></div>
|
|
<map name="ainclude_2ftxui_2component_2captured__mouse_8hppdep" id="ainclude_2ftxui_2component_2captured__mouse_8hppdep">
|
|
<area shape="rect" title=" " alt="" coords="877,5,1056,45"/>
|
|
<area shape="rect" href="component__base_8hpp.html" title=" " alt="" coords="1342,93,1521,133"/>
|
|
<area shape="poly" title=" " alt="" coords="1070,43,1343,93,1342,98,1069,48"/>
|
|
<area shape="rect" href="input_8cpp.html" title=" " alt="" coords="1475,357,1626,397"/>
|
|
<area shape="poly" title=" " alt="" coords="863,29,736,31,582,39,418,53,260,77,190,93,128,112,77,135,39,161,15,191,10,207,8,225,12,243,20,263,53,307,73,316,115,324,253,339,445,350,670,358,1134,369,1475,373,1475,378,1134,374,670,364,445,355,253,344,114,330,72,321,50,311,16,266,7,245,3,225,4,206,10,189,35,157,74,130,126,107,189,88,259,72,417,48,582,33,736,26,863,24"/>
|
|
<area shape="rect" href="button_8cpp.html" title=" " alt="" coords="262,269,412,309"/>
|
|
<area shape="poly" title=" " alt="" coords="864,49,784,69,702,96,603,139,508,188,367,272,365,267,506,184,601,134,700,91,782,64,863,44"/>
|
|
<area shape="rect" href="checkbox_8cpp.html" title=" " alt="" coords="2860,269,3011,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1070,27,1459,45,1706,64,1955,91,2208,129,2404,168,2599,212,2850,267,2861,269,2860,274,2848,272,2598,217,2403,173,2207,134,1954,96,1706,69,1459,50,1070,32"/>
|
|
<area shape="rect" href="component_8cpp.html" title=" " alt="" coords="488,269,639,309"/>
|
|
<area shape="poly" title=" " alt="" coords="886,52,827,74,763,102,698,139,639,183,601,228,575,270,571,268,597,225,635,179,695,134,760,98,825,69,885,47"/>
|
|
<area shape="rect" href="menu_8cpp.html" title=" " alt="" coords="663,269,814,309"/>
|
|
<area shape="poly" title=" " alt="" coords="954,59,909,138,877,182,842,223,809,250,776,272,773,267,806,246,838,219,873,179,904,135,949,56"/>
|
|
<area shape="rect" href="radiobox_8cpp.html" title=" " alt="" coords="838,269,988,309"/>
|
|
<area shape="poly" title=" " alt="" coords="962,59,920,270,914,268,957,58"/>
|
|
<area shape="rect" href="renderer_8cpp.html" title=" " alt="" coords="2686,269,2836,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1070,28,1404,48,1611,66,1819,91,2061,130,2249,169,2435,213,2675,267,2686,269,2685,274,2674,272,2434,218,2247,174,2060,135,1818,96,1611,71,1404,53,1070,33"/>
|
|
<area shape="rect" href="resizable__split_8cpp.html" title=" " alt="" coords="2336,269,2487,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1070,33,1252,53,1494,83,1765,125,2036,179,2210,224,2354,267,2352,272,2209,229,2035,184,1764,130,1493,88,1252,58,1069,39"/>
|
|
<area shape="rect" href="slider_8cpp.html" title=" " alt="" coords="1012,269,1163,309"/>
|
|
<area shape="poly" title=" " alt="" coords="983,57,1081,268,1076,270,978,59"/>
|
|
<area shape="rect" href="toggle_8cpp.html" title=" " alt="" coords="2511,269,2662,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1070,30,1351,52,1521,69,1691,91,1815,111,1910,130,2128,179,2511,267,2510,272,2127,184,1909,135,1814,116,1690,96,1520,74,1350,57,1069,35"/>
|
|
<area shape="rect" href="screen__interactive_8cpp.html" title=" " alt="" coords="64,269,237,309"/>
|
|
<area shape="poly" title=" " alt="" coords="864,42,741,64,608,96,485,139,366,188,188,272,186,267,364,183,483,134,607,91,740,58,863,37"/>
|
|
<area shape="rect" href="screen__interactive_8hpp.html" title=" " alt="" coords="649,181,828,221"/>
|
|
<area shape="poly" title=" " alt="" coords="915,54,848,95,796,141,757,183,753,179,793,137,845,91,913,50"/>
|
|
<area shape="rect" href="component_8hpp.html" title=" " alt="" coords="1557,181,1736,221"/>
|
|
<area shape="poly" title=" " alt="" coords="1492,136,1600,179,1598,184,1490,141"/>
|
|
<area shape="poly" title=" " alt="" coords="1535,114,1896,125,2129,136,2370,151,2599,170,2798,196,2880,211,2947,228,2996,247,3026,268,3035,289,3033,301,3025,311,3004,321,2962,329,2826,343,2638,355,2417,363,1962,374,1626,378,1626,373,1962,369,2417,358,2638,349,2826,338,2961,324,3002,316,3022,307,3028,299,3030,290,3022,271,2993,251,2945,233,2879,216,2797,201,2599,176,2369,156,2128,141,1896,130,1535,119"/>
|
|
<area shape="poly" title=" " alt="" coords="1328,118,1190,121,1017,132,827,152,731,166,638,184,565,203,495,226,380,272,378,267,493,221,564,198,636,179,730,161,826,146,1017,127,1190,116,1328,112"/>
|
|
<area shape="rect" href="catch__event_8cpp.html" title=" " alt="" coords="1987,269,2138,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1535,131,1639,152,1748,179,1894,224,2014,267,2012,272,1892,229,1747,184,1637,157,1534,136"/>
|
|
<area shape="poly" title=" " alt="" coords="1535,117,1880,138,2096,156,2312,179,2582,217,2850,267,2861,269,2860,274,2849,272,2581,222,2311,184,2095,161,1880,144,1535,122"/>
|
|
<area shape="poly" title=" " alt="" coords="1329,123,1144,143,1039,160,935,184,888,203,841,224,752,248,640,274,639,269,751,242,839,219,886,198,934,179,1038,155,1143,137,1329,118"/>
|
|
<area shape="rect" href="container_8cpp.html" title=" " alt="" coords="2162,269,2312,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1535,127,1674,149,1827,179,2016,224,2173,267,2171,272,2014,229,1826,184,1673,155,1534,132"/>
|
|
<area shape="rect" href="dropdown_8cpp.html" title=" " alt="" coords="1187,269,1338,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1349,141,1317,159,1290,183,1277,204,1270,227,1265,270,1259,269,1265,226,1273,201,1286,180,1314,154,1346,136"/>
|
|
<area shape="rect" href="maybe_8cpp.html" title=" " alt="" coords="1362,269,1512,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1453,145,1466,181,1469,201,1466,222,1449,270,1444,268,1461,221,1464,201,1461,182,1448,147"/>
|
|
<area shape="poly" title=" " alt="" coords="1329,133,1208,155,1078,184,921,229,792,272,790,267,920,224,1076,179,1207,150,1328,128"/>
|
|
<area shape="poly" title=" " alt="" coords="1343,139,1190,184,1063,230,958,272,956,267,1061,225,1188,179,1342,134"/>
|
|
<area shape="poly" title=" " alt="" coords="1535,119,1820,141,1993,158,2167,179,2422,218,2675,267,2686,269,2685,274,2674,272,2421,223,2166,184,1993,164,1819,147,1534,124"/>
|
|
<area shape="poly" title=" " alt="" coords="1535,124,1717,147,1924,179,2150,224,2337,267,2335,272,2149,229,1923,184,1716,152,1535,129"/>
|
|
<area shape="poly" title=" " alt="" coords="1366,141,1265,184,1183,229,1117,271,1114,267,1181,225,1263,179,1364,136"/>
|
|
<area shape="poly" title=" " alt="" coords="1535,121,1765,144,2036,179,2269,219,2500,267,2511,269,2510,274,2499,272,2268,224,2035,184,1765,149,1535,126"/>
|
|
<area shape="poly" title=" " alt="" coords="1328,117,1168,120,960,130,730,150,613,165,499,184,415,203,333,226,200,272,198,267,332,221,414,198,498,179,612,160,729,145,960,125,1167,115,1328,112"/>
|
|
<area shape="rect" href="show_8cpp.html" title=" " alt="" coords="1300,181,1451,221"/>
|
|
<area shape="poly" title=" " alt="" coords="1414,146,1390,183,1386,180,1410,144"/>
|
|
<area shape="rect" href="component_2deprecated_8hpp.html" title=" " alt="" coords="1588,269,1766,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1652,234,1665,268,1660,270,1647,235"/>
|
|
<area shape="poly" title=" " alt="" coords="1611,232,1593,250,1578,271,1561,316,1554,357,1549,357,1556,315,1573,268,1589,246,1608,228"/>
|
|
<area shape="poly" title=" " alt="" coords="1544,217,1464,224,1186,240,970,245,753,252,476,272,413,279,412,274,475,267,753,247,969,240,1186,234,1464,219,1543,212"/>
|
|
<area shape="poly" title=" " alt="" coords="1750,220,1976,267,1987,269,1986,274,1975,272,1748,226"/>
|
|
<area shape="poly" title=" " alt="" coords="1750,200,1953,204,2226,214,2536,234,2695,248,2849,267,2861,268,2860,274,2849,272,2694,254,2536,239,2226,219,1953,209,1750,206"/>
|
|
<area shape="poly" title=" " alt="" coords="1544,217,1464,224,1235,237,1056,241,878,248,774,257,651,272,640,274,639,268,650,267,773,252,878,243,1056,235,1235,232,1463,219,1543,211"/>
|
|
<area shape="rect" href="component__fuzzer_8cpp.html" title=" " alt="" coords="1791,269,1963,309"/>
|
|
<area shape="poly" title=" " alt="" coords="1711,224,1827,267,1826,272,1709,229"/>
|
|
<area shape="poly" title=" " alt="" coords="1750,211,1937,234,2151,267,2162,269,2161,274,2150,272,1936,240,1749,216"/>
|
|
<area shape="poly" title=" " alt="" coords="1549,227,1339,274,1337,269,1548,222"/>
|
|
<area shape="poly" title=" " alt="" coords="1589,229,1484,272,1482,267,1587,224"/>
|
|
<area shape="poly" title=" " alt="" coords="1544,216,1464,224,1284,236,1144,242,1004,251,825,272,814,274,813,268,825,267,1004,246,1144,237,1284,231,1463,219,1543,211"/>
|
|
<area shape="poly" title=" " alt="" coords="1543,216,1000,272,989,274,988,269,999,267,1543,211"/>
|
|
<area shape="poly" title=" " alt="" coords="1749,202,1925,207,2156,218,2414,237,2675,267,2686,268,2685,274,2674,272,2414,243,2155,223,1925,212,1749,207"/>
|
|
<area shape="poly" title=" " alt="" coords="1749,206,2011,228,2168,245,2325,267,2337,269,2336,274,2325,272,2168,250,2011,233,1749,212"/>
|
|
<area shape="poly" title=" " alt="" coords="1543,218,1371,241,1175,272,1164,274,1163,269,1174,267,1370,236,1543,212"/>
|
|
<area shape="poly" title=" " alt="" coords="1750,204,2084,223,2292,241,2500,267,2511,268,2510,274,2499,272,2291,246,2084,228,1749,209"/>
|
|
<area shape="poly" title=" " alt="" coords="1672,257,1658,223,1663,221,1677,255"/>
|
|
<area shape="poly" title=" " alt="" coords="1639,320,1580,359,1577,355,1636,315"/>
|
|
<area shape="poly" title=" " alt="" coords="636,225,534,249,496,261,478,271,470,290,471,299,477,307,491,313,519,320,613,331,899,350,1223,364,1475,371,1475,377,1223,369,898,356,612,337,518,325,489,319,474,311,467,301,464,289,474,268,494,256,533,244,635,220"/>
|
|
<area shape="poly" title=" " alt="" coords="638,227,413,275,412,269,637,222"/>
|
|
<area shape="poly" title=" " alt="" coords="689,230,603,272,601,267,687,225"/>
|
|
<area shape="poly" title=" " alt="" coords="741,235,741,269,736,269,736,235"/>
|
|
<area shape="poly" title=" " alt="" coords="790,225,876,267,874,272,788,230"/>
|
|
<area shape="poly" title=" " alt="" coords="829,222,1012,267,1011,272,827,227"/>
|
|
<area shape="poly" title=" " alt="" coords="636,218,455,241,249,272,238,274,237,269,249,267,454,236,635,213"/>
|
|
</map>
|
|
</div>
|
|
</div>
|
|
<p><a href="captured__mouse_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_1CapturedMouseInterface.html">CapturedMouseInterface</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="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>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
|
|
Typedefs</h2></td></tr>
|
|
<tr class="memitem:a24b663cb6b0b262055c94d3a03bdd274" id="r_a24b663cb6b0b262055c94d3a03bdd274"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#a24b663cb6b0b262055c94d3a03bdd274">CapturedMouse</a> = std::unique_ptr<<a class="el" href="classftxui_1_1CapturedMouseInterface.html">CapturedMouseInterface</a>></td></tr>
|
|
<tr class="separator:a24b663cb6b0b262055c94d3a03bdd274"><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('projectnumber');
|
|
if (!projectNumber) {
|
|
console.warn('Doxygen element with ID "projectnumber" not found. Cannot add version switcher.');
|
|
return;
|
|
}
|
|
|
|
const versions = ["main", "v6.1.9", "v6.1.8", "v6.1.7", "v6.1.6", "v6.1.5", "v6.1.4", "v6.1.3", "v6.1.2", "v6.1.1", "v6.1.0", "v6.0.2", "v6.0.1", "v6.0.0", "v5.0.0", "v4.1.1", "v4.1.0", "v4.0.0", "v3.0.0", "v2.0.0", "v0.9", "v0.11", "v0.10"];
|
|
const version_paths = {"main": "../../index.html", "v6.1.9": "../v6.1.9/index.html", "v6.1.8": "../v6.1.8/index.html", "v6.1.7": "../v6.1.7/index.html", "v6.1.6": "../v6.1.6/index.html", "v6.1.5": "../v6.1.5/index.html", "v6.1.4": "../v6.1.4/index.html", "v6.1.3": "../v6.1.3/index.html", "v6.1.2": "../v6.1.2/index.html", "v6.1.1": "../v6.1.1/index.html", "v6.1.0": "../v6.1.0/index.html", "v6.0.2": "../v6.0.2/index.html", "v6.0.1": "../v6.0.1/index.html", "v6.0.0": "../v6.0.0/index.html", "v5.0.0": "../v5.0.0/index.html", "v4.1.1": "../v4.1.1/index.html", "v4.1.0": "../v4.1.0/index.html", "v4.0.0": "../v4.0.0/index.html", "v3.0.0": "../v3.0.0/index.html", "v2.0.0": "../v2.0.0/index.html", "v0.9": "../v0.9/index.html", "v0.11": "../v0.11/index.html", "v0.10": "index.html"};
|
|
const currentVersion = "v0.10";
|
|
|
|
// Sort versions: 'main' first, then others numerically descending.
|
|
versions.sort((a, b) => {
|
|
if (a === 'main') return -1;
|
|
if (b === 'main') return 1;
|
|
return b.localeCompare(a, undefined, { numeric: true, sensitivity: 'base' });
|
|
});
|
|
|
|
const select = document.createElement('select');
|
|
select.onchange = function() {
|
|
const selectedVersion = this.value;
|
|
// Navigate directly to the pre-calculated relative path.
|
|
if (selectedVersion !== currentVersion) {
|
|
window.location.href = version_paths[selectedVersion];
|
|
}
|
|
};
|
|
|
|
versions.forEach(v => {
|
|
const option = document.createElement('option');
|
|
option.value = v;
|
|
option.textContent = v;
|
|
if (v === currentVersion) {
|
|
option.selected = true;
|
|
}
|
|
select.appendChild(option);
|
|
});
|
|
|
|
// Replace the Doxygen project number element with our dropdown.
|
|
projectNumber.replaceWith(select);
|
|
|
|
// 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',
|
|
marginLeft: '10px',
|
|
cursor: 'pointer'
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|