123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <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.8.17"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>Bugz Door Project: door::ANSIColor Class 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="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" />
- </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">Bugz Door Project
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.17 -->
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- /* @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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
- });
- /* @license-end */</script>
- <div id="main-nav"></div>
- <!-- 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">
- <iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
- <div id="nav-path" class="navpath">
- <ul>
- <li class="navelem"><a class="el" href="namespacedoor.html">door</a></li><li class="navelem"><a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a></li> </ul>
- </div>
- </div><!-- top -->
- <div class="header">
- <div class="summary">
- <a href="#pub-methods">Public Member Functions</a> |
- <a href="#pri-attribs">Private Attributes</a> |
- <a href="#friends">Friends</a> |
- <a href="classdoor_1_1ANSIColor-members.html">List of all members</a> </div>
- <div class="headertitle">
- <div class="title">door::ANSIColor Class Reference</div> </div>
- </div><!--header-->
- <div class="contents">
- <p>Foreground, Background and Attributes.
- <a href="classdoor_1_1ANSIColor.html#details">More...</a></p>
- <p><code>#include <<a class="el" href="door_8h_source.html">door.h</a>></code></p>
- <table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
- Public Member Functions</h2></td></tr>
- <tr class="memitem:abfa527e4328dc5168256da2ba21f5a50"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor</a> ()</td></tr>
- <tr class="separator:abfa527e4328dc5168256da2ba21f5a50"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a896a1733336c8d428a75273c42d3c522"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#a896a1733336c8d428a75273c42d3c522">ANSIColor</a> (<a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> a)</td></tr>
- <tr class="separator:a896a1733336c8d428a75273c42d3c522"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a40613126b2df46cf18eaec22d09d9a5e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#a40613126b2df46cf18eaec22d09d9a5e">ANSIColor</a> (<a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> f)</td></tr>
- <tr class="separator:a40613126b2df46cf18eaec22d09d9a5e"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:abf47e5ea1fe91c4a3bb0510426409b7a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#abf47e5ea1fe91c4a3bb0510426409b7a">ANSIColor</a> (<a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> f, <a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> a)</td></tr>
- <tr class="separator:abf47e5ea1fe91c4a3bb0510426409b7a"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab9d4dfb2b6c6185942d3b415e793e167"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#ab9d4dfb2b6c6185942d3b415e793e167">ANSIColor</a> (<a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> f, <a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> a1, <a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> a2)</td></tr>
- <tr class="separator:ab9d4dfb2b6c6185942d3b415e793e167"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a59952a60cc039b0c101db8fb0a9f0ed4"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#a59952a60cc039b0c101db8fb0a9f0ed4">ANSIColor</a> (<a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> f, <a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> b)</td></tr>
- <tr class="separator:a59952a60cc039b0c101db8fb0a9f0ed4"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae443d34754082a6217dbb7311f601385"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#ae443d34754082a6217dbb7311f601385">ANSIColor</a> (<a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> f, <a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> b, <a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> a)</td></tr>
- <tr class="separator:ae443d34754082a6217dbb7311f601385"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1723651e98446b8d3a7e9f20091de840"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#a1723651e98446b8d3a7e9f20091de840">ANSIColor</a> (<a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> f, <a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> b, <a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> a1, <a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> a2)</td></tr>
- <tr class="separator:a1723651e98446b8d3a7e9f20091de840"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9bc92fe3929de0d16f44ba4fb1837dd7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#a9bc92fe3929de0d16f44ba4fb1837dd7">Attr</a> (<a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> a)</td></tr>
- <tr class="separator:a9bc92fe3929de0d16f44ba4fb1837dd7"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aa198707d0103967b7a4bc4f502a0ba87"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#aa198707d0103967b7a4bc4f502a0ba87">operator==</a> (const <a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a> &c) const</td></tr>
- <tr class="separator:aa198707d0103967b7a4bc4f502a0ba87"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a5d2d818d1922bcb8b73ccdaf639ca2cd"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#a5d2d818d1922bcb8b73ccdaf639ca2cd">operator!=</a> (const <a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a> &c) const</td></tr>
- <tr class="separator:a5d2d818d1922bcb8b73ccdaf639ca2cd"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a43c2ea9694f74c60f7ac2a396727bd15"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#a43c2ea9694f74c60f7ac2a396727bd15">setFg</a> (<a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> f)</td></tr>
- <tr class="memdesc:a43c2ea9694f74c60f7ac2a396727bd15"><td class="mdescLeft"> </td><td class="mdescRight">Set foreground color. <a href="classdoor_1_1ANSIColor.html#a43c2ea9694f74c60f7ac2a396727bd15">More...</a><br /></td></tr>
- <tr class="separator:a43c2ea9694f74c60f7ac2a396727bd15"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae6c5802a97d8a4f1b2a592da678845af"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#ae6c5802a97d8a4f1b2a592da678845af">setFg</a> (<a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> f, <a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> a)</td></tr>
- <tr class="memdesc:ae6c5802a97d8a4f1b2a592da678845af"><td class="mdescLeft"> </td><td class="mdescRight">Set foreground color and attribute. <a href="classdoor_1_1ANSIColor.html#ae6c5802a97d8a4f1b2a592da678845af">More...</a><br /></td></tr>
- <tr class="separator:ae6c5802a97d8a4f1b2a592da678845af"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:adb4561a6482b66b7efcd18b3257102f1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#adb4561a6482b66b7efcd18b3257102f1">setBg</a> (<a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> b)</td></tr>
- <tr class="memdesc:adb4561a6482b66b7efcd18b3257102f1"><td class="mdescLeft"> </td><td class="mdescRight">Set background color. <a href="classdoor_1_1ANSIColor.html#adb4561a6482b66b7efcd18b3257102f1">More...</a><br /></td></tr>
- <tr class="separator:adb4561a6482b66b7efcd18b3257102f1"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a3f724fb65d51b13e4c086e5fa90a5d35"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#a3f724fb65d51b13e4c086e5fa90a5d35">getFg</a> ()</td></tr>
- <tr class="separator:a3f724fb65d51b13e4c086e5fa90a5d35"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aca2261a9b173cc87586db6784e03e6b5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#aca2261a9b173cc87586db6784e03e6b5">getBg</a> ()</td></tr>
- <tr class="separator:aca2261a9b173cc87586db6784e03e6b5"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a46b5dc8b9d373233000bbc0e45c33825"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#a46b5dc8b9d373233000bbc0e45c33825">attr</a> (<a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> a)</td></tr>
- <tr class="memdesc:a46b5dc8b9d373233000bbc0e45c33825"><td class="mdescLeft"> </td><td class="mdescRight">Set attribute. <a href="classdoor_1_1ANSIColor.html#a46b5dc8b9d373233000bbc0e45c33825">More...</a><br /></td></tr>
- <tr class="separator:a46b5dc8b9d373233000bbc0e45c33825"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a24c97bd59b2a17cca37512dea5d21505"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#a24c97bd59b2a17cca37512dea5d21505">output</a> (void) const</td></tr>
- <tr class="separator:a24c97bd59b2a17cca37512dea5d21505"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a027158ac3cd42c2c72f86c0b57db5c84"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#a027158ac3cd42c2c72f86c0b57db5c84">debug</a> (void)</td></tr>
- <tr class="memdesc:a027158ac3cd42c2c72f86c0b57db5c84"><td class="mdescLeft"> </td><td class="mdescRight">Output debug string for <a class="el" href="classdoor_1_1ANSIColor.html" title="Foreground, Background and Attributes.">ANSIColor</a>. <a href="classdoor_1_1ANSIColor.html#a027158ac3cd42c2c72f86c0b57db5c84">More...</a><br /></td></tr>
- <tr class="separator:a027158ac3cd42c2c72f86c0b57db5c84"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae930abd27910b37e4ade719d10ae3a0e"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#ae930abd27910b37e4ade719d10ae3a0e">output</a> (<a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a> &previous) const</td></tr>
- <tr class="separator:ae930abd27910b37e4ade719d10ae3a0e"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
- Private Attributes</h2></td></tr>
- <tr class="memitem:aa11de87d84c864dcb1ee26042a28e519"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#aa11de87d84c864dcb1ee26042a28e519">fg</a></td></tr>
- <tr class="separator:aa11de87d84c864dcb1ee26042a28e519"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ade7213fff53121cefba77d4f8a187a64"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#ade7213fff53121cefba77d4f8a187a64">bg</a></td></tr>
- <tr class="separator:ade7213fff53121cefba77d4f8a187a64"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aae86353583a08ca1d9fa4f7bb366a805"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#aae86353583a08ca1d9fa4f7bb366a805">reset</a>: 1</td></tr>
- <tr class="separator:aae86353583a08ca1d9fa4f7bb366a805"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a0d990141b78cb8264de9cab06dc1e8cf"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#a0d990141b78cb8264de9cab06dc1e8cf">bold</a>: 1</td></tr>
- <tr class="separator:a0d990141b78cb8264de9cab06dc1e8cf"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af0c0998c248520613f87638f02ef48d8"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#af0c0998c248520613f87638f02ef48d8">blink</a>: 1</td></tr>
- <tr class="separator:af0c0998c248520613f87638f02ef48d8"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9413c8c99a7ff96f1374e886946791a5"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#a9413c8c99a7ff96f1374e886946791a5">inverse</a>: 1</td></tr>
- <tr class="separator:a9413c8c99a7ff96f1374e886946791a5"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
- Friends</h2></td></tr>
- <tr class="memitem:ad658a59d371bc8582411ada281c50822"><td class="memItemLeft" align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#ad658a59d371bc8582411ada281c50822">operator<<</a> (std::ostream &os, const <a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a> &c)</td></tr>
- <tr class="separator:ad658a59d371bc8582411ada281c50822"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
- <div class="textblock"><p>Foreground, Background and Attributes. </p>
- <p>This holds foreground, background and ANSI-BBS attribute information. The special attribute RESET forces attribute and color output always. </p>
- <dl class="section examples"><dt>Examples</dt><dd><a class="el" href="menu-example_8cpp-example.html#_a6">menu-example.cpp</a>.</dd>
- </dl>
- </div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
- <a id="abfa527e4328dc5168256da2ba21f5a50"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#abfa527e4328dc5168256da2ba21f5a50">◆ </a></span>ANSIColor() <span class="overload">[1/8]</span></h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">door::ANSIColor::ANSIColor </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Construct a new <a class="el" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor::ANSIColor</a> object with sensible defaults (White on Black). </p>
- </div>
- </div>
- <a id="a896a1733336c8d428a75273c42d3c522"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a896a1733336c8d428a75273c42d3c522">◆ </a></span>ANSIColor() <span class="overload">[2/8]</span></h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">door::ANSIColor::ANSIColor </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> </td>
- <td class="paramname"><em>a</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Construct a new <a class="el" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor::ANSIColor</a> object with attribute set.</p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">a</td><td>ATTR </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a id="a40613126b2df46cf18eaec22d09d9a5e"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a40613126b2df46cf18eaec22d09d9a5e">◆ </a></span>ANSIColor() <span class="overload">[3/8]</span></h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">door::ANSIColor::ANSIColor </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> </td>
- <td class="paramname"><em>f</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Construct a new <a class="el" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor::ANSIColor</a> object with a foreground color.</p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">f</td><td>COLOR </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a id="abf47e5ea1fe91c4a3bb0510426409b7a"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#abf47e5ea1fe91c4a3bb0510426409b7a">◆ </a></span>ANSIColor() <span class="overload">[4/8]</span></h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">door::ANSIColor::ANSIColor </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> </td>
- <td class="paramname"><em>f</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> </td>
- <td class="paramname"><em>a</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Construct a new <a class="el" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor::ANSIColor</a> object with a foreground color and attribute.</p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">f</td><td>COLOR </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">a</td><td>ATTR </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a id="ab9d4dfb2b6c6185942d3b415e793e167"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ab9d4dfb2b6c6185942d3b415e793e167">◆ </a></span>ANSIColor() <span class="overload">[5/8]</span></h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">door::ANSIColor::ANSIColor </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> </td>
- <td class="paramname"><em>f</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> </td>
- <td class="paramname"><em>a1</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> </td>
- <td class="paramname"><em>a2</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Construct a new <a class="el" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor::ANSIColor</a> object with a foreground color and attributes.</p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">f</td><td>COLOR </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">a1</td><td>ATTR </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">a2</td><td>ATTR </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a id="a59952a60cc039b0c101db8fb0a9f0ed4"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a59952a60cc039b0c101db8fb0a9f0ed4">◆ </a></span>ANSIColor() <span class="overload">[6/8]</span></h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">door::ANSIColor::ANSIColor </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> </td>
- <td class="paramname"><em>f</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> </td>
- <td class="paramname"><em>b</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Construct a new <a class="el" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor::ANSIColor</a> object with a foreground and background color.</p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">f</td><td>foreground COLOR </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>background COLOR </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a id="ae443d34754082a6217dbb7311f601385"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ae443d34754082a6217dbb7311f601385">◆ </a></span>ANSIColor() <span class="overload">[7/8]</span></h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">door::ANSIColor::ANSIColor </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> </td>
- <td class="paramname"><em>f</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> </td>
- <td class="paramname"><em>b</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> </td>
- <td class="paramname"><em>a</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Construct a new <a class="el" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor::ANSIColor</a> object with a foreground color, background color, and attribute.</p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">f</td><td>foreground COLOR </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>background COLOR </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">a</td><td>ATTR </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a id="a1723651e98446b8d3a7e9f20091de840"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a1723651e98446b8d3a7e9f20091de840">◆ </a></span>ANSIColor() <span class="overload">[8/8]</span></h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">door::ANSIColor::ANSIColor </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> </td>
- <td class="paramname"><em>f</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> </td>
- <td class="paramname"><em>b</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> </td>
- <td class="paramname"><em>a1</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> </td>
- <td class="paramname"><em>a2</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Construct a new <a class="el" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor::ANSIColor</a> object with foreground, background color and attributes.</p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">f</td><td>foreground COLOR </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>background COLOR </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">a1</td><td>ATTR </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">a2</td><td>ATTR </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <h2 class="groupheader">Member Function Documentation</h2>
- <a id="a9bc92fe3929de0d16f44ba4fb1837dd7"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a9bc92fe3929de0d16f44ba4fb1837dd7">◆ </a></span>Attr()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a> & door::ANSIColor::Attr </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> </td>
- <td class="paramname"><em>a</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Set attribute. We return the object so calls can be chained.</p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">a</td><td>ATTR </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd><a class="el" href="classdoor_1_1ANSIColor.html" title="Foreground, Background and Attributes.">ANSIColor</a>& </dd></dl>
- </div>
- </div>
- <a id="a46b5dc8b9d373233000bbc0e45c33825"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a46b5dc8b9d373233000bbc0e45c33825">◆ </a></span>attr()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void door::ANSIColor::attr </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> </td>
- <td class="paramname"><em>a</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Set attribute. </p>
- <p>This clears all the attributes before setting the selected ATTR.</p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">a</td><td>ATTR </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a id="a027158ac3cd42c2c72f86c0b57db5c84"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a027158ac3cd42c2c72f86c0b57db5c84">◆ </a></span>debug()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">std::string door::ANSIColor::debug </td>
- <td>(</td>
- <td class="paramtype">void </td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Output debug string for <a class="el" href="classdoor_1_1ANSIColor.html" title="Foreground, Background and Attributes.">ANSIColor</a>. </p>
- <dl class="section return"><dt>Returns</dt><dd>std::string </dd></dl>
- </div>
- </div>
- <a id="aca2261a9b173cc87586db6784e03e6b5"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aca2261a9b173cc87586db6784e03e6b5">◆ </a></span>getBg()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> door::ANSIColor::getBg </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Get the background color </p><dl class="section return"><dt>Returns</dt><dd>COLOR </dd></dl>
- </div>
- </div>
- <a id="a3f724fb65d51b13e4c086e5fa90a5d35"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a3f724fb65d51b13e4c086e5fa90a5d35">◆ </a></span>getFg()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> door::ANSIColor::getFg </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Get the foreground color </p><dl class="section return"><dt>Returns</dt><dd>COLOR </dd></dl>
- </div>
- </div>
- <a id="a5d2d818d1922bcb8b73ccdaf639ca2cd"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a5d2d818d1922bcb8b73ccdaf639ca2cd">◆ </a></span>operator!=()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool door::ANSIColor::operator!= </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a> & </td>
- <td class="paramname"><em>c</em></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Not-equal operator.</p>
- <p>This compares colors and attributes, but ignores reset.</p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">c</td><td>const <a class="el" href="classdoor_1_1ANSIColor.html" title="Foreground, Background and Attributes.">ANSIColor</a> & </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>bool </dd></dl>
- </div>
- </div>
- <a id="aa198707d0103967b7a4bc4f502a0ba87"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aa198707d0103967b7a4bc4f502a0ba87">◆ </a></span>operator==()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool door::ANSIColor::operator== </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a> & </td>
- <td class="paramname"><em>c</em></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Equal operator.</p>
- <p>This compares colors and attributes, but ignores reset.</p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">c</td><td>const <a class="el" href="classdoor_1_1ANSIColor.html" title="Foreground, Background and Attributes.">ANSIColor</a> & </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>bool </dd></dl>
- </div>
- </div>
- <a id="ae930abd27910b37e4ade719d10ae3a0e"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ae930abd27910b37e4ade719d10ae3a0e">◆ </a></span>output() <span class="overload">[1/2]</span></h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">std::string door::ANSIColor::output </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a> & </td>
- <td class="paramname"><em>previous</em></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Output only what ANSI attributes and colors have changed. This uses the previous <a class="el" href="classdoor_1_1ANSIColor.html" title="Foreground, Background and Attributes.">ANSIColor</a> value to determine what has changed.</p>
- <p>This sets previous to the current upon completion. </p>
- </div>
- </div>
- <a id="a24c97bd59b2a17cca37512dea5d21505"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a24c97bd59b2a17cca37512dea5d21505">◆ </a></span>output() <span class="overload">[2/2]</span></h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">std::string door::ANSIColor::output </td>
- <td>(</td>
- <td class="paramtype">void </td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Output the full ANSI codes for attributes and color. This does not look at the previous values. </p>
- </div>
- </div>
- <a id="adb4561a6482b66b7efcd18b3257102f1"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#adb4561a6482b66b7efcd18b3257102f1">◆ </a></span>setBg()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void door::ANSIColor::setBg </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> </td>
- <td class="paramname"><em>b</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Set background color. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>background COLOR </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a id="a43c2ea9694f74c60f7ac2a396727bd15"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a43c2ea9694f74c60f7ac2a396727bd15">◆ </a></span>setFg() <span class="overload">[1/2]</span></h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void door::ANSIColor::setFg </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> </td>
- <td class="paramname"><em>f</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Set foreground color. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">f</td><td>foreground COLOR </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a id="ae6c5802a97d8a4f1b2a592da678845af"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ae6c5802a97d8a4f1b2a592da678845af">◆ </a></span>setFg() <span class="overload">[2/2]</span></h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void door::ANSIColor::setFg </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> </td>
- <td class="paramname"><em>f</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> </td>
- <td class="paramname"><em>a</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Set foreground color and attribute. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">f</td><td>foreground COLOR </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">a</td><td>ATTR </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <h2 class="groupheader">Friends And Related Function Documentation</h2>
- <a id="ad658a59d371bc8582411ada281c50822"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ad658a59d371bc8582411ada281c50822">◆ </a></span>operator<<</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">std::ostream& operator<< </td>
- <td>(</td>
- <td class="paramtype">std::ostream & </td>
- <td class="paramname"><em>os</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const <a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a> & </td>
- <td class="paramname"><em>c</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">friend</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>This converts ANSI <a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> and <a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> to ANSI codes understood by the <a class="el" href="classdoor_1_1Door.html">Door</a> output class. </p>
- </div>
- </div>
- <h2 class="groupheader">Member Data Documentation</h2>
- <a id="ade7213fff53121cefba77d4f8a187a64"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ade7213fff53121cefba77d4f8a187a64">◆ </a></span>bg</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> door::ANSIColor::bg</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Background color </p>
- </div>
- </div>
- <a id="af0c0998c248520613f87638f02ef48d8"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#af0c0998c248520613f87638f02ef48d8">◆ </a></span>blink</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">unsigned int door::ANSIColor::blink</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>blink slow blinking text </p>
- </div>
- </div>
- <a id="a0d990141b78cb8264de9cab06dc1e8cf"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a0d990141b78cb8264de9cab06dc1e8cf">◆ </a></span>bold</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">unsigned int door::ANSIColor::bold</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>bold / bright flag </p>
- </div>
- </div>
- <a id="aa11de87d84c864dcb1ee26042a28e519"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aa11de87d84c864dcb1ee26042a28e519">◆ </a></span>fg</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> door::ANSIColor::fg</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Foreground color </p>
- </div>
- </div>
- <a id="a9413c8c99a7ff96f1374e886946791a5"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a9413c8c99a7ff96f1374e886946791a5">◆ </a></span>inverse</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">unsigned int door::ANSIColor::inverse</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>inverse </p>
- </div>
- </div>
- <a id="aae86353583a08ca1d9fa4f7bb366a805"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aae86353583a08ca1d9fa4f7bb366a805">◆ </a></span>reset</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">unsigned int door::ANSIColor::reset</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>reset flag / always send color and attributes </p>
- </div>
- </div>
- <hr/>The documentation for this class was generated from the following files:<ul>
- <li><a class="el" href="door_8h_source.html">door.h</a></li>
- <li><a class="el" href="ansicolor_8cpp.html">ansicolor.cpp</a></li>
- </ul>
- </div><!-- contents -->
- <!-- start footer part -->
- <hr class="footer"/><address class="footer"><small>
- Generated by  <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/>
- </a> 1.8.17
- </small></address>
- </body>
- </html>
|