classdoor_1_1ANSIColor.html 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.17"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>Bugz Door Project: door::ANSIColor Class Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectalign" style="padding-left: 0.5em;">
  24. <div id="projectname">Bugz Door Project
  25. </div>
  26. </td>
  27. </tr>
  28. </tbody>
  29. </table>
  30. </div>
  31. <!-- end header part -->
  32. <!-- Generated by Doxygen 1.8.17 -->
  33. <script type="text/javascript">
  34. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  35. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  36. /* @license-end */
  37. </script>
  38. <script type="text/javascript" src="menudata.js"></script>
  39. <script type="text/javascript" src="menu.js"></script>
  40. <script type="text/javascript">
  41. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  42. $(function() {
  43. initMenu('',true,false,'search.php','Search');
  44. $(document).ready(function() { init_search(); });
  45. });
  46. /* @license-end */</script>
  47. <div id="main-nav"></div>
  48. <!-- window showing the filter options -->
  49. <div id="MSearchSelectWindow"
  50. onmouseover="return searchBox.OnSearchSelectShow()"
  51. onmouseout="return searchBox.OnSearchSelectHide()"
  52. onkeydown="return searchBox.OnSearchSelectKey(event)">
  53. </div>
  54. <!-- iframe showing the search results (closed by default) -->
  55. <div id="MSearchResultsWindow">
  56. <iframe src="javascript:void(0)" frameborder="0"
  57. name="MSearchResults" id="MSearchResults">
  58. </iframe>
  59. </div>
  60. <div id="nav-path" class="navpath">
  61. <ul>
  62. <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>
  63. </div>
  64. </div><!-- top -->
  65. <div class="header">
  66. <div class="summary">
  67. <a href="#pub-methods">Public Member Functions</a> &#124;
  68. <a href="#pri-attribs">Private Attributes</a> &#124;
  69. <a href="#friends">Friends</a> &#124;
  70. <a href="classdoor_1_1ANSIColor-members.html">List of all members</a> </div>
  71. <div class="headertitle">
  72. <div class="title">door::ANSIColor Class Reference</div> </div>
  73. </div><!--header-->
  74. <div class="contents">
  75. <p>Foreground, Background and Attributes.
  76. <a href="classdoor_1_1ANSIColor.html#details">More...</a></p>
  77. <p><code>#include &lt;<a class="el" href="door_8h_source.html">door.h</a>&gt;</code></p>
  78. <table class="memberdecls">
  79. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  80. Public Member Functions</h2></td></tr>
  81. <tr class="memitem:abfa527e4328dc5168256da2ba21f5a50"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor</a> ()</td></tr>
  82. <tr class="separator:abfa527e4328dc5168256da2ba21f5a50"><td class="memSeparator" colspan="2">&#160;</td></tr>
  83. <tr class="memitem:a896a1733336c8d428a75273c42d3c522"><td class="memItemLeft" align="right" valign="top">&#160;</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>
  84. <tr class="separator:a896a1733336c8d428a75273c42d3c522"><td class="memSeparator" colspan="2">&#160;</td></tr>
  85. <tr class="memitem:a40613126b2df46cf18eaec22d09d9a5e"><td class="memItemLeft" align="right" valign="top">&#160;</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>
  86. <tr class="separator:a40613126b2df46cf18eaec22d09d9a5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  87. <tr class="memitem:abf47e5ea1fe91c4a3bb0510426409b7a"><td class="memItemLeft" align="right" valign="top">&#160;</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>
  88. <tr class="separator:abf47e5ea1fe91c4a3bb0510426409b7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  89. <tr class="memitem:ab9d4dfb2b6c6185942d3b415e793e167"><td class="memItemLeft" align="right" valign="top">&#160;</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>
  90. <tr class="separator:ab9d4dfb2b6c6185942d3b415e793e167"><td class="memSeparator" colspan="2">&#160;</td></tr>
  91. <tr class="memitem:a59952a60cc039b0c101db8fb0a9f0ed4"><td class="memItemLeft" align="right" valign="top">&#160;</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>
  92. <tr class="separator:a59952a60cc039b0c101db8fb0a9f0ed4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  93. <tr class="memitem:ae443d34754082a6217dbb7311f601385"><td class="memItemLeft" align="right" valign="top">&#160;</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>
  94. <tr class="separator:ae443d34754082a6217dbb7311f601385"><td class="memSeparator" colspan="2">&#160;</td></tr>
  95. <tr class="memitem:a1723651e98446b8d3a7e9f20091de840"><td class="memItemLeft" align="right" valign="top">&#160;</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>
  96. <tr class="separator:a1723651e98446b8d3a7e9f20091de840"><td class="memSeparator" colspan="2">&#160;</td></tr>
  97. <tr class="memitem:a9bc92fe3929de0d16f44ba4fb1837dd7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a> &amp;&#160;</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>
  98. <tr class="separator:a9bc92fe3929de0d16f44ba4fb1837dd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  99. <tr class="memitem:aa198707d0103967b7a4bc4f502a0ba87"><td class="memItemLeft" align="right" valign="top">bool&#160;</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> &amp;c) const</td></tr>
  100. <tr class="separator:aa198707d0103967b7a4bc4f502a0ba87"><td class="memSeparator" colspan="2">&#160;</td></tr>
  101. <tr class="memitem:a5d2d818d1922bcb8b73ccdaf639ca2cd"><td class="memItemLeft" align="right" valign="top">bool&#160;</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> &amp;c) const</td></tr>
  102. <tr class="separator:a5d2d818d1922bcb8b73ccdaf639ca2cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  103. <tr class="memitem:a43c2ea9694f74c60f7ac2a396727bd15"><td class="memItemLeft" align="right" valign="top">void&#160;</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>
  104. <tr class="memdesc:a43c2ea9694f74c60f7ac2a396727bd15"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set foreground color. <a href="classdoor_1_1ANSIColor.html#a43c2ea9694f74c60f7ac2a396727bd15">More...</a><br /></td></tr>
  105. <tr class="separator:a43c2ea9694f74c60f7ac2a396727bd15"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr class="memitem:ae6c5802a97d8a4f1b2a592da678845af"><td class="memItemLeft" align="right" valign="top">void&#160;</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>
  107. <tr class="memdesc:ae6c5802a97d8a4f1b2a592da678845af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set foreground color and attribute. <a href="classdoor_1_1ANSIColor.html#ae6c5802a97d8a4f1b2a592da678845af">More...</a><br /></td></tr>
  108. <tr class="separator:ae6c5802a97d8a4f1b2a592da678845af"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:adb4561a6482b66b7efcd18b3257102f1"><td class="memItemLeft" align="right" valign="top">void&#160;</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>
  110. <tr class="memdesc:adb4561a6482b66b7efcd18b3257102f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set background color. <a href="classdoor_1_1ANSIColor.html#adb4561a6482b66b7efcd18b3257102f1">More...</a><br /></td></tr>
  111. <tr class="separator:adb4561a6482b66b7efcd18b3257102f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <tr class="memitem:a3f724fb65d51b13e4c086e5fa90a5d35"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#a3f724fb65d51b13e4c086e5fa90a5d35">getFg</a> ()</td></tr>
  113. <tr class="separator:a3f724fb65d51b13e4c086e5fa90a5d35"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <tr class="memitem:aca2261a9b173cc87586db6784e03e6b5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#aca2261a9b173cc87586db6784e03e6b5">getBg</a> ()</td></tr>
  115. <tr class="separator:aca2261a9b173cc87586db6784e03e6b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <tr class="memitem:a46b5dc8b9d373233000bbc0e45c33825"><td class="memItemLeft" align="right" valign="top">void&#160;</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>
  117. <tr class="memdesc:a46b5dc8b9d373233000bbc0e45c33825"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set attribute. <a href="classdoor_1_1ANSIColor.html#a46b5dc8b9d373233000bbc0e45c33825">More...</a><br /></td></tr>
  118. <tr class="separator:a46b5dc8b9d373233000bbc0e45c33825"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:a24c97bd59b2a17cca37512dea5d21505"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#a24c97bd59b2a17cca37512dea5d21505">output</a> (void) const</td></tr>
  120. <tr class="separator:a24c97bd59b2a17cca37512dea5d21505"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:a027158ac3cd42c2c72f86c0b57db5c84"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#a027158ac3cd42c2c72f86c0b57db5c84">debug</a> (void)</td></tr>
  122. <tr class="memdesc:a027158ac3cd42c2c72f86c0b57db5c84"><td class="mdescLeft">&#160;</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>
  123. <tr class="separator:a027158ac3cd42c2c72f86c0b57db5c84"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:ae930abd27910b37e4ade719d10ae3a0e"><td class="memItemLeft" align="right" valign="top">std::string&#160;</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> &amp;previous) const</td></tr>
  125. <tr class="separator:ae930abd27910b37e4ade719d10ae3a0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. </table><table class="memberdecls">
  127. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
  128. Private Attributes</h2></td></tr>
  129. <tr class="memitem:aa11de87d84c864dcb1ee26042a28e519"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#aa11de87d84c864dcb1ee26042a28e519">fg</a></td></tr>
  130. <tr class="separator:aa11de87d84c864dcb1ee26042a28e519"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. <tr class="memitem:ade7213fff53121cefba77d4f8a187a64"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#ade7213fff53121cefba77d4f8a187a64">bg</a></td></tr>
  132. <tr class="separator:ade7213fff53121cefba77d4f8a187a64"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. <tr class="memitem:aae86353583a08ca1d9fa4f7bb366a805"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#aae86353583a08ca1d9fa4f7bb366a805">reset</a>: 1</td></tr>
  134. <tr class="separator:aae86353583a08ca1d9fa4f7bb366a805"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. <tr class="memitem:a0d990141b78cb8264de9cab06dc1e8cf"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#a0d990141b78cb8264de9cab06dc1e8cf">bold</a>: 1</td></tr>
  136. <tr class="separator:a0d990141b78cb8264de9cab06dc1e8cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  137. <tr class="memitem:af0c0998c248520613f87638f02ef48d8"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#af0c0998c248520613f87638f02ef48d8">blink</a>: 1</td></tr>
  138. <tr class="separator:af0c0998c248520613f87638f02ef48d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  139. <tr class="memitem:a9413c8c99a7ff96f1374e886946791a5"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#a9413c8c99a7ff96f1374e886946791a5">inverse</a>: 1</td></tr>
  140. <tr class="separator:a9413c8c99a7ff96f1374e886946791a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. </table><table class="memberdecls">
  142. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
  143. Friends</h2></td></tr>
  144. <tr class="memitem:ad658a59d371bc8582411ada281c50822"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ANSIColor.html#ad658a59d371bc8582411ada281c50822">operator&lt;&lt;</a> (std::ostream &amp;os, const <a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a> &amp;c)</td></tr>
  145. <tr class="separator:ad658a59d371bc8582411ada281c50822"><td class="memSeparator" colspan="2">&#160;</td></tr>
  146. </table>
  147. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  148. <div class="textblock"><p>Foreground, Background and Attributes. </p>
  149. <p>This holds foreground, background and ANSI-BBS attribute information. The special attribute RESET forces attribute and color output always. </p>
  150. <dl class="section examples"><dt>Examples</dt><dd><a class="el" href="menu-example_8cpp-example.html#_a6">menu-example.cpp</a>.</dd>
  151. </dl>
  152. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  153. <a id="abfa527e4328dc5168256da2ba21f5a50"></a>
  154. <h2 class="memtitle"><span class="permalink"><a href="#abfa527e4328dc5168256da2ba21f5a50">&#9670;&nbsp;</a></span>ANSIColor() <span class="overload">[1/8]</span></h2>
  155. <div class="memitem">
  156. <div class="memproto">
  157. <table class="memname">
  158. <tr>
  159. <td class="memname">door::ANSIColor::ANSIColor </td>
  160. <td>(</td>
  161. <td class="paramname"></td><td>)</td>
  162. <td></td>
  163. </tr>
  164. </table>
  165. </div><div class="memdoc">
  166. <p>Construct a new <a class="el" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor::ANSIColor</a> object with sensible defaults (White on Black). </p>
  167. </div>
  168. </div>
  169. <a id="a896a1733336c8d428a75273c42d3c522"></a>
  170. <h2 class="memtitle"><span class="permalink"><a href="#a896a1733336c8d428a75273c42d3c522">&#9670;&nbsp;</a></span>ANSIColor() <span class="overload">[2/8]</span></h2>
  171. <div class="memitem">
  172. <div class="memproto">
  173. <table class="memname">
  174. <tr>
  175. <td class="memname">door::ANSIColor::ANSIColor </td>
  176. <td>(</td>
  177. <td class="paramtype"><a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a>&#160;</td>
  178. <td class="paramname"><em>a</em></td><td>)</td>
  179. <td></td>
  180. </tr>
  181. </table>
  182. </div><div class="memdoc">
  183. <p>Construct a new <a class="el" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor::ANSIColor</a> object with attribute set.</p>
  184. <dl class="params"><dt>Parameters</dt><dd>
  185. <table class="params">
  186. <tr><td class="paramdir">[in]</td><td class="paramname">a</td><td>ATTR </td></tr>
  187. </table>
  188. </dd>
  189. </dl>
  190. </div>
  191. </div>
  192. <a id="a40613126b2df46cf18eaec22d09d9a5e"></a>
  193. <h2 class="memtitle"><span class="permalink"><a href="#a40613126b2df46cf18eaec22d09d9a5e">&#9670;&nbsp;</a></span>ANSIColor() <span class="overload">[3/8]</span></h2>
  194. <div class="memitem">
  195. <div class="memproto">
  196. <table class="memname">
  197. <tr>
  198. <td class="memname">door::ANSIColor::ANSIColor </td>
  199. <td>(</td>
  200. <td class="paramtype"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a>&#160;</td>
  201. <td class="paramname"><em>f</em></td><td>)</td>
  202. <td></td>
  203. </tr>
  204. </table>
  205. </div><div class="memdoc">
  206. <p>Construct a new <a class="el" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor::ANSIColor</a> object with a foreground color.</p>
  207. <dl class="params"><dt>Parameters</dt><dd>
  208. <table class="params">
  209. <tr><td class="paramdir">[in]</td><td class="paramname">f</td><td>COLOR </td></tr>
  210. </table>
  211. </dd>
  212. </dl>
  213. </div>
  214. </div>
  215. <a id="abf47e5ea1fe91c4a3bb0510426409b7a"></a>
  216. <h2 class="memtitle"><span class="permalink"><a href="#abf47e5ea1fe91c4a3bb0510426409b7a">&#9670;&nbsp;</a></span>ANSIColor() <span class="overload">[4/8]</span></h2>
  217. <div class="memitem">
  218. <div class="memproto">
  219. <table class="memname">
  220. <tr>
  221. <td class="memname">door::ANSIColor::ANSIColor </td>
  222. <td>(</td>
  223. <td class="paramtype"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a>&#160;</td>
  224. <td class="paramname"><em>f</em>, </td>
  225. </tr>
  226. <tr>
  227. <td class="paramkey"></td>
  228. <td></td>
  229. <td class="paramtype"><a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a>&#160;</td>
  230. <td class="paramname"><em>a</em>&#160;</td>
  231. </tr>
  232. <tr>
  233. <td></td>
  234. <td>)</td>
  235. <td></td><td></td>
  236. </tr>
  237. </table>
  238. </div><div class="memdoc">
  239. <p>Construct a new <a class="el" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor::ANSIColor</a> object with a foreground color and attribute.</p>
  240. <dl class="params"><dt>Parameters</dt><dd>
  241. <table class="params">
  242. <tr><td class="paramdir">[in]</td><td class="paramname">f</td><td>COLOR </td></tr>
  243. <tr><td class="paramdir">[in]</td><td class="paramname">a</td><td>ATTR </td></tr>
  244. </table>
  245. </dd>
  246. </dl>
  247. </div>
  248. </div>
  249. <a id="ab9d4dfb2b6c6185942d3b415e793e167"></a>
  250. <h2 class="memtitle"><span class="permalink"><a href="#ab9d4dfb2b6c6185942d3b415e793e167">&#9670;&nbsp;</a></span>ANSIColor() <span class="overload">[5/8]</span></h2>
  251. <div class="memitem">
  252. <div class="memproto">
  253. <table class="memname">
  254. <tr>
  255. <td class="memname">door::ANSIColor::ANSIColor </td>
  256. <td>(</td>
  257. <td class="paramtype"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a>&#160;</td>
  258. <td class="paramname"><em>f</em>, </td>
  259. </tr>
  260. <tr>
  261. <td class="paramkey"></td>
  262. <td></td>
  263. <td class="paramtype"><a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a>&#160;</td>
  264. <td class="paramname"><em>a1</em>, </td>
  265. </tr>
  266. <tr>
  267. <td class="paramkey"></td>
  268. <td></td>
  269. <td class="paramtype"><a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a>&#160;</td>
  270. <td class="paramname"><em>a2</em>&#160;</td>
  271. </tr>
  272. <tr>
  273. <td></td>
  274. <td>)</td>
  275. <td></td><td></td>
  276. </tr>
  277. </table>
  278. </div><div class="memdoc">
  279. <p>Construct a new <a class="el" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor::ANSIColor</a> object with a foreground color and attributes.</p>
  280. <dl class="params"><dt>Parameters</dt><dd>
  281. <table class="params">
  282. <tr><td class="paramdir">[in]</td><td class="paramname">f</td><td>COLOR </td></tr>
  283. <tr><td class="paramdir">[in]</td><td class="paramname">a1</td><td>ATTR </td></tr>
  284. <tr><td class="paramdir">[in]</td><td class="paramname">a2</td><td>ATTR </td></tr>
  285. </table>
  286. </dd>
  287. </dl>
  288. </div>
  289. </div>
  290. <a id="a59952a60cc039b0c101db8fb0a9f0ed4"></a>
  291. <h2 class="memtitle"><span class="permalink"><a href="#a59952a60cc039b0c101db8fb0a9f0ed4">&#9670;&nbsp;</a></span>ANSIColor() <span class="overload">[6/8]</span></h2>
  292. <div class="memitem">
  293. <div class="memproto">
  294. <table class="memname">
  295. <tr>
  296. <td class="memname">door::ANSIColor::ANSIColor </td>
  297. <td>(</td>
  298. <td class="paramtype"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a>&#160;</td>
  299. <td class="paramname"><em>f</em>, </td>
  300. </tr>
  301. <tr>
  302. <td class="paramkey"></td>
  303. <td></td>
  304. <td class="paramtype"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a>&#160;</td>
  305. <td class="paramname"><em>b</em>&#160;</td>
  306. </tr>
  307. <tr>
  308. <td></td>
  309. <td>)</td>
  310. <td></td><td></td>
  311. </tr>
  312. </table>
  313. </div><div class="memdoc">
  314. <p>Construct a new <a class="el" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor::ANSIColor</a> object with a foreground and background color.</p>
  315. <dl class="params"><dt>Parameters</dt><dd>
  316. <table class="params">
  317. <tr><td class="paramdir">[in]</td><td class="paramname">f</td><td>foreground COLOR </td></tr>
  318. <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>background COLOR </td></tr>
  319. </table>
  320. </dd>
  321. </dl>
  322. </div>
  323. </div>
  324. <a id="ae443d34754082a6217dbb7311f601385"></a>
  325. <h2 class="memtitle"><span class="permalink"><a href="#ae443d34754082a6217dbb7311f601385">&#9670;&nbsp;</a></span>ANSIColor() <span class="overload">[7/8]</span></h2>
  326. <div class="memitem">
  327. <div class="memproto">
  328. <table class="memname">
  329. <tr>
  330. <td class="memname">door::ANSIColor::ANSIColor </td>
  331. <td>(</td>
  332. <td class="paramtype"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a>&#160;</td>
  333. <td class="paramname"><em>f</em>, </td>
  334. </tr>
  335. <tr>
  336. <td class="paramkey"></td>
  337. <td></td>
  338. <td class="paramtype"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a>&#160;</td>
  339. <td class="paramname"><em>b</em>, </td>
  340. </tr>
  341. <tr>
  342. <td class="paramkey"></td>
  343. <td></td>
  344. <td class="paramtype"><a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a>&#160;</td>
  345. <td class="paramname"><em>a</em>&#160;</td>
  346. </tr>
  347. <tr>
  348. <td></td>
  349. <td>)</td>
  350. <td></td><td></td>
  351. </tr>
  352. </table>
  353. </div><div class="memdoc">
  354. <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>
  355. <dl class="params"><dt>Parameters</dt><dd>
  356. <table class="params">
  357. <tr><td class="paramdir">[in]</td><td class="paramname">f</td><td>foreground COLOR </td></tr>
  358. <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>background COLOR </td></tr>
  359. <tr><td class="paramdir">[in]</td><td class="paramname">a</td><td>ATTR </td></tr>
  360. </table>
  361. </dd>
  362. </dl>
  363. </div>
  364. </div>
  365. <a id="a1723651e98446b8d3a7e9f20091de840"></a>
  366. <h2 class="memtitle"><span class="permalink"><a href="#a1723651e98446b8d3a7e9f20091de840">&#9670;&nbsp;</a></span>ANSIColor() <span class="overload">[8/8]</span></h2>
  367. <div class="memitem">
  368. <div class="memproto">
  369. <table class="memname">
  370. <tr>
  371. <td class="memname">door::ANSIColor::ANSIColor </td>
  372. <td>(</td>
  373. <td class="paramtype"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a>&#160;</td>
  374. <td class="paramname"><em>f</em>, </td>
  375. </tr>
  376. <tr>
  377. <td class="paramkey"></td>
  378. <td></td>
  379. <td class="paramtype"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a>&#160;</td>
  380. <td class="paramname"><em>b</em>, </td>
  381. </tr>
  382. <tr>
  383. <td class="paramkey"></td>
  384. <td></td>
  385. <td class="paramtype"><a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a>&#160;</td>
  386. <td class="paramname"><em>a1</em>, </td>
  387. </tr>
  388. <tr>
  389. <td class="paramkey"></td>
  390. <td></td>
  391. <td class="paramtype"><a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a>&#160;</td>
  392. <td class="paramname"><em>a2</em>&#160;</td>
  393. </tr>
  394. <tr>
  395. <td></td>
  396. <td>)</td>
  397. <td></td><td></td>
  398. </tr>
  399. </table>
  400. </div><div class="memdoc">
  401. <p>Construct a new <a class="el" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor::ANSIColor</a> object with foreground, background color and attributes.</p>
  402. <dl class="params"><dt>Parameters</dt><dd>
  403. <table class="params">
  404. <tr><td class="paramdir">[in]</td><td class="paramname">f</td><td>foreground COLOR </td></tr>
  405. <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>background COLOR </td></tr>
  406. <tr><td class="paramdir">[in]</td><td class="paramname">a1</td><td>ATTR </td></tr>
  407. <tr><td class="paramdir">[in]</td><td class="paramname">a2</td><td>ATTR </td></tr>
  408. </table>
  409. </dd>
  410. </dl>
  411. </div>
  412. </div>
  413. <h2 class="groupheader">Member Function Documentation</h2>
  414. <a id="a9bc92fe3929de0d16f44ba4fb1837dd7"></a>
  415. <h2 class="memtitle"><span class="permalink"><a href="#a9bc92fe3929de0d16f44ba4fb1837dd7">&#9670;&nbsp;</a></span>Attr()</h2>
  416. <div class="memitem">
  417. <div class="memproto">
  418. <table class="memname">
  419. <tr>
  420. <td class="memname"><a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a> &amp; door::ANSIColor::Attr </td>
  421. <td>(</td>
  422. <td class="paramtype"><a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a>&#160;</td>
  423. <td class="paramname"><em>a</em></td><td>)</td>
  424. <td></td>
  425. </tr>
  426. </table>
  427. </div><div class="memdoc">
  428. <p>Set attribute. We return the object so calls can be chained.</p>
  429. <dl class="params"><dt>Parameters</dt><dd>
  430. <table class="params">
  431. <tr><td class="paramdir">[in]</td><td class="paramname">a</td><td>ATTR </td></tr>
  432. </table>
  433. </dd>
  434. </dl>
  435. <dl class="section return"><dt>Returns</dt><dd><a class="el" href="classdoor_1_1ANSIColor.html" title="Foreground, Background and Attributes.">ANSIColor</a>&amp; </dd></dl>
  436. </div>
  437. </div>
  438. <a id="a46b5dc8b9d373233000bbc0e45c33825"></a>
  439. <h2 class="memtitle"><span class="permalink"><a href="#a46b5dc8b9d373233000bbc0e45c33825">&#9670;&nbsp;</a></span>attr()</h2>
  440. <div class="memitem">
  441. <div class="memproto">
  442. <table class="memname">
  443. <tr>
  444. <td class="memname">void door::ANSIColor::attr </td>
  445. <td>(</td>
  446. <td class="paramtype"><a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a>&#160;</td>
  447. <td class="paramname"><em>a</em></td><td>)</td>
  448. <td></td>
  449. </tr>
  450. </table>
  451. </div><div class="memdoc">
  452. <p>Set attribute. </p>
  453. <p>This clears all the attributes before setting the selected ATTR.</p>
  454. <dl class="params"><dt>Parameters</dt><dd>
  455. <table class="params">
  456. <tr><td class="paramdir">[in]</td><td class="paramname">a</td><td>ATTR </td></tr>
  457. </table>
  458. </dd>
  459. </dl>
  460. </div>
  461. </div>
  462. <a id="a027158ac3cd42c2c72f86c0b57db5c84"></a>
  463. <h2 class="memtitle"><span class="permalink"><a href="#a027158ac3cd42c2c72f86c0b57db5c84">&#9670;&nbsp;</a></span>debug()</h2>
  464. <div class="memitem">
  465. <div class="memproto">
  466. <table class="memname">
  467. <tr>
  468. <td class="memname">std::string door::ANSIColor::debug </td>
  469. <td>(</td>
  470. <td class="paramtype">void&#160;</td>
  471. <td class="paramname"></td><td>)</td>
  472. <td></td>
  473. </tr>
  474. </table>
  475. </div><div class="memdoc">
  476. <p>Output debug string for <a class="el" href="classdoor_1_1ANSIColor.html" title="Foreground, Background and Attributes.">ANSIColor</a>. </p>
  477. <dl class="section return"><dt>Returns</dt><dd>std::string </dd></dl>
  478. </div>
  479. </div>
  480. <a id="aca2261a9b173cc87586db6784e03e6b5"></a>
  481. <h2 class="memtitle"><span class="permalink"><a href="#aca2261a9b173cc87586db6784e03e6b5">&#9670;&nbsp;</a></span>getBg()</h2>
  482. <div class="memitem">
  483. <div class="memproto">
  484. <table class="mlabels">
  485. <tr>
  486. <td class="mlabels-left">
  487. <table class="memname">
  488. <tr>
  489. <td class="memname"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> door::ANSIColor::getBg </td>
  490. <td>(</td>
  491. <td class="paramname"></td><td>)</td>
  492. <td></td>
  493. </tr>
  494. </table>
  495. </td>
  496. <td class="mlabels-right">
  497. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  498. </tr>
  499. </table>
  500. </div><div class="memdoc">
  501. <p>Get the background color </p><dl class="section return"><dt>Returns</dt><dd>COLOR </dd></dl>
  502. </div>
  503. </div>
  504. <a id="a3f724fb65d51b13e4c086e5fa90a5d35"></a>
  505. <h2 class="memtitle"><span class="permalink"><a href="#a3f724fb65d51b13e4c086e5fa90a5d35">&#9670;&nbsp;</a></span>getFg()</h2>
  506. <div class="memitem">
  507. <div class="memproto">
  508. <table class="mlabels">
  509. <tr>
  510. <td class="mlabels-left">
  511. <table class="memname">
  512. <tr>
  513. <td class="memname"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> door::ANSIColor::getFg </td>
  514. <td>(</td>
  515. <td class="paramname"></td><td>)</td>
  516. <td></td>
  517. </tr>
  518. </table>
  519. </td>
  520. <td class="mlabels-right">
  521. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  522. </tr>
  523. </table>
  524. </div><div class="memdoc">
  525. <p>Get the foreground color </p><dl class="section return"><dt>Returns</dt><dd>COLOR </dd></dl>
  526. </div>
  527. </div>
  528. <a id="a5d2d818d1922bcb8b73ccdaf639ca2cd"></a>
  529. <h2 class="memtitle"><span class="permalink"><a href="#a5d2d818d1922bcb8b73ccdaf639ca2cd">&#9670;&nbsp;</a></span>operator!=()</h2>
  530. <div class="memitem">
  531. <div class="memproto">
  532. <table class="memname">
  533. <tr>
  534. <td class="memname">bool door::ANSIColor::operator!= </td>
  535. <td>(</td>
  536. <td class="paramtype">const <a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a> &amp;&#160;</td>
  537. <td class="paramname"><em>c</em></td><td>)</td>
  538. <td> const</td>
  539. </tr>
  540. </table>
  541. </div><div class="memdoc">
  542. <p>Not-equal operator.</p>
  543. <p>This compares colors and attributes, but ignores reset.</p>
  544. <dl class="params"><dt>Parameters</dt><dd>
  545. <table class="params">
  546. <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> &amp; </td></tr>
  547. </table>
  548. </dd>
  549. </dl>
  550. <dl class="section return"><dt>Returns</dt><dd>bool </dd></dl>
  551. </div>
  552. </div>
  553. <a id="aa198707d0103967b7a4bc4f502a0ba87"></a>
  554. <h2 class="memtitle"><span class="permalink"><a href="#aa198707d0103967b7a4bc4f502a0ba87">&#9670;&nbsp;</a></span>operator==()</h2>
  555. <div class="memitem">
  556. <div class="memproto">
  557. <table class="memname">
  558. <tr>
  559. <td class="memname">bool door::ANSIColor::operator== </td>
  560. <td>(</td>
  561. <td class="paramtype">const <a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a> &amp;&#160;</td>
  562. <td class="paramname"><em>c</em></td><td>)</td>
  563. <td> const</td>
  564. </tr>
  565. </table>
  566. </div><div class="memdoc">
  567. <p>Equal operator.</p>
  568. <p>This compares colors and attributes, but ignores reset.</p>
  569. <dl class="params"><dt>Parameters</dt><dd>
  570. <table class="params">
  571. <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> &amp; </td></tr>
  572. </table>
  573. </dd>
  574. </dl>
  575. <dl class="section return"><dt>Returns</dt><dd>bool </dd></dl>
  576. </div>
  577. </div>
  578. <a id="ae930abd27910b37e4ade719d10ae3a0e"></a>
  579. <h2 class="memtitle"><span class="permalink"><a href="#ae930abd27910b37e4ade719d10ae3a0e">&#9670;&nbsp;</a></span>output() <span class="overload">[1/2]</span></h2>
  580. <div class="memitem">
  581. <div class="memproto">
  582. <table class="memname">
  583. <tr>
  584. <td class="memname">std::string door::ANSIColor::output </td>
  585. <td>(</td>
  586. <td class="paramtype"><a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a> &amp;&#160;</td>
  587. <td class="paramname"><em>previous</em></td><td>)</td>
  588. <td> const</td>
  589. </tr>
  590. </table>
  591. </div><div class="memdoc">
  592. <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>
  593. <p>This sets previous to the current upon completion. </p>
  594. </div>
  595. </div>
  596. <a id="a24c97bd59b2a17cca37512dea5d21505"></a>
  597. <h2 class="memtitle"><span class="permalink"><a href="#a24c97bd59b2a17cca37512dea5d21505">&#9670;&nbsp;</a></span>output() <span class="overload">[2/2]</span></h2>
  598. <div class="memitem">
  599. <div class="memproto">
  600. <table class="memname">
  601. <tr>
  602. <td class="memname">std::string door::ANSIColor::output </td>
  603. <td>(</td>
  604. <td class="paramtype">void&#160;</td>
  605. <td class="paramname"></td><td>)</td>
  606. <td> const</td>
  607. </tr>
  608. </table>
  609. </div><div class="memdoc">
  610. <p>Output the full ANSI codes for attributes and color. This does not look at the previous values. </p>
  611. </div>
  612. </div>
  613. <a id="adb4561a6482b66b7efcd18b3257102f1"></a>
  614. <h2 class="memtitle"><span class="permalink"><a href="#adb4561a6482b66b7efcd18b3257102f1">&#9670;&nbsp;</a></span>setBg()</h2>
  615. <div class="memitem">
  616. <div class="memproto">
  617. <table class="memname">
  618. <tr>
  619. <td class="memname">void door::ANSIColor::setBg </td>
  620. <td>(</td>
  621. <td class="paramtype"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a>&#160;</td>
  622. <td class="paramname"><em>b</em></td><td>)</td>
  623. <td></td>
  624. </tr>
  625. </table>
  626. </div><div class="memdoc">
  627. <p>Set background color. </p>
  628. <dl class="params"><dt>Parameters</dt><dd>
  629. <table class="params">
  630. <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>background COLOR </td></tr>
  631. </table>
  632. </dd>
  633. </dl>
  634. </div>
  635. </div>
  636. <a id="a43c2ea9694f74c60f7ac2a396727bd15"></a>
  637. <h2 class="memtitle"><span class="permalink"><a href="#a43c2ea9694f74c60f7ac2a396727bd15">&#9670;&nbsp;</a></span>setFg() <span class="overload">[1/2]</span></h2>
  638. <div class="memitem">
  639. <div class="memproto">
  640. <table class="memname">
  641. <tr>
  642. <td class="memname">void door::ANSIColor::setFg </td>
  643. <td>(</td>
  644. <td class="paramtype"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a>&#160;</td>
  645. <td class="paramname"><em>f</em></td><td>)</td>
  646. <td></td>
  647. </tr>
  648. </table>
  649. </div><div class="memdoc">
  650. <p>Set foreground color. </p>
  651. <dl class="params"><dt>Parameters</dt><dd>
  652. <table class="params">
  653. <tr><td class="paramdir">[in]</td><td class="paramname">f</td><td>foreground COLOR </td></tr>
  654. </table>
  655. </dd>
  656. </dl>
  657. </div>
  658. </div>
  659. <a id="ae6c5802a97d8a4f1b2a592da678845af"></a>
  660. <h2 class="memtitle"><span class="permalink"><a href="#ae6c5802a97d8a4f1b2a592da678845af">&#9670;&nbsp;</a></span>setFg() <span class="overload">[2/2]</span></h2>
  661. <div class="memitem">
  662. <div class="memproto">
  663. <table class="memname">
  664. <tr>
  665. <td class="memname">void door::ANSIColor::setFg </td>
  666. <td>(</td>
  667. <td class="paramtype"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a>&#160;</td>
  668. <td class="paramname"><em>f</em>, </td>
  669. </tr>
  670. <tr>
  671. <td class="paramkey"></td>
  672. <td></td>
  673. <td class="paramtype"><a class="el" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a>&#160;</td>
  674. <td class="paramname"><em>a</em>&#160;</td>
  675. </tr>
  676. <tr>
  677. <td></td>
  678. <td>)</td>
  679. <td></td><td></td>
  680. </tr>
  681. </table>
  682. </div><div class="memdoc">
  683. <p>Set foreground color and attribute. </p>
  684. <dl class="params"><dt>Parameters</dt><dd>
  685. <table class="params">
  686. <tr><td class="paramdir">[in]</td><td class="paramname">f</td><td>foreground COLOR </td></tr>
  687. <tr><td class="paramdir">[in]</td><td class="paramname">a</td><td>ATTR </td></tr>
  688. </table>
  689. </dd>
  690. </dl>
  691. </div>
  692. </div>
  693. <h2 class="groupheader">Friends And Related Function Documentation</h2>
  694. <a id="ad658a59d371bc8582411ada281c50822"></a>
  695. <h2 class="memtitle"><span class="permalink"><a href="#ad658a59d371bc8582411ada281c50822">&#9670;&nbsp;</a></span>operator&lt;&lt;</h2>
  696. <div class="memitem">
  697. <div class="memproto">
  698. <table class="mlabels">
  699. <tr>
  700. <td class="mlabels-left">
  701. <table class="memname">
  702. <tr>
  703. <td class="memname">std::ostream&amp; operator&lt;&lt; </td>
  704. <td>(</td>
  705. <td class="paramtype">std::ostream &amp;&#160;</td>
  706. <td class="paramname"><em>os</em>, </td>
  707. </tr>
  708. <tr>
  709. <td class="paramkey"></td>
  710. <td></td>
  711. <td class="paramtype">const <a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a> &amp;&#160;</td>
  712. <td class="paramname"><em>c</em>&#160;</td>
  713. </tr>
  714. <tr>
  715. <td></td>
  716. <td>)</td>
  717. <td></td><td></td>
  718. </tr>
  719. </table>
  720. </td>
  721. <td class="mlabels-right">
  722. <span class="mlabels"><span class="mlabel">friend</span></span> </td>
  723. </tr>
  724. </table>
  725. </div><div class="memdoc">
  726. <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>
  727. </div>
  728. </div>
  729. <h2 class="groupheader">Member Data Documentation</h2>
  730. <a id="ade7213fff53121cefba77d4f8a187a64"></a>
  731. <h2 class="memtitle"><span class="permalink"><a href="#ade7213fff53121cefba77d4f8a187a64">&#9670;&nbsp;</a></span>bg</h2>
  732. <div class="memitem">
  733. <div class="memproto">
  734. <table class="mlabels">
  735. <tr>
  736. <td class="mlabels-left">
  737. <table class="memname">
  738. <tr>
  739. <td class="memname"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> door::ANSIColor::bg</td>
  740. </tr>
  741. </table>
  742. </td>
  743. <td class="mlabels-right">
  744. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  745. </tr>
  746. </table>
  747. </div><div class="memdoc">
  748. <p>Background color </p>
  749. </div>
  750. </div>
  751. <a id="af0c0998c248520613f87638f02ef48d8"></a>
  752. <h2 class="memtitle"><span class="permalink"><a href="#af0c0998c248520613f87638f02ef48d8">&#9670;&nbsp;</a></span>blink</h2>
  753. <div class="memitem">
  754. <div class="memproto">
  755. <table class="mlabels">
  756. <tr>
  757. <td class="mlabels-left">
  758. <table class="memname">
  759. <tr>
  760. <td class="memname">unsigned int door::ANSIColor::blink</td>
  761. </tr>
  762. </table>
  763. </td>
  764. <td class="mlabels-right">
  765. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  766. </tr>
  767. </table>
  768. </div><div class="memdoc">
  769. <p>blink slow blinking text </p>
  770. </div>
  771. </div>
  772. <a id="a0d990141b78cb8264de9cab06dc1e8cf"></a>
  773. <h2 class="memtitle"><span class="permalink"><a href="#a0d990141b78cb8264de9cab06dc1e8cf">&#9670;&nbsp;</a></span>bold</h2>
  774. <div class="memitem">
  775. <div class="memproto">
  776. <table class="mlabels">
  777. <tr>
  778. <td class="mlabels-left">
  779. <table class="memname">
  780. <tr>
  781. <td class="memname">unsigned int door::ANSIColor::bold</td>
  782. </tr>
  783. </table>
  784. </td>
  785. <td class="mlabels-right">
  786. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  787. </tr>
  788. </table>
  789. </div><div class="memdoc">
  790. <p>bold / bright flag </p>
  791. </div>
  792. </div>
  793. <a id="aa11de87d84c864dcb1ee26042a28e519"></a>
  794. <h2 class="memtitle"><span class="permalink"><a href="#aa11de87d84c864dcb1ee26042a28e519">&#9670;&nbsp;</a></span>fg</h2>
  795. <div class="memitem">
  796. <div class="memproto">
  797. <table class="mlabels">
  798. <tr>
  799. <td class="mlabels-left">
  800. <table class="memname">
  801. <tr>
  802. <td class="memname"><a class="el" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> door::ANSIColor::fg</td>
  803. </tr>
  804. </table>
  805. </td>
  806. <td class="mlabels-right">
  807. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  808. </tr>
  809. </table>
  810. </div><div class="memdoc">
  811. <p>Foreground color </p>
  812. </div>
  813. </div>
  814. <a id="a9413c8c99a7ff96f1374e886946791a5"></a>
  815. <h2 class="memtitle"><span class="permalink"><a href="#a9413c8c99a7ff96f1374e886946791a5">&#9670;&nbsp;</a></span>inverse</h2>
  816. <div class="memitem">
  817. <div class="memproto">
  818. <table class="mlabels">
  819. <tr>
  820. <td class="mlabels-left">
  821. <table class="memname">
  822. <tr>
  823. <td class="memname">unsigned int door::ANSIColor::inverse</td>
  824. </tr>
  825. </table>
  826. </td>
  827. <td class="mlabels-right">
  828. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  829. </tr>
  830. </table>
  831. </div><div class="memdoc">
  832. <p>inverse </p>
  833. </div>
  834. </div>
  835. <a id="aae86353583a08ca1d9fa4f7bb366a805"></a>
  836. <h2 class="memtitle"><span class="permalink"><a href="#aae86353583a08ca1d9fa4f7bb366a805">&#9670;&nbsp;</a></span>reset</h2>
  837. <div class="memitem">
  838. <div class="memproto">
  839. <table class="mlabels">
  840. <tr>
  841. <td class="mlabels-left">
  842. <table class="memname">
  843. <tr>
  844. <td class="memname">unsigned int door::ANSIColor::reset</td>
  845. </tr>
  846. </table>
  847. </td>
  848. <td class="mlabels-right">
  849. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  850. </tr>
  851. </table>
  852. </div><div class="memdoc">
  853. <p>reset flag / always send color and attributes </p>
  854. </div>
  855. </div>
  856. <hr/>The documentation for this class was generated from the following files:<ul>
  857. <li><a class="el" href="door_8h_source.html">door.h</a></li>
  858. <li><a class="el" href="ansicolor_8cpp.html">ansicolor.cpp</a></li>
  859. </ul>
  860. </div><!-- contents -->
  861. <!-- start footer part -->
  862. <hr class="footer"/><address class="footer"><small>
  863. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  864. <img class="footer" src="doxygen.png" alt="doxygen"/>
  865. </a> 1.8.17
  866. </small></address>
  867. </body>
  868. </html>