door_8h_source.html 151 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770
  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.h Source File</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. </div><!-- top -->
  49. <!-- window showing the filter options -->
  50. <div id="MSearchSelectWindow"
  51. onmouseover="return searchBox.OnSearchSelectShow()"
  52. onmouseout="return searchBox.OnSearchSelectHide()"
  53. onkeydown="return searchBox.OnSearchSelectKey(event)">
  54. </div>
  55. <!-- iframe showing the search results (closed by default) -->
  56. <div id="MSearchResultsWindow">
  57. <iframe src="javascript:void(0)" frameborder="0"
  58. name="MSearchResults" id="MSearchResults">
  59. </iframe>
  60. </div>
  61. <div class="header">
  62. <div class="headertitle">
  63. <div class="title">door.h</div> </div>
  64. </div><!--header-->
  65. <div class="contents">
  66. <div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef DOOR_H</span></div>
  67. <div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#define DOOR_H</span></div>
  68. <div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160; </div>
  69. <div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &quot;anyoption.h&quot;</span></div>
  70. <div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#include &lt;cstdint&gt;</span></div>
  71. <div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#include &lt;ctime&gt;</span></div>
  72. <div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="preprocessor">#include &lt;fstream&gt;</span></div>
  73. <div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="preprocessor">#include &lt;functional&gt;</span></div>
  74. <div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor">#include &lt;future&gt;</span></div>
  75. <div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div>
  76. <div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#include &lt;list&gt;</span></div>
  77. <div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div>
  78. <div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#include &lt;ostream&gt;</span></div>
  79. <div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
  80. <div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; </div>
  81. <div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment">// raw mode</span></div>
  82. <div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#include &lt;termios.h&gt;</span></div>
  83. <div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &lt;unistd.h&gt;</span></div>
  84. <div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; </div>
  85. <div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#define CSI &quot;\x1b[&quot;</span></div>
  86. <div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; </div>
  87. <div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment">// getkey definitions</span></div>
  88. <div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#define XKEY_START 0x1000</span></div>
  89. <div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; </div>
  90. <div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#define XKEY_UP_ARROW 0x1001</span></div>
  91. <div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#define XKEY_DOWN_ARROW 0x1002</span></div>
  92. <div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#define XKEY_RIGHT_ARROW 0x1003</span></div>
  93. <div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#define XKEY_LEFT_ARROW 0x1004</span></div>
  94. <div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; </div>
  95. <div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#define XKEY_HOME 0x1010</span></div>
  96. <div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#define XKEY_END 0x1011</span></div>
  97. <div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#define XKEY_PGUP 0x1012</span></div>
  98. <div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#define XKEY_PGDN 0x1023</span></div>
  99. <div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#define XKEY_INSERT 0x1024</span></div>
  100. <div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#define XKEY_DELETE 0x7f</span></div>
  101. <div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; </div>
  102. <div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="preprocessor">#define XKEY_F1 0x1021</span></div>
  103. <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor">#define XKEY_F2 0x1022</span></div>
  104. <div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="preprocessor">#define XKEY_F3 0x1023</span></div>
  105. <div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="preprocessor">#define XKEY_F4 0x1024</span></div>
  106. <div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="preprocessor">#define XKEY_F5 0x1025</span></div>
  107. <div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="preprocessor">#define XKEY_F6 0x1026</span></div>
  108. <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="preprocessor">#define XKEY_F7 0x1027</span></div>
  109. <div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="preprocessor">#define XKEY_F8 0x1028</span></div>
  110. <div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="preprocessor">#define XKEY_F9 0x1029</span></div>
  111. <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="preprocessor">#define XKEY_F10 0x102a</span></div>
  112. <div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="preprocessor">#define XKEY_F11 0x102b</span></div>
  113. <div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="preprocessor">#define XKEY_F12 0x102c</span></div>
  114. <div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; </div>
  115. <div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="preprocessor">#define XKEY_UNKNOWN 0x1111</span></div>
  116. <div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; </div>
  117. <div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="preprocessor">#define TIMEOUT -1</span></div>
  118. <div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="preprocessor">#define HANGUP -2</span></div>
  119. <div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="preprocessor">#define OUTOFTIME -3</span></div>
  120. <div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; </div>
  121. <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacedoor.html">door</a> {</div>
  122. <div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; </div>
  123. <div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">bool</span> <a class="code" href="namespacedoor.html#a1626abff63f7a1b9dc696969c860283b">unicode</a>;</div>
  124. <div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">bool</span> <a class="code" href="namespacedoor.html#aeade8b521c7f95755fdb166727c2b87c">full_cp437</a>;</div>
  125. <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">bool</span> <a class="code" href="namespacedoor.html#ac39a1dfdb8dec210d28133625f860bc1">debug_capture</a>;</div>
  126. <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;<span class="keyword">extern</span> std::list&lt;char&gt; <a class="code" href="namespacedoor.html#a64600b79b9b73f4705859ce4efb1a2fd">pushback</a>;</div>
  127. <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; </div>
  128. <div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="comment">/*</span></div>
  129. <div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="comment">Translate CP437 strings to unicode for output.</span></div>
  130. <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<span class="comment"></span> </div>
  131. <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="comment">if (door::unicode) {</span></div>
  132. <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="comment"> // perform translation</span></div>
  133. <div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="comment">}</span></div>
  134. <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="comment"></span> </div>
  135. <div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<span class="comment"> */</span></div>
  136. <div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespacedoor.html#a5efa4fb96eacd6b90e5cbb0bd985f3fc">cp437toUnicode</a>(std::string input, std::string &amp;out);</div>
  137. <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespacedoor.html#a5efa4fb96eacd6b90e5cbb0bd985f3fc">cp437toUnicode</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *input, std::string &amp;out);</div>
  138. <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; </div>
  139. <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;<span class="comment">/*</span></div>
  140. <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;<span class="comment">door 2.0</span></div>
  141. <div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;<span class="comment"> */</span></div>
  142. <div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; </div>
  143. <div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366"> 90</a></span>&#160;<span class="keyword">enum class</span> <a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> : std::int8_t {</div>
  144. <div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366a08d0012388564e95c3b4a7407cf04965">BLACK</a>,</div>
  145. <div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366aa2d9547b5d3dd9f05984475f7c926da0">RED</a>,</div>
  146. <div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366a9de0e5dd94e861317e74964bed179fa0">GREEN</a>,</div>
  147. <div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366a493cacf6f6a2ae4798b319b8b9ba9488">BROWN</a>,</div>
  148. <div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366a8a568e5f41b7e4da88fe5c4a00aad34e">YELLOW</a> = 3,</div>
  149. <div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366a1b3e1ee9bff86431dea6b181365ba65f">BLUE</a>,</div>
  150. <div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366ac634ffea7195608364671ac52ee59a61">MAGENTA</a>,</div>
  151. <div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366a344dd8cd533280795b9db82ef0c92749">CYAN</a>,</div>
  152. <div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366ab5bf627e448384cf3a4c35121ca6008d">WHITE</a></div>
  153. <div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;};</div>
  154. <div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; </div>
  155. <div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52"> 114</a></span>&#160;<span class="keyword">enum class</span> <a class="code" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> : std::int8_t {</div>
  156. <div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <a class="code" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52ab5859d8721cfdc0312b2838b9c985bc1">RESET</a>,</div>
  157. <div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <a class="code" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52a2909dd0e0336f10b6da9735b859a3d19">BOLD</a>,</div>
  158. <div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <a class="code" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52aca78b38b9fe41e51b331abe6999a1040">BRIGHT</a> = 1,</div>
  159. <div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <a class="code" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52ad810ed8e97088a3c987f179dfb88cefc">BLINK</a> = 5,</div>
  160. <div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <a class="code" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52a1955bdc302911f376074eb9b02e56639">INVERSE</a> = 7</div>
  161. <div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;};</div>
  162. <div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; </div>
  163. <div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="classdoor_1_1ANSIColor.html"> 137</a></span>&#160;<span class="keyword">class </span><a class="code" href="classdoor_1_1ANSIColor.html">ANSIColor</a> {</div>
  164. <div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="classdoor_1_1ANSIColor.html#aa11de87d84c864dcb1ee26042a28e519"> 139</a></span>&#160; <a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> <a class="code" href="classdoor_1_1ANSIColor.html#aa11de87d84c864dcb1ee26042a28e519">fg</a>;</div>
  165. <div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="classdoor_1_1ANSIColor.html#ade7213fff53121cefba77d4f8a187a64"> 141</a></span>&#160; <a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> <a class="code" href="classdoor_1_1ANSIColor.html#ade7213fff53121cefba77d4f8a187a64">bg</a>;</div>
  166. <div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <span class="comment">// Track attributes (ATTR)</span></div>
  167. <div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="classdoor_1_1ANSIColor.html#aae86353583a08ca1d9fa4f7bb366a805"> 144</a></span>&#160;<span class="comment"></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classdoor_1_1ANSIColor.html#aae86353583a08ca1d9fa4f7bb366a805">reset</a> : 1;</div>
  168. <div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="classdoor_1_1ANSIColor.html#a0d990141b78cb8264de9cab06dc1e8cf"> 146</a></span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classdoor_1_1ANSIColor.html#a0d990141b78cb8264de9cab06dc1e8cf">bold</a> : 1;</div>
  169. <div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="classdoor_1_1ANSIColor.html#af0c0998c248520613f87638f02ef48d8"> 148</a></span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classdoor_1_1ANSIColor.html#af0c0998c248520613f87638f02ef48d8">blink</a> : 1;</div>
  170. <div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="classdoor_1_1ANSIColor.html#a9413c8c99a7ff96f1374e886946791a5"> 150</a></span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classdoor_1_1ANSIColor.html#a9413c8c99a7ff96f1374e886946791a5">inverse</a> : 1;</div>
  171. <div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; </div>
  172. <div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;<span class="keyword">public</span>:</div>
  173. <div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <a class="code" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor</a>();</div>
  174. <div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <a class="code" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor</a>(<a class="code" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> a);</div>
  175. <div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <a class="code" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor</a>(<a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> f);</div>
  176. <div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <a class="code" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor</a>(<a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> f, <a class="code" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> a);</div>
  177. <div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <a class="code" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor</a>(<a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> f, <a class="code" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> a1, <a class="code" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> a2);</div>
  178. <div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <a class="code" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor</a>(<a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> f, <a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> b);</div>
  179. <div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <a class="code" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor</a>(<a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> f, <a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> b, <a class="code" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> a);</div>
  180. <div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <a class="code" href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">ANSIColor</a>(<a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> f, <a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> b, <a class="code" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> a1, <a class="code" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> a2);</div>
  181. <div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <a class="code" href="classdoor_1_1ANSIColor.html">ANSIColor</a> &amp;<a class="code" href="classdoor_1_1ANSIColor.html#a9bc92fe3929de0d16f44ba4fb1837dd7">Attr</a>(<a class="code" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> a);</div>
  182. <div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classdoor_1_1ANSIColor.html#aa198707d0103967b7a4bc4f502a0ba87">operator==</a>(<span class="keyword">const</span> <a class="code" href="classdoor_1_1ANSIColor.html">ANSIColor</a> &amp;c) <span class="keyword">const</span>;</div>
  183. <div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classdoor_1_1ANSIColor.html#a5d2d818d1922bcb8b73ccdaf639ca2cd">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classdoor_1_1ANSIColor.html">ANSIColor</a> &amp;c) <span class="keyword">const</span>;</div>
  184. <div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classdoor_1_1ANSIColor.html#a43c2ea9694f74c60f7ac2a396727bd15">setFg</a>(<a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> f);</div>
  185. <div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classdoor_1_1ANSIColor.html#a43c2ea9694f74c60f7ac2a396727bd15">setFg</a>(<a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> f, <a class="code" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> a);</div>
  186. <div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classdoor_1_1ANSIColor.html#adb4561a6482b66b7efcd18b3257102f1">setBg</a>(<a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> b);</div>
  187. <div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="classdoor_1_1ANSIColor.html#a3f724fb65d51b13e4c086e5fa90a5d35"> 171</a></span>&#160; <a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> <a class="code" href="classdoor_1_1ANSIColor.html#a3f724fb65d51b13e4c086e5fa90a5d35">getFg</a>() { <span class="keywordflow">return</span> <a class="code" href="classdoor_1_1ANSIColor.html#aa11de87d84c864dcb1ee26042a28e519">fg</a>; };</div>
  188. <div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="classdoor_1_1ANSIColor.html#aca2261a9b173cc87586db6784e03e6b5"> 176</a></span>&#160; <a class="code" href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">COLOR</a> <a class="code" href="classdoor_1_1ANSIColor.html#aca2261a9b173cc87586db6784e03e6b5">getBg</a>() { <span class="keywordflow">return</span> <a class="code" href="classdoor_1_1ANSIColor.html#ade7213fff53121cefba77d4f8a187a64">bg</a>; };</div>
  189. <div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classdoor_1_1ANSIColor.html#a46b5dc8b9d373233000bbc0e45c33825">attr</a>(<a class="code" href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">ATTR</a> a);</div>
  190. <div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; </div>
  191. <div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; std::string <a class="code" href="classdoor_1_1ANSIColor.html#a24c97bd59b2a17cca37512dea5d21505">output</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
  192. <div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; std::string <a class="code" href="classdoor_1_1ANSIColor.html#a027158ac3cd42c2c72f86c0b57db5c84">debug</a>(<span class="keywordtype">void</span>);</div>
  193. <div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; std::string <a class="code" href="classdoor_1_1ANSIColor.html#a24c97bd59b2a17cca37512dea5d21505">output</a>(<a class="code" href="classdoor_1_1ANSIColor.html">ANSIColor</a> &amp;previous) <span class="keyword">const</span>;</div>
  194. <div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="keyword">friend</span> std::ostream &amp;<a class="code" href="classdoor_1_1ANSIColor.html#ad658a59d371bc8582411ada281c50822">operator&lt;&lt;</a>(std::ostream &amp;os, <span class="keyword">const</span> <a class="code" href="classdoor_1_1ANSIColor.html">ANSIColor</a> &amp;c);</div>
  195. <div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160;};</div>
  196. <div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; </div>
  197. <div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html"> 190</a></span>&#160;<span class="keyword">class </span><a class="code" href="classdoor_1_1Door.html">Door</a> : <span class="keyword">public</span> std::ostream, <span class="keyword">private</span> std::streambuf {</div>
  198. <div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; </div>
  199. <div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160;<span class="keyword">private</span>:</div>
  200. <div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; std::streamsize <a class="code" href="classdoor_1_1Door.html#aad67bdb165987c4e3133a0f12f2b2b33">xsputn</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *s, std::streamsize n) <span class="keyword">override</span>;</div>
  201. <div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; <span class="keywordtype">int</span> <a class="code" href="classdoor_1_1Door.html#a264d9e4eb0d6eb0e03f60520bcb11dd4">overflow</a>(<span class="keywordtype">int</span> c) <span class="keyword">override</span>;</div>
  202. <div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#a7660c60172a692036907d431ae2006f8"> 196</a></span>&#160; std::string <a class="code" href="classdoor_1_1Door.html#a7660c60172a692036907d431ae2006f8">doorname</a>;</div>
  203. <div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classdoor_1_1Door.html#a30663f319df84ef33658b593b41b06a2">parse_dropfile</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *filepath);</div>
  204. <div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; <span class="keywordtype">void</span> init(<span class="keywordtype">void</span>);</div>
  205. <div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; std::time_t startup;</div>
  206. <div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#ac9694a43baa3f7a8c0aaea15910b2afc"> 201</a></span>&#160; <span class="keyword">struct </span>termios <a class="code" href="classdoor_1_1Door.html#ac9694a43baa3f7a8c0aaea15910b2afc">tio_default</a>;</div>
  207. <div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; <span class="keywordtype">signed</span> <span class="keywordtype">int</span> <a class="code" href="classdoor_1_1Door.html#a7671e29e45d346657b5bd5d66f569737">getch</a>(<span class="keywordtype">void</span>);</div>
  208. <div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <span class="keywordtype">signed</span> <span class="keywordtype">int</span> <a class="code" href="classdoor_1_1Door.html#a7dd4913cdfb13f0938888adaab363e93">getkey_or_pushback</a>(<span class="keywordtype">void</span>);</div>
  209. <div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#ab72706c45d0d143c30dbe61f4e9f6a68"> 205</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classdoor_1_1Door.html#ab72706c45d0d143c30dbe61f4e9f6a68">has_dropfile</a>;</div>
  210. <div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <span class="keywordtype">bool</span> debugging;</div>
  211. <div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#acd2e33e65d7ccac7c46e0c7fa6b3a407"> 208</a></span>&#160; std::string <a class="code" href="classdoor_1_1Door.html#acd2e33e65d7ccac7c46e0c7fa6b3a407">dropfilename</a>;</div>
  212. <div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#a3d83225897fcc51bf883170ba6f6963f"> 210</a></span>&#160; vector&lt;std::string&gt; <a class="code" href="classdoor_1_1Door.html#a3d83225897fcc51bf883170ba6f6963f">dropfilelines</a>;</div>
  213. <div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#a2456a5f520ad5a005ec13bebbfb0774d"> 212</a></span>&#160; ofstream <a class="code" href="classdoor_1_1Door.html#a2456a5f520ad5a005ec13bebbfb0774d">logf</a>;</div>
  214. <div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classdoor_1_1Door.html#ac271b0be7c45192f1e5691b33b6703bb">detect_unicode_and_screen</a>(<span class="keywordtype">void</span>);</div>
  215. <div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#a65e014489e39390328fbf448a304d548"> 215</a></span>&#160; std::promise&lt;void&gt; <a class="code" href="classdoor_1_1Door.html#a65e014489e39390328fbf448a304d548">stop_thread</a>;</div>
  216. <div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; </div>
  217. <div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#a076ef095ae4e49acdb4afed0b413e430"> 218</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classdoor_1_1Door.html#a076ef095ae4e49acdb4afed0b413e430">seconds_elapsed</a>;</div>
  218. <div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; <span class="keywordtype">void</span> time_thread_run(std::future&lt;void&gt; future);</div>
  219. <div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#a76deeffd8b0df5112b6e4d03d9ebdd73"> 221</a></span>&#160; std::thread <a class="code" href="classdoor_1_1Door.html#a76deeffd8b0df5112b6e4d03d9ebdd73">time_thread</a>;</div>
  220. <div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; </div>
  221. <div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160;<span class="keyword">public</span>:</div>
  222. <div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; <a class="code" href="classdoor_1_1Door.html#a8f7dcac2dafd0e11d42ab227b7d1a2ba">Door</a>(std::string dname, <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> *argv[]);</div>
  223. <div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <a class="code" href="classdoor_1_1Door.html#a8f7dcac2dafd0e11d42ab227b7d1a2ba">Door</a>(<a class="code" href="classdoor_1_1Door.html">Door</a> &amp;) = <span class="keyword">delete</span>;</div>
  224. <div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; <span class="keyword">virtual</span> ~<a class="code" href="classdoor_1_1Door.html">Door</a>();</div>
  225. <div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; ofstream &amp;<a class="code" href="classdoor_1_1Door.html#a15d3f18b7165f348479344b897b6ed96">log</a>(<span class="keywordtype">void</span>);</div>
  226. <div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#a7e9aa4c92094271c40d67979b087d36b"> 229</a></span>&#160; AnyOption <a class="code" href="classdoor_1_1Door.html#a7e9aa4c92094271c40d67979b087d36b">opt</a>;</div>
  227. <div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#ae0e34a59d92ec9d70720fd90380b4223"> 231</a></span>&#160; std::string <a class="code" href="classdoor_1_1Door.html#ae0e34a59d92ec9d70720fd90380b4223">debug_buffer</a>;</div>
  228. <div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; </div>
  229. <div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#adf76d445797eb513020a60f786f65767"> 238</a></span>&#160; <a class="code" href="classdoor_1_1ANSIColor.html">ANSIColor</a> <a class="code" href="classdoor_1_1Door.html#adf76d445797eb513020a60f786f65767">previous</a>;</div>
  230. <div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#abc021f4f29b9f78356641ba68df3ee4a"> 240</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classdoor_1_1Door.html#abc021f4f29b9f78356641ba68df3ee4a">track</a>;</div>
  231. <div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#a18b8c731b27e23d6913c0ad683a37ce7"> 242</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classdoor_1_1Door.html#a18b8c731b27e23d6913c0ad683a37ce7">cx</a>;</div>
  232. <div class="line"><a name="l00244"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#ae3030f754f5c183c0739ca899f5d351c"> 244</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classdoor_1_1Door.html#ae3030f754f5c183c0739ca899f5d351c">cy</a>;</div>
  233. <div class="line"><a name="l00246"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#a773004acf25257a8e384bc6333b3e169"> 246</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classdoor_1_1Door.html#a773004acf25257a8e384bc6333b3e169">width</a>;</div>
  234. <div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#ad6b79329830e41ba0ee960b01804a383"> 248</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classdoor_1_1Door.html#ad6b79329830e41ba0ee960b01804a383">height</a>;</div>
  235. <div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#a9190e804f05c37523aad88e5ebb0f826"> 255</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classdoor_1_1Door.html#a9190e804f05c37523aad88e5ebb0f826">inactivity</a>;</div>
  236. <div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#aaeb090ff9afcae8ea0a15416eae84850"> 257</a></span>&#160; std::string <a class="code" href="classdoor_1_1Door.html#aaeb090ff9afcae8ea0a15416eae84850">username</a>;</div>
  237. <div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#af9732845ca55a168cb03400486e47a37"> 259</a></span>&#160; std::string <a class="code" href="classdoor_1_1Door.html#af9732845ca55a168cb03400486e47a37">handle</a>;</div>
  238. <div class="line"><a name="l00261"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#a4542fd79a3669c8bf7b2354bebb8d4df"> 261</a></span>&#160; std::string <a class="code" href="classdoor_1_1Door.html#a4542fd79a3669c8bf7b2354bebb8d4df">location</a>;</div>
  239. <div class="line"><a name="l00263"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#ad774c3579cd2cff08dcbd5c565bc9b70"> 263</a></span>&#160; std::string <a class="code" href="classdoor_1_1Door.html#ad774c3579cd2cff08dcbd5c565bc9b70">sysop</a>;</div>
  240. <div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; <span class="comment">// std::string bbsname;</span></div>
  241. <div class="line"><a name="l00266"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#ac617cee68cc0993ff5c294d06023b19b"> 266</a></span>&#160;<span class="comment"></span> <span class="keywordtype">int</span> <a class="code" href="classdoor_1_1Door.html#ac617cee68cc0993ff5c294d06023b19b">node</a>;</div>
  242. <div class="line"><a name="l00268"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#a459531d32a3208856979ebcdeb7c6aed"> 268</a></span>&#160; atomic&lt;int&gt; <a class="code" href="classdoor_1_1Door.html#a459531d32a3208856979ebcdeb7c6aed">time_left</a>;</div>
  243. <div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="classdoor_1_1Door.html#aafaad41e8f04b9df6466f512d4893d82"> 270</a></span>&#160; atomic&lt;int&gt; <a class="code" href="classdoor_1_1Door.html#aafaad41e8f04b9df6466f512d4893d82">time_used</a>;</div>
  244. <div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; </div>
  245. <div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; <span class="keywordtype">signed</span> <span class="keywordtype">int</span> <a class="code" href="classdoor_1_1Door.html#a10d40a7089473c72c1acf5a987777404">getkey</a>(<span class="keywordtype">void</span>);</div>
  246. <div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classdoor_1_1Door.html#adb2006e73645885986d5487eb576fd21">haskey</a>(<span class="keywordtype">void</span>);</div>
  247. <div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; <span class="keywordtype">signed</span> <span class="keywordtype">int</span> <a class="code" href="classdoor_1_1Door.html#a092b281d63bb6ee0a3bee2ba77d78a47">sleep_key</a>(<span class="keywordtype">int</span> secs);</div>
  248. <div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; <span class="keywordtype">signed</span> <span class="keywordtype">int</span> <a class="code" href="classdoor_1_1Door.html#ae6d61a5be02656c0b9479715d0d980dd">sleep_ms_key</a>(<span class="keywordtype">int</span> msecs);</div>
  249. <div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; std::string <a class="code" href="classdoor_1_1Door.html#a93bbb3d1bfcec623e46ef47e6ba6b470">input_string</a>(<span class="keywordtype">int</span> max);</div>
  250. <div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; <span class="keywordtype">int</span> <a class="code" href="classdoor_1_1Door.html#aa807fbcea8d7e92f591d9f459f392232">get_one_of</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *keys);</div>
  251. <div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160;};</div>
  252. <div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; </div>
  253. <div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160;<span class="comment">// Use this to define the deprecated colorizer [POC]</span></div>
  254. <div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160;<span class="comment">// typedef std::function&lt;void(Door &amp;, std::string &amp;)&gt; colorFunction;</span></div>
  255. <div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; </div>
  256. <div class="line"><a name="l00291"></a><span class="lineno"><a class="line" href="classdoor_1_1ColorOutput.html"> 291</a></span>&#160;<span class="keyword">class </span><a class="code" href="classdoor_1_1ColorOutput.html">ColorOutput</a> {</div>
  257. <div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160;<span class="keyword">public</span>:</div>
  258. <div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; <a class="code" href="classdoor_1_1ColorOutput.html#a96cbbca21d2df9181925b121b57bef6b">ColorOutput</a>();</div>
  259. <div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classdoor_1_1ColorOutput.html#a37a1ffba5df591c2e68d4a491c471499">reset</a>(<span class="keywordtype">void</span>);</div>
  260. <div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; </div>
  261. <div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="classdoor_1_1ColorOutput.html#ab53af885b8b1a296d197866bd4844fb0"> 297</a></span>&#160; <a class="code" href="classdoor_1_1ANSIColor.html">ANSIColor</a> <a class="code" href="classdoor_1_1ColorOutput.html#ab53af885b8b1a296d197866bd4844fb0">c</a>;</div>
  262. <div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="classdoor_1_1ColorOutput.html#ae696879b2a42db7a21d698fad19fc918"> 299</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classdoor_1_1ColorOutput.html#ae696879b2a42db7a21d698fad19fc918">pos</a>;</div>
  263. <div class="line"><a name="l00301"></a><span class="lineno"><a class="line" href="classdoor_1_1ColorOutput.html#ab82c8458bcfa264fbfd7b7b6f367864d"> 301</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classdoor_1_1ColorOutput.html#ab82c8458bcfa264fbfd7b7b6f367864d">len</a>;</div>
  264. <div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160;};</div>
  265. <div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; </div>
  266. <div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160;<span class="comment">/*</span></div>
  267. <div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160;<span class="comment">No, don&#39;t do this.</span></div>
  268. <div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160;<span class="comment"></span> </div>
  269. <div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160;<span class="comment">Instead, return an iterator/generator.</span></div>
  270. <div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160;<span class="comment"> */</span></div>
  271. <div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160; </div>
  272. <div class="line"><a name="l00319"></a><span class="lineno"><a class="line" href="classdoor_1_1Render.html"> 319</a></span>&#160;<span class="keyword">class </span><a class="code" href="classdoor_1_1Render.html">Render</a> {</div>
  273. <div class="line"><a name="l00321"></a><span class="lineno"><a class="line" href="classdoor_1_1Render.html#afc2c16653f0241b3014911fa3604524e"> 321</a></span>&#160; std::string <a class="code" href="classdoor_1_1Render.html#afc2c16653f0241b3014911fa3604524e">text</a>;</div>
  274. <div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160; </div>
  275. <div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160;<span class="keyword">public</span>:</div>
  276. <div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160; <a class="code" href="classdoor_1_1Render.html#a6540ecf2f2f4a3e9eaeb47cc9c7daa00">Render</a>(<span class="keyword">const</span> std::string txt);</div>
  277. <div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160; </div>
  278. <div class="line"><a name="l00327"></a><span class="lineno"><a class="line" href="classdoor_1_1Render.html#a887fd73649a7e63257cc695e2756bc66"> 327</a></span>&#160; std::vector&lt;ColorOutput&gt; <a class="code" href="classdoor_1_1Render.html#a887fd73649a7e63257cc695e2756bc66">outputs</a>;</div>
  279. <div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classdoor_1_1Render.html#a9c32f938c06d5d6b87d238ba6072324e">append</a>(<a class="code" href="classdoor_1_1ANSIColor.html">ANSIColor</a> color, <span class="keywordtype">int</span> len = 1);</div>
  280. <div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classdoor_1_1Render.html#ae83a23641dde4dff29b5214ea1921f3b">output</a>(std::ostream &amp;os);</div>
  281. <div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160;};</div>
  282. <div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160; </div>
  283. <div class="line"><a name="l00355"></a><span class="lineno"><a class="line" href="namespacedoor.html#ad9c2405adaa0b5168bc53059b3a978c1"> 355</a></span>&#160;<span class="keyword">typedef</span> std::function&lt;<a class="code" href="classdoor_1_1Render.html">Render</a>(<span class="keyword">const</span> std::string &amp;)&gt; <a class="code" href="namespacedoor.html#ad9c2405adaa0b5168bc53059b3a978c1">renderFunction</a>;</div>
  284. <div class="line"><a name="l00356"></a><span class="lineno"> 356</span>&#160; </div>
  285. <div class="line"><a name="l00374"></a><span class="lineno"><a class="line" href="namespacedoor.html#adb2697f83f8ce701366e05ed72c97d6e"> 374</a></span>&#160;<span class="keyword">typedef</span> std::function&lt;std::string(<span class="keywordtype">void</span>)&gt; <a class="code" href="namespacedoor.html#adb2697f83f8ce701366e05ed72c97d6e">updateFunction</a>;</div>
  286. <div class="line"><a name="l00375"></a><span class="lineno"> 375</span>&#160; </div>
  287. <div class="line"><a name="l00381"></a><span class="lineno"><a class="line" href="classdoor_1_1Clrscr.html"> 381</a></span>&#160;<span class="keyword">class </span><a class="code" href="classdoor_1_1Clrscr.html">Clrscr</a> {</div>
  288. <div class="line"><a name="l00382"></a><span class="lineno"> 382</span>&#160;<span class="keyword">public</span>:</div>
  289. <div class="line"><a name="l00383"></a><span class="lineno"> 383</span>&#160; <a class="code" href="classdoor_1_1Clrscr.html#a0611278ef387fce25ce1a7771b65096a">Clrscr</a>(<span class="keywordtype">void</span>);</div>
  290. <div class="line"><a name="l00384"></a><span class="lineno"> 384</span>&#160; <span class="keyword">friend</span> std::ostream &amp;<a class="code" href="classdoor_1_1Clrscr.html#a1cc056058e52bb52343b17636e6fa5e0">operator&lt;&lt;</a>(std::ostream &amp;os, <span class="keyword">const</span> <a class="code" href="classdoor_1_1Clrscr.html">Clrscr</a> &amp;clr);</div>
  291. <div class="line"><a name="l00385"></a><span class="lineno"> 385</span>&#160;};</div>
  292. <div class="line"><a name="l00386"></a><span class="lineno"> 386</span>&#160; </div>
  293. <div class="line"><a name="l00391"></a><span class="lineno"> 391</span>&#160;<span class="keyword">extern</span> <a class="code" href="classdoor_1_1Clrscr.html">Clrscr</a> <a class="code" href="namespacedoor.html#ac70193caf66e4b9aed1529593727a6eb">cls</a>;</div>
  294. <div class="line"><a name="l00392"></a><span class="lineno"> 392</span>&#160; </div>
  295. <div class="line"><a name="l00398"></a><span class="lineno"><a class="line" href="classdoor_1_1NewLine.html"> 398</a></span>&#160;<span class="keyword">class </span><a class="code" href="classdoor_1_1NewLine.html">NewLine</a> {</div>
  296. <div class="line"><a name="l00399"></a><span class="lineno"> 399</span>&#160;<span class="keyword">public</span>:</div>
  297. <div class="line"><a name="l00400"></a><span class="lineno"> 400</span>&#160; <a class="code" href="classdoor_1_1NewLine.html#ae6439f66a0444e185cc06dfff1a0f74a">NewLine</a>(<span class="keywordtype">void</span>);</div>
  298. <div class="line"><a name="l00401"></a><span class="lineno"> 401</span>&#160; <span class="keyword">friend</span> std::ostream &amp;<a class="code" href="classdoor_1_1NewLine.html#afe2e2b066c6b919f9beb22fa6b9f362f">operator&lt;&lt;</a>(std::ostream &amp;os, <span class="keyword">const</span> <a class="code" href="classdoor_1_1NewLine.html">NewLine</a> &amp;<a class="code" href="namespacedoor.html#a36352ded72aee66b10e1bda6d3d8efb8">nl</a>);</div>
  299. <div class="line"><a name="l00402"></a><span class="lineno"> 402</span>&#160;};</div>
  300. <div class="line"><a name="l00403"></a><span class="lineno"> 403</span>&#160; </div>
  301. <div class="line"><a name="l00407"></a><span class="lineno"> 407</span>&#160;<span class="keyword">extern</span> <a class="code" href="classdoor_1_1NewLine.html">NewLine</a> <a class="code" href="namespacedoor.html#a36352ded72aee66b10e1bda6d3d8efb8">nl</a>;</div>
  302. <div class="line"><a name="l00408"></a><span class="lineno"> 408</span>&#160; </div>
  303. <div class="line"><a name="l00414"></a><span class="lineno"><a class="line" href="namespacedoor.html#ae3a70989c43f6cb3522308af748b4481"> 414</a></span>&#160;<span class="keyword">extern</span> <a class="code" href="classdoor_1_1ANSIColor.html">ANSIColor</a> <a class="code" href="namespacedoor.html#ae3a70989c43f6cb3522308af748b4481">reset</a>;</div>
  304. <div class="line"><a name="l00415"></a><span class="lineno"> 415</span>&#160; </div>
  305. <div class="line"><a name="l00417"></a><span class="lineno"><a class="line" href="namespacedoor.html#af025775fb0b68d66dc42ee3299444fb7"> 417</a></span>&#160;<span class="keyword">enum class</span> <a class="code" href="namespacedoor.html#af025775fb0b68d66dc42ee3299444fb7">Justify</a> { NONE, LEFT, RIGHT, CENTER };</div>
  306. <div class="line"><a name="l00418"></a><span class="lineno"> 418</span>&#160; </div>
  307. <div class="line"><a name="l00425"></a><span class="lineno"><a class="line" href="classdoor_1_1Goto.html"> 425</a></span>&#160;<span class="keyword">class </span><a class="code" href="classdoor_1_1Goto.html">Goto</a> {</div>
  308. <div class="line"><a name="l00427"></a><span class="lineno"><a class="line" href="classdoor_1_1Goto.html#ad7ec5ef329c85fd0be0110f628a9106a"> 427</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classdoor_1_1Goto.html#ad7ec5ef329c85fd0be0110f628a9106a">x</a>;</div>
  309. <div class="line"><a name="l00429"></a><span class="lineno"><a class="line" href="classdoor_1_1Goto.html#a2ef887a839d1542dc2b7bbcbc4cd0477"> 429</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classdoor_1_1Goto.html#a2ef887a839d1542dc2b7bbcbc4cd0477">y</a>;</div>
  310. <div class="line"><a name="l00430"></a><span class="lineno"> 430</span>&#160; </div>
  311. <div class="line"><a name="l00431"></a><span class="lineno"> 431</span>&#160;<span class="keyword">public</span>:</div>
  312. <div class="line"><a name="l00432"></a><span class="lineno"> 432</span>&#160; <a class="code" href="classdoor_1_1Goto.html#a099828631625d5b66bb8789510d849d7">Goto</a>(<span class="keywordtype">int</span> xpos, <span class="keywordtype">int</span> ypos);</div>
  313. <div class="line"><a name="l00436"></a><span class="lineno"> 436</span>&#160; <a class="code" href="classdoor_1_1Goto.html#a099828631625d5b66bb8789510d849d7">Goto</a>(<span class="keyword">const</span> <a class="code" href="classdoor_1_1Goto.html">Goto</a> &amp;) = <span class="keywordflow">default</span>;</div>
  314. <div class="line"><a name="l00437"></a><span class="lineno"> 437</span>&#160; <span class="keywordtype">void</span> set(<span class="keywordtype">int</span> xpos, <span class="keywordtype">int</span> ypos);</div>
  315. <div class="line"><a name="l00438"></a><span class="lineno"> 438</span>&#160; <span class="keyword">friend</span> std::ostream &amp;<a class="code" href="classdoor_1_1Goto.html#a21a0915b21cc762dc148f7ba6797229b">operator&lt;&lt;</a>(std::ostream &amp;os, <span class="keyword">const</span> <a class="code" href="classdoor_1_1Goto.html">Goto</a> &amp;g);</div>
  316. <div class="line"><a name="l00439"></a><span class="lineno"> 439</span>&#160;};</div>
  317. <div class="line"><a name="l00440"></a><span class="lineno"> 440</span>&#160; </div>
  318. <div class="line"><a name="l00441"></a><span class="lineno"> 441</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> <a class="code" href="namespacedoor.html#aa6a7c86274470fd22e45676ba6eebb36">SaveCursor</a>[];</div>
  319. <div class="line"><a name="l00442"></a><span class="lineno"> 442</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> <a class="code" href="namespacedoor.html#a1ae3caab423b38b35e887d79b5ac1811">RestoreCursor</a>[];</div>
  320. <div class="line"><a name="l00443"></a><span class="lineno"> 443</span>&#160; </div>
  321. <div class="line"><a name="l00444"></a><span class="lineno"> 444</span>&#160;<span class="preprocessor">#ifdef EXPERIMENTAL</span></div>
  322. <div class="line"><a name="l00445"></a><span class="lineno"> 445</span>&#160; </div>
  323. <div class="line"><a name="l00446"></a><span class="lineno"> 446</span>&#160;<span class="comment">/* should we try to derive a base class, so you can have multilines of</span></div>
  324. <div class="line"><a name="l00447"></a><span class="lineno"> 447</span>&#160;<span class="comment"> * multilines? */</span></div>
  325. <div class="line"><a name="l00448"></a><span class="lineno"> 448</span>&#160; </div>
  326. <div class="line"><a name="l00449"></a><span class="lineno"> 449</span>&#160;<span class="keyword">class </span>LineBase {</div>
  327. <div class="line"><a name="l00450"></a><span class="lineno"> 450</span>&#160;<span class="keyword">public</span>:</div>
  328. <div class="line"><a name="l00451"></a><span class="lineno"> 451</span>&#160; <span class="keyword">virtual</span> ~LineBase() = <span class="keywordflow">default</span>;</div>
  329. <div class="line"><a name="l00452"></a><span class="lineno"> 452</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> update(<span class="keywordtype">void</span>) = 0;</div>
  330. <div class="line"><a name="l00453"></a><span class="lineno"> 453</span>&#160; <span class="comment">// friend std::ostream &amp;operator&lt;&lt;(std::ostream &amp;os, const LineBase &amp;lb) = 0;</span></div>
  331. <div class="line"><a name="l00454"></a><span class="lineno"> 454</span>&#160;};</div>
  332. <div class="line"><a name="l00455"></a><span class="lineno"> 455</span>&#160; </div>
  333. <div class="line"><a name="l00456"></a><span class="lineno"> 456</span>&#160;<span class="keyword">class </span>BasicLine {</div>
  334. <div class="line"><a name="l00457"></a><span class="lineno"> 457</span>&#160;<span class="keyword">private</span>:</div>
  335. <div class="line"><a name="l00458"></a><span class="lineno"> 458</span>&#160; std::string text;</div>
  336. <div class="line"><a name="l00459"></a><span class="lineno"> 459</span>&#160; <span class="keywordtype">bool</span> hasColor;</div>
  337. <div class="line"><a name="l00460"></a><span class="lineno"> 460</span>&#160; ANSIColor color;</div>
  338. <div class="line"><a name="l00462"></a><span class="lineno"> 462</span>&#160; <a class="code" href="namespacedoor.html#ad9c2405adaa0b5168bc53059b3a978c1">renderFunction</a> render;</div>
  339. <div class="line"><a name="l00464"></a><span class="lineno"> 464</span>&#160; <a class="code" href="namespacedoor.html#adb2697f83f8ce701366e05ed72c97d6e">updateFunction</a> updater;</div>
  340. <div class="line"><a name="l00465"></a><span class="lineno"> 465</span>&#160; </div>
  341. <div class="line"><a name="l00466"></a><span class="lineno"> 466</span>&#160;<span class="keyword">public</span>:</div>
  342. <div class="line"><a name="l00467"></a><span class="lineno"> 467</span>&#160; BasicLine(std::string txt);</div>
  343. <div class="line"><a name="l00468"></a><span class="lineno"> 468</span>&#160; BasicLine(std::string txt, ANSIColor c);</div>
  344. <div class="line"><a name="l00469"></a><span class="lineno"> 469</span>&#160; BasicLine(<span class="keyword">const</span> BasicLine &amp;rhs) = <span class="keywordflow">default</span>;</div>
  345. <div class="line"><a name="l00470"></a><span class="lineno"> 470</span>&#160; <span class="keyword">virtual</span> ~BasicLine() = <span class="keywordflow">default</span>;</div>
  346. <div class="line"><a name="l00471"></a><span class="lineno"> 471</span>&#160; </div>
  347. <div class="line"><a name="l00472"></a><span class="lineno"> 472</span>&#160; <span class="keywordtype">bool</span> hasRender(<span class="keywordtype">void</span>);</div>
  348. <div class="line"><a name="l00473"></a><span class="lineno"> 473</span>&#160; <span class="keywordtype">void</span> setText(std::string txt);</div>
  349. <div class="line"><a name="l00474"></a><span class="lineno"> 474</span>&#160; <span class="keywordtype">void</span> setColor(ANSIColor c);</div>
  350. <div class="line"><a name="l00475"></a><span class="lineno"> 475</span>&#160; <span class="keywordtype">void</span> setRender(<a class="code" href="namespacedoor.html#ad9c2405adaa0b5168bc53059b3a978c1">renderFunction</a> rf);</div>
  351. <div class="line"><a name="l00476"></a><span class="lineno"> 476</span>&#160; <span class="keywordtype">void</span> setUpdater(<a class="code" href="namespacedoor.html#adb2697f83f8ce701366e05ed72c97d6e">updateFunction</a> uf);</div>
  352. <div class="line"><a name="l00477"></a><span class="lineno"> 477</span>&#160; <span class="keywordtype">bool</span> update(<span class="keywordtype">void</span>);</div>
  353. <div class="line"><a name="l00478"></a><span class="lineno"> 478</span>&#160; </div>
  354. <div class="line"><a name="l00479"></a><span class="lineno"> 479</span>&#160; <span class="keyword">friend</span> std::ostream &amp;<a class="code" href="namespacedoor.html#ae6c40e2e917f64a9c42d977a88fe18fa">operator&lt;&lt;</a>(std::ostream &amp;os, <span class="keyword">const</span> BasicLine &amp;l);</div>
  355. <div class="line"><a name="l00480"></a><span class="lineno"> 480</span>&#160;};</div>
  356. <div class="line"><a name="l00481"></a><span class="lineno"> 481</span>&#160; </div>
  357. <div class="line"><a name="l00482"></a><span class="lineno"> 482</span>&#160;<span class="keyword">class </span>MultiLine {</div>
  358. <div class="line"><a name="l00483"></a><span class="lineno"> 483</span>&#160;<span class="keyword">private</span>:</div>
  359. <div class="line"><a name="l00484"></a><span class="lineno"> 484</span>&#160; std::vector&lt;std::shared_ptr&lt;BasicLine&gt;&gt; lines;</div>
  360. <div class="line"><a name="l00485"></a><span class="lineno"> 485</span>&#160; </div>
  361. <div class="line"><a name="l00486"></a><span class="lineno"> 486</span>&#160;<span class="keyword">public</span>:</div>
  362. <div class="line"><a name="l00487"></a><span class="lineno"> 487</span>&#160; MultiLine();</div>
  363. <div class="line"><a name="l00488"></a><span class="lineno"> 488</span>&#160; <span class="keywordtype">void</span> append(std::shared_ptr&lt;BasicLine&gt; bl);</div>
  364. <div class="line"><a name="l00489"></a><span class="lineno"> 489</span>&#160; </div>
  365. <div class="line"><a name="l00490"></a><span class="lineno"> 490</span>&#160; <span class="keywordtype">bool</span> update(<span class="keywordtype">void</span>);</div>
  366. <div class="line"><a name="l00491"></a><span class="lineno"> 491</span>&#160; <span class="keyword">friend</span> std::ostream &amp;<a class="code" href="namespacedoor.html#ae6c40e2e917f64a9c42d977a88fe18fa">operator&lt;&lt;</a>(std::ostream &amp;os, <span class="keyword">const</span> MultiLine &amp;l);</div>
  367. <div class="line"><a name="l00492"></a><span class="lineno"> 492</span>&#160;};</div>
  368. <div class="line"><a name="l00493"></a><span class="lineno"> 493</span>&#160; </div>
  369. <div class="line"><a name="l00494"></a><span class="lineno"> 494</span>&#160;<span class="preprocessor">#endif</span></div>
  370. <div class="line"><a name="l00495"></a><span class="lineno"> 495</span>&#160; </div>
  371. <div class="line"><a name="l00502"></a><span class="lineno"><a class="line" href="classdoor_1_1Line.html"> 502</a></span>&#160;<span class="keyword">class </span><a class="code" href="classdoor_1_1Line.html">Line</a> {</div>
  372. <div class="line"><a name="l00503"></a><span class="lineno"> 503</span>&#160;<span class="keyword">private</span>:</div>
  373. <div class="line"><a name="l00505"></a><span class="lineno"><a class="line" href="classdoor_1_1Line.html#a2008c67026c41f33bc2c8cb5f9787f3b"> 505</a></span>&#160; std::string <a class="code" href="classdoor_1_1Line.html#a2008c67026c41f33bc2c8cb5f9787f3b">text</a>;</div>
  374. <div class="line"><a name="l00506"></a><span class="lineno"> 506</span>&#160; </div>
  375. <div class="line"><a name="l00508"></a><span class="lineno"><a class="line" href="classdoor_1_1Line.html#ab9603154e50c33245f30dbc5c60bd5c8"> 508</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classdoor_1_1Line.html#ab9603154e50c33245f30dbc5c60bd5c8">hasColor</a>;</div>
  376. <div class="line"><a name="l00510"></a><span class="lineno"><a class="line" href="classdoor_1_1Line.html#a3896c3006cac3435613732c29afc60ed"> 510</a></span>&#160; <a class="code" href="classdoor_1_1ANSIColor.html">ANSIColor</a> <a class="code" href="classdoor_1_1Line.html#a3896c3006cac3435613732c29afc60ed">color</a>;</div>
  377. <div class="line"><a name="l00512"></a><span class="lineno"><a class="line" href="classdoor_1_1Line.html#a3fab9317af5f86949eb0d6faf1f04653"> 512</a></span>&#160; std::string <a class="code" href="classdoor_1_1Line.html#a3fab9317af5f86949eb0d6faf1f04653">padding</a>;</div>
  378. <div class="line"><a name="l00514"></a><span class="lineno"><a class="line" href="classdoor_1_1Line.html#a5b5d31a50cce6b5aa9b9e15647bfeddc"> 514</a></span>&#160; <a class="code" href="classdoor_1_1ANSIColor.html">ANSIColor</a> <a class="code" href="classdoor_1_1Line.html#a5b5d31a50cce6b5aa9b9e15647bfeddc">paddingColor</a>;</div>
  379. <div class="line"><a name="l00515"></a><span class="lineno"> 515</span>&#160; </div>
  380. <div class="line"><a name="l00517"></a><span class="lineno"><a class="line" href="classdoor_1_1Line.html#a6d12dbae8f1d7f70a32aa1b463bd9f6f"> 517</a></span>&#160; <a class="code" href="namespacedoor.html#ad9c2405adaa0b5168bc53059b3a978c1">renderFunction</a> <a class="code" href="classdoor_1_1Line.html#a6d12dbae8f1d7f70a32aa1b463bd9f6f">render</a>;</div>
  381. <div class="line"><a name="l00519"></a><span class="lineno"><a class="line" href="classdoor_1_1Line.html#afe9688b3f58080fe437c0efaf7ab2949"> 519</a></span>&#160; <a class="code" href="namespacedoor.html#adb2697f83f8ce701366e05ed72c97d6e">updateFunction</a> <a class="code" href="classdoor_1_1Line.html#afe9688b3f58080fe437c0efaf7ab2949">updater</a>;</div>
  382. <div class="line"><a name="l00520"></a><span class="lineno"> 520</span>&#160; </div>
  383. <div class="line"><a name="l00521"></a><span class="lineno"> 521</span>&#160; <span class="keywordtype">int</span> width;</div>
  384. <div class="line"><a name="l00522"></a><span class="lineno"> 522</span>&#160; </div>
  385. <div class="line"><a name="l00526"></a><span class="lineno"> 526</span>&#160; <span class="comment">// void makeWidth(int width);</span></div>
  386. <div class="line"><a name="l00527"></a><span class="lineno"> 527</span>&#160; </div>
  387. <div class="line"><a name="l00528"></a><span class="lineno"> 528</span>&#160;<span class="keyword">public</span>:</div>
  388. <div class="line"><a name="l00529"></a><span class="lineno"> 529</span>&#160; <a class="code" href="classdoor_1_1Line.html#ad7f8494e6382aaacfa46d6da77309481">Line</a>(<span class="keyword">const</span> std::string &amp;txt, <span class="keywordtype">int</span> width = 0);</div>
  389. <div class="line"><a name="l00530"></a><span class="lineno"> 530</span>&#160; <a class="code" href="classdoor_1_1Line.html#ad7f8494e6382aaacfa46d6da77309481">Line</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *txt, <span class="keywordtype">int</span> width = 0);</div>
  390. <div class="line"><a name="l00531"></a><span class="lineno"> 531</span>&#160; <a class="code" href="classdoor_1_1Line.html#ad7f8494e6382aaacfa46d6da77309481">Line</a>(<span class="keyword">const</span> std::string &amp;txt, <span class="keywordtype">int</span> width, <a class="code" href="classdoor_1_1ANSIColor.html">ANSIColor</a> c);</div>
  391. <div class="line"><a name="l00532"></a><span class="lineno"> 532</span>&#160; <a class="code" href="classdoor_1_1Line.html#ad7f8494e6382aaacfa46d6da77309481">Line</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *txt, <span class="keywordtype">int</span> width, <a class="code" href="classdoor_1_1ANSIColor.html">ANSIColor</a> c);</div>
  392. <div class="line"><a name="l00533"></a><span class="lineno"> 533</span>&#160; <a class="code" href="classdoor_1_1Line.html#ad7f8494e6382aaacfa46d6da77309481">Line</a>(<span class="keyword">const</span> std::string &amp;txt, <span class="keywordtype">int</span> width, <a class="code" href="namespacedoor.html#ad9c2405adaa0b5168bc53059b3a978c1">renderFunction</a> rf);</div>
  393. <div class="line"><a name="l00534"></a><span class="lineno"> 534</span>&#160; <a class="code" href="classdoor_1_1Line.html#ad7f8494e6382aaacfa46d6da77309481">Line</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *txt, <span class="keywordtype">int</span> width, <a class="code" href="namespacedoor.html#ad9c2405adaa0b5168bc53059b3a978c1">renderFunction</a> rf);</div>
  394. <div class="line"><a name="l00535"></a><span class="lineno"> 535</span>&#160; <a class="code" href="classdoor_1_1Line.html#ad7f8494e6382aaacfa46d6da77309481">Line</a>(<span class="keyword">const</span> <a class="code" href="classdoor_1_1Line.html">Line</a> &amp;rhs);</div>
  395. <div class="line"><a name="l00536"></a><span class="lineno"> 536</span>&#160; <a class="code" href="classdoor_1_1Line.html#ad7f8494e6382aaacfa46d6da77309481">Line</a>(<a class="code" href="classdoor_1_1Line.html">Line</a> &amp;&amp;rhs);</div>
  396. <div class="line"><a name="l00537"></a><span class="lineno"> 537</span>&#160; <span class="comment">// ~Line();</span></div>
  397. <div class="line"><a name="l00538"></a><span class="lineno"> 538</span>&#160; </div>
  398. <div class="line"><a name="l00539"></a><span class="lineno"> 539</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classdoor_1_1Line.html#a548cd373dbd7ad89eab9acce79d324a2">hasRender</a>(<span class="keywordtype">void</span>);</div>
  399. <div class="line"><a name="l00540"></a><span class="lineno"> 540</span>&#160; <span class="keywordtype">int</span> <a class="code" href="classdoor_1_1Line.html#ae2f71d1340a75f4b9955e100a9022994">length</a>(<span class="keywordtype">void</span>); <span class="comment">// const;</span></div>
  400. <div class="line"><a name="l00541"></a><span class="lineno"> 541</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classdoor_1_1Line.html#a557866135040c3b225353dc8629f8ea3">fit</a>(<span class="keywordtype">void</span>);</div>
  401. <div class="line"><a name="l00546"></a><span class="lineno"> 546</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classdoor_1_1Line.html#a9487858a23dc53c987e6504e501957e6">setPadding</a>(std::string &amp;padstring, <a class="code" href="classdoor_1_1ANSIColor.html">ANSIColor</a> padColor);</div>
  402. <div class="line"><a name="l00551"></a><span class="lineno"> 551</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classdoor_1_1Line.html#a9487858a23dc53c987e6504e501957e6">setPadding</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *padstring, <a class="code" href="classdoor_1_1ANSIColor.html">ANSIColor</a> padcolor);</div>
  403. <div class="line"><a name="l00552"></a><span class="lineno"> 552</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classdoor_1_1Line.html#a3e7ab2ba2c01dcb323dcfefbdad71784">setText</a>(std::string &amp;txt);</div>
  404. <div class="line"><a name="l00553"></a><span class="lineno"> 553</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classdoor_1_1Line.html#a3e7ab2ba2c01dcb323dcfefbdad71784">setText</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *txt);</div>
  405. <div class="line"><a name="l00554"></a><span class="lineno"> 554</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *getText(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code" href="classdoor_1_1Line.html#a2008c67026c41f33bc2c8cb5f9787f3b">text</a>.c_str(); };</div>
  406. <div class="line"><a name="l00555"></a><span class="lineno"> 555</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classdoor_1_1Line.html#a8beaf1f9a1b84524d131a817ad8019ae">setColor</a>(<a class="code" href="classdoor_1_1ANSIColor.html">ANSIColor</a> c);</div>
  407. <div class="line"><a name="l00556"></a><span class="lineno"> 556</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classdoor_1_1Line.html#a03790e36725784901cd4e802917754ce">setRender</a>(<a class="code" href="namespacedoor.html#ad9c2405adaa0b5168bc53059b3a978c1">renderFunction</a> rf);</div>
  408. <div class="line"><a name="l00557"></a><span class="lineno"> 557</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classdoor_1_1Line.html#a68f6b1bfdaab2ed72f2a13810b166049">setUpdater</a>(<a class="code" href="namespacedoor.html#adb2697f83f8ce701366e05ed72c97d6e">updateFunction</a> uf);</div>
  409. <div class="line"><a name="l00558"></a><span class="lineno"> 558</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classdoor_1_1Line.html#a00ec1edb246d442c4dc7ac2dc5876624">update</a>(<span class="keywordtype">void</span>);</div>
  410. <div class="line"><a name="l00559"></a><span class="lineno"> 559</span>&#160; </div>
  411. <div class="line"><a name="l00560"></a><span class="lineno"> 560</span>&#160; std::string debug(<span class="keywordtype">void</span>);</div>
  412. <div class="line"><a name="l00561"></a><span class="lineno"> 561</span>&#160; </div>
  413. <div class="line"><a name="l00574"></a><span class="lineno"> 574</span>&#160; <span class="keyword">friend</span> std::ostream &amp;<a class="code" href="classdoor_1_1Line.html#a702464834d9546f67f1952a62e4038f2">operator&lt;&lt;</a>(std::ostream &amp;os, <span class="keyword">const</span> <a class="code" href="classdoor_1_1Line.html">Line</a> &amp;l);</div>
  414. <div class="line"><a name="l00575"></a><span class="lineno"> 575</span>&#160;};</div>
  415. <div class="line"><a name="l00576"></a><span class="lineno"> 576</span>&#160; </div>
  416. <div class="line"><a name="l00578"></a><span class="lineno"> 578</span>&#160;<span class="keyword">extern</span> <a class="code" href="namespacedoor.html#ad9c2405adaa0b5168bc53059b3a978c1">renderFunction</a> <a class="code" href="namespacedoor.html#a3274dff22ddb19a3e429a703ee6f3e57">rBlueYellow</a>;</div>
  417. <div class="line"><a name="l00579"></a><span class="lineno"> 579</span>&#160; </div>
  418. <div class="line"><a name="l00584"></a><span class="lineno"><a class="line" href="namespacedoor.html#a08afbc9eecb6efd7d4c741023b11db91"> 584</a></span>&#160;<span class="keyword">enum class</span> <a class="code" href="namespacedoor.html#a08afbc9eecb6efd7d4c741023b11db91">BorderStyle</a> {</div>
  419. <div class="line"><a name="l00586"></a><span class="lineno"> 586</span>&#160; <a class="code" href="namespacedoor.html#a08afbc9eecb6efd7d4c741023b11db91ab50339a10e1de285ac99d4c3990b8693">NONE</a>,</div>
  420. <div class="line"><a name="l00588"></a><span class="lineno"> 588</span>&#160; <a class="code" href="namespacedoor.html#a08afbc9eecb6efd7d4c741023b11db91a0679273e201afd0bf57af3961f8a23b8">SINGLE</a>,</div>
  421. <div class="line"><a name="l00590"></a><span class="lineno"> 590</span>&#160; <a class="code" href="namespacedoor.html#a08afbc9eecb6efd7d4c741023b11db91afd3e4ece78a7d422280d5ed379482229">DOUBLE</a>,</div>
  422. <div class="line"><a name="l00592"></a><span class="lineno"> 592</span>&#160; <a class="code" href="namespacedoor.html#a08afbc9eecb6efd7d4c741023b11db91a6dfbebc428d74ec8a1552722ceccda3a">SINGLE_DOUBLE</a>,</div>
  423. <div class="line"><a name="l00594"></a><span class="lineno"> 594</span>&#160; <a class="code" href="namespacedoor.html#a08afbc9eecb6efd7d4c741023b11db91acc939b66711e314a026eba1532bec367">DOUBLE_SINGLE</a>,</div>
  424. <div class="line"><a name="l00596"></a><span class="lineno"> 596</span>&#160; <a class="code" href="namespacedoor.html#a08afbc9eecb6efd7d4c741023b11db91a56f031dd03707d695f76c63ddbf40bd7">BLANK</a></div>
  425. <div class="line"><a name="l00597"></a><span class="lineno"> 597</span>&#160;};</div>
  426. <div class="line"><a name="l00598"></a><span class="lineno"> 598</span>&#160; </div>
  427. <div class="line"><a name="l00599"></a><span class="lineno"><a class="line" href="classdoor_1_1Panel.html"> 599</a></span>&#160;<span class="keyword">class </span><a class="code" href="classdoor_1_1Panel.html">Panel</a> {</div>
  428. <div class="line"><a name="l00600"></a><span class="lineno"> 600</span>&#160;<span class="keyword">protected</span>:</div>
  429. <div class="line"><a name="l00601"></a><span class="lineno"> 601</span>&#160; <span class="keywordtype">int</span> x;</div>
  430. <div class="line"><a name="l00602"></a><span class="lineno"> 602</span>&#160; <span class="keywordtype">int</span> y;</div>
  431. <div class="line"><a name="l00603"></a><span class="lineno"> 603</span>&#160; <span class="keywordtype">int</span> width; <span class="comment">// or padding ?</span></div>
  432. <div class="line"><a name="l00604"></a><span class="lineno"> 604</span>&#160; <a class="code" href="namespacedoor.html#a08afbc9eecb6efd7d4c741023b11db91">BorderStyle</a> border_style;</div>
  433. <div class="line"><a name="l00605"></a><span class="lineno"> 605</span>&#160; <a class="code" href="classdoor_1_1ANSIColor.html">ANSIColor</a> border_color;</div>
  434. <div class="line"><a name="l00612"></a><span class="lineno"><a class="line" href="classdoor_1_1Panel.html#ac7db32ec19257344af24bd80536c76d5"> 612</a></span>&#160; std::vector&lt;std::unique_ptr&lt;Line&gt;&gt; <a class="code" href="classdoor_1_1Panel.html#ac7db32ec19257344af24bd80536c76d5">lines</a>;</div>
  435. <div class="line"><a name="l00613"></a><span class="lineno"> 613</span>&#160; <span class="keywordtype">bool</span> hidden;</div>
  436. <div class="line"><a name="l00614"></a><span class="lineno"> 614</span>&#160; <span class="comment">// when you show panel, should it mark it as</span></div>
  437. <div class="line"><a name="l00615"></a><span class="lineno"> 615</span>&#160; <span class="comment">// redisplay everything?? maybe??</span></div>
  438. <div class="line"><a name="l00616"></a><span class="lineno"> 616</span>&#160; <span class="keywordtype">bool</span> shown_once; <span class="comment">// ?? maybe shown_once_already ?</span></div>
  439. <div class="line"><a name="l00617"></a><span class="lineno"> 617</span>&#160; std::unique_ptr&lt;Line&gt; title;</div>
  440. <div class="line"><a name="l00618"></a><span class="lineno"> 618</span>&#160; <span class="keywordtype">int</span> offset;</div>
  441. <div class="line"><a name="l00619"></a><span class="lineno"> 619</span>&#160; </div>
  442. <div class="line"><a name="l00620"></a><span class="lineno"> 620</span>&#160;<span class="keyword">public</span>:</div>
  443. <div class="line"><a name="l00621"></a><span class="lineno"> 621</span>&#160; <a class="code" href="classdoor_1_1Panel.html">Panel</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> width);</div>
  444. <div class="line"><a name="l00622"></a><span class="lineno"> 622</span>&#160; <a class="code" href="classdoor_1_1Panel.html">Panel</a>(<span class="keywordtype">int</span> width);</div>
  445. <div class="line"><a name="l00623"></a><span class="lineno"> 623</span>&#160; </div>
  446. <div class="line"><a name="l00624"></a><span class="lineno"> 624</span>&#160; <span class="comment">// Panel(const Panel &amp;);</span></div>
  447. <div class="line"><a name="l00625"></a><span class="lineno"> 625</span>&#160; <a class="code" href="classdoor_1_1Panel.html">Panel</a>(<a class="code" href="classdoor_1_1Panel.html">Panel</a> &amp;) = <span class="keyword">delete</span>; <span class="comment">// default;</span></div>
  448. <div class="line"><a name="l00626"></a><span class="lineno"> 626</span>&#160; <a class="code" href="classdoor_1_1Panel.html">Panel</a>(<a class="code" href="classdoor_1_1Panel.html">Panel</a> &amp;&amp;ref);</div>
  449. <div class="line"><a name="l00627"></a><span class="lineno"> 627</span>&#160; </div>
  450. <div class="line"><a name="l00628"></a><span class="lineno"> 628</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classdoor_1_1Panel.html#aa5ad389766a5e5c22588dae37cce1d1c">set</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
  451. <div class="line"><a name="l00629"></a><span class="lineno"> 629</span>&#160; <span class="keywordtype">void</span> get(<span class="keywordtype">int</span> &amp;x, <span class="keywordtype">int</span> &amp;y) {</div>
  452. <div class="line"><a name="l00630"></a><span class="lineno"> 630</span>&#160; x = this-&gt;x;</div>
  453. <div class="line"><a name="l00631"></a><span class="lineno"> 631</span>&#160; y = this-&gt;y;</div>
  454. <div class="line"><a name="l00632"></a><span class="lineno"> 632</span>&#160; };</div>
  455. <div class="line"><a name="l00633"></a><span class="lineno"> 633</span>&#160; </div>
  456. <div class="line"><a name="l00634"></a><span class="lineno"> 634</span>&#160; <span class="keywordtype">void</span> setTitle(std::unique_ptr&lt;Line&gt; T, <span class="keywordtype">int</span> off = 1);</div>
  457. <div class="line"><a name="l00635"></a><span class="lineno"> 635</span>&#160; <span class="keywordtype">void</span> setStyle(<a class="code" href="namespacedoor.html#a08afbc9eecb6efd7d4c741023b11db91">BorderStyle</a> bs);</div>
  458. <div class="line"><a name="l00636"></a><span class="lineno"> 636</span>&#160; <span class="keywordtype">void</span> setColor(<a class="code" href="classdoor_1_1ANSIColor.html">ANSIColor</a> c);</div>
  459. <div class="line"><a name="l00637"></a><span class="lineno"> 637</span>&#160; <span class="keywordtype">int</span> getWidth(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> width; };</div>
  460. <div class="line"><a name="l00638"></a><span class="lineno"> 638</span>&#160; <span class="keywordtype">int</span> getHeight(<span class="keywordtype">void</span>) {</div>
  461. <div class="line"><a name="l00639"></a><span class="lineno"> 639</span>&#160; <span class="keywordflow">if</span> (border_style == <a class="code" href="namespacedoor.html#a08afbc9eecb6efd7d4c741023b11db91ab50339a10e1de285ac99d4c3990b8693">BorderStyle::NONE</a>)</div>
  462. <div class="line"><a name="l00640"></a><span class="lineno"> 640</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classdoor_1_1Panel.html#ac7db32ec19257344af24bd80536c76d5">lines</a>.size();</div>
  463. <div class="line"><a name="l00641"></a><span class="lineno"> 641</span>&#160; <span class="keywordflow">else</span></div>
  464. <div class="line"><a name="l00642"></a><span class="lineno"> 642</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classdoor_1_1Panel.html#ac7db32ec19257344af24bd80536c76d5">lines</a>.size() + 2;</div>
  465. <div class="line"><a name="l00643"></a><span class="lineno"> 643</span>&#160; };</div>
  466. <div class="line"><a name="l00644"></a><span class="lineno"> 644</span>&#160; <span class="keywordtype">void</span> hide(<span class="keywordtype">void</span>);</div>
  467. <div class="line"><a name="l00645"></a><span class="lineno"> 645</span>&#160; <span class="keywordtype">void</span> show(<span class="keywordtype">void</span>);</div>
  468. <div class="line"><a name="l00646"></a><span class="lineno"> 646</span>&#160; <span class="keywordtype">void</span> addLine(std::unique_ptr&lt;Line&gt; l);</div>
  469. <div class="line"><a name="l00647"></a><span class="lineno"> 647</span>&#160; <span class="comment">// bool delLine(std::shared_ptr&lt;Line&gt; l); // ?</span></div>
  470. <div class="line"><a name="l00648"></a><span class="lineno"> 648</span>&#160; <span class="comment">/*</span></div>
  471. <div class="line"><a name="l00649"></a><span class="lineno"> 649</span>&#160;<span class="comment"> void display(void);</span></div>
  472. <div class="line"><a name="l00650"></a><span class="lineno"> 650</span>&#160;<span class="comment"> void update(void);</span></div>
  473. <div class="line"><a name="l00651"></a><span class="lineno"> 651</span>&#160;<span class="comment"> */</span></div>
  474. <div class="line"><a name="l00652"></a><span class="lineno"> 652</span>&#160; </div>
  475. <div class="line"><a name="l00663"></a><span class="lineno"> 663</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classdoor_1_1Panel.html#a57234d5f1d891ed8f9ea9c8c9be7aed4">update</a>(Door &amp;d);</div>
  476. <div class="line"><a name="l00664"></a><span class="lineno"> 664</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classdoor_1_1Panel.html#a57234d5f1d891ed8f9ea9c8c9be7aed4">update</a>(Door &amp;d, <span class="keywordtype">int</span> line);</div>
  477. <div class="line"><a name="l00665"></a><span class="lineno"> 665</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classdoor_1_1Panel.html#a57234d5f1d891ed8f9ea9c8c9be7aed4">update</a>(<span class="keywordtype">void</span>);</div>
  478. <div class="line"><a name="l00666"></a><span class="lineno"> 666</span>&#160; <a class="code" href="classdoor_1_1Goto.html">door::Goto</a> gotoEnd(<span class="keywordtype">void</span>);</div>
  479. <div class="line"><a name="l00667"></a><span class="lineno"> 667</span>&#160; std::unique_ptr&lt;Line&gt; <a class="code" href="classdoor_1_1Panel.html#a69a98249e3f33fd20300aa62120b8561">spacer_line</a>(<span class="keywordtype">bool</span> single);</div>
  480. <div class="line"><a name="l00668"></a><span class="lineno"> 668</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classdoor_1_1Panel.html#ae5630294b780b57aba721969762f50eb">lineSetBack</a>(ANSIColor back);</div>
  481. <div class="line"><a name="l00669"></a><span class="lineno"> 669</span>&#160; <span class="keyword">friend</span> std::ostream &amp;<a class="code" href="classdoor_1_1Panel.html#acc188acc0dfd6127ca4a51a6508b8c62">operator&lt;&lt;</a>(std::ostream &amp;os, <span class="keyword">const</span> Panel &amp;p);</div>
  482. <div class="line"><a name="l00670"></a><span class="lineno"> 670</span>&#160;};</div>
  483. <div class="line"><a name="l00671"></a><span class="lineno"> 671</span>&#160; </div>
  484. <div class="line"><a name="l00672"></a><span class="lineno"> 672</span>&#160;<span class="comment">/*</span></div>
  485. <div class="line"><a name="l00673"></a><span class="lineno"> 673</span>&#160;<span class="comment">Menu - defaults to double lines.</span></div>
  486. <div class="line"><a name="l00674"></a><span class="lineno"> 674</span>&#160;<span class="comment">Has colorize for selected item / non-selected.</span></div>
  487. <div class="line"><a name="l00675"></a><span class="lineno"> 675</span>&#160;<span class="comment">Arrow keys + ENTER, or keypress to select an item.</span></div>
  488. <div class="line"><a name="l00676"></a><span class="lineno"> 676</span>&#160;<span class="comment">[O] Option Displayed Here</span></div>
  489. <div class="line"><a name="l00677"></a><span class="lineno"> 677</span>&#160;<span class="comment"></span> </div>
  490. <div class="line"><a name="l00678"></a><span class="lineno"> 678</span>&#160;<span class="comment">[ + ] = c1</span></div>
  491. <div class="line"><a name="l00679"></a><span class="lineno"> 679</span>&#160;<span class="comment">O = c2</span></div>
  492. <div class="line"><a name="l00680"></a><span class="lineno"> 680</span>&#160;<span class="comment">Remaining UC TEXT = c3</span></div>
  493. <div class="line"><a name="l00681"></a><span class="lineno"> 681</span>&#160;<span class="comment">Remaining LC text = c4</span></div>
  494. <div class="line"><a name="l00682"></a><span class="lineno"> 682</span>&#160;<span class="comment"></span> </div>
  495. <div class="line"><a name="l00683"></a><span class="lineno"> 683</span>&#160;<span class="comment">// Colors for CS and CU (color selected, color unselected)</span></div>
  496. <div class="line"><a name="l00684"></a><span class="lineno"> 684</span>&#160;<span class="comment"> */</span></div>
  497. <div class="line"><a name="l00685"></a><span class="lineno"> 685</span>&#160; </div>
  498. <div class="line"><a name="l00686"></a><span class="lineno"><a class="line" href="classdoor_1_1Menu.html"> 686</a></span>&#160;<span class="keyword">class </span><a class="code" href="classdoor_1_1Menu.html">Menu</a> : <span class="keyword">public</span> <a class="code" href="classdoor_1_1Panel.html">Panel</a> {</div>
  499. <div class="line"><a name="l00687"></a><span class="lineno"> 687</span>&#160;<span class="keyword">private</span>:</div>
  500. <div class="line"><a name="l00688"></a><span class="lineno"> 688</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> chosen;</div>
  501. <div class="line"><a name="l00689"></a><span class="lineno"> 689</span>&#160; std::vector&lt;char&gt; options;</div>
  502. <div class="line"><a name="l00690"></a><span class="lineno"> 690</span>&#160; <a class="code" href="namespacedoor.html#ad9c2405adaa0b5168bc53059b3a978c1">renderFunction</a> selectedRender;</div>
  503. <div class="line"><a name="l00691"></a><span class="lineno"> 691</span>&#160; <a class="code" href="namespacedoor.html#ad9c2405adaa0b5168bc53059b3a978c1">renderFunction</a> unselectedRender;</div>
  504. <div class="line"><a name="l00692"></a><span class="lineno"> 692</span>&#160; <span class="comment">/*</span></div>
  505. <div class="line"><a name="l00693"></a><span class="lineno"> 693</span>&#160;<span class="comment"> std::function&lt;void(Door &amp;d, std::string &amp;)&gt; selectedColorizer;</span></div>
  506. <div class="line"><a name="l00694"></a><span class="lineno"> 694</span>&#160;<span class="comment"> std::function&lt;void(Door &amp;d, std::string &amp;)&gt; unselectedColorizer;</span></div>
  507. <div class="line"><a name="l00695"></a><span class="lineno"> 695</span>&#160;<span class="comment"> */</span></div>
  508. <div class="line"><a name="l00696"></a><span class="lineno"> 696</span>&#160; </div>
  509. <div class="line"><a name="l00697"></a><span class="lineno"> 697</span>&#160;<span class="keyword">public</span>:</div>
  510. <div class="line"><a name="l00698"></a><span class="lineno"> 698</span>&#160; <span class="keyword">static</span> <a class="code" href="namespacedoor.html#ad9c2405adaa0b5168bc53059b3a978c1">renderFunction</a> defaultSelectedRender;</div>
  511. <div class="line"><a name="l00699"></a><span class="lineno"> 699</span>&#160; <span class="keyword">static</span> <a class="code" href="namespacedoor.html#ad9c2405adaa0b5168bc53059b3a978c1">renderFunction</a> defaultUnselectedRender;</div>
  512. <div class="line"><a name="l00700"></a><span class="lineno"> 700</span>&#160; <span class="comment">/*</span></div>
  513. <div class="line"><a name="l00701"></a><span class="lineno"> 701</span>&#160;<span class="comment"> static std::function&lt;void(Door &amp;d, std::string &amp;)&gt; defaultSelectedColorizer;</span></div>
  514. <div class="line"><a name="l00702"></a><span class="lineno"> 702</span>&#160;<span class="comment"> static std::function&lt;void(Door &amp;d, std::string &amp;)&gt; defaultUnselectedColorizer;</span></div>
  515. <div class="line"><a name="l00703"></a><span class="lineno"> 703</span>&#160;<span class="comment"> */</span></div>
  516. <div class="line"><a name="l00704"></a><span class="lineno"> 704</span>&#160; </div>
  517. <div class="line"><a name="l00705"></a><span class="lineno"> 705</span>&#160; <a class="code" href="classdoor_1_1Menu.html#a34666d486c5a22728e70ca8b43cd644e">Menu</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> width);</div>
  518. <div class="line"><a name="l00706"></a><span class="lineno"> 706</span>&#160; <a class="code" href="classdoor_1_1Menu.html#a34666d486c5a22728e70ca8b43cd644e">Menu</a>(<span class="keywordtype">int</span> width);</div>
  519. <div class="line"><a name="l00707"></a><span class="lineno"> 707</span>&#160; <span class="comment">// Menu(const Menu &amp;);</span></div>
  520. <div class="line"><a name="l00708"></a><span class="lineno"> 708</span>&#160; <a class="code" href="classdoor_1_1Menu.html#a34666d486c5a22728e70ca8b43cd644e">Menu</a>(<span class="keyword">const</span> <a class="code" href="classdoor_1_1Menu.html">Menu</a> &amp;) = <span class="keyword">delete</span>;</div>
  521. <div class="line"><a name="l00709"></a><span class="lineno"> 709</span>&#160; <a class="code" href="classdoor_1_1Menu.html#a34666d486c5a22728e70ca8b43cd644e">Menu</a>(<a class="code" href="classdoor_1_1Menu.html">Menu</a> &amp;&amp;);</div>
  522. <div class="line"><a name="l00710"></a><span class="lineno"> 710</span>&#160; </div>
  523. <div class="line"><a name="l00711"></a><span class="lineno"> 711</span>&#160; <span class="keywordtype">void</span> addSelection(<span class="keywordtype">char</span> c, <span class="keyword">const</span> <span class="keywordtype">char</span> *line);</div>
  524. <div class="line"><a name="l00712"></a><span class="lineno"> 712</span>&#160; <span class="keywordtype">void</span> addSelection(<span class="keywordtype">char</span> c, <span class="keyword">const</span> <span class="keywordtype">char</span> *line, <a class="code" href="namespacedoor.html#adb2697f83f8ce701366e05ed72c97d6e">updateFunction</a> <a class="code" href="classdoor_1_1Panel.html#a57234d5f1d891ed8f9ea9c8c9be7aed4">update</a>);</div>
  525. <div class="line"><a name="l00713"></a><span class="lineno"> 713</span>&#160; <span class="keywordtype">void</span> defaultSelection(<span class="keywordtype">int</span> d);</div>
  526. <div class="line"><a name="l00714"></a><span class="lineno"> 714</span>&#160; <span class="keywordtype">void</span> setRender(<span class="keywordtype">bool</span> selected, <a class="code" href="namespacedoor.html#ad9c2405adaa0b5168bc53059b3a978c1">renderFunction</a> render);</div>
  527. <div class="line"><a name="l00715"></a><span class="lineno"> 715</span>&#160; </div>
  528. <div class="line"><a name="l00716"></a><span class="lineno"> 716</span>&#160; <span class="keywordtype">int</span> <a class="code" href="classdoor_1_1Menu.html#a06da9157cc5984510153a6b93bf2e71e">choose</a>(<a class="code" href="classdoor_1_1Door.html">Door</a> &amp;<a class="code" href="namespacedoor.html">door</a>);</div>
  529. <div class="line"><a name="l00717"></a><span class="lineno"> 717</span>&#160; <span class="keywordtype">char</span> which(<span class="keywordtype">int</span> d);</div>
  530. <div class="line"><a name="l00718"></a><span class="lineno"> 718</span>&#160; </div>
  531. <div class="line"><a name="l00719"></a><span class="lineno"> 719</span>&#160; <span class="keyword">static</span> <a class="code" href="namespacedoor.html#ad9c2405adaa0b5168bc53059b3a978c1">renderFunction</a> <a class="code" href="classdoor_1_1Menu.html#aff858b2112970b66917a30ad3c00609d">makeRender</a>(<a class="code" href="classdoor_1_1ANSIColor.html">ANSIColor</a> c1, <a class="code" href="classdoor_1_1ANSIColor.html">ANSIColor</a> c2, <a class="code" href="classdoor_1_1ANSIColor.html">ANSIColor</a> c3,</div>
  532. <div class="line"><a name="l00720"></a><span class="lineno"> 720</span>&#160; <a class="code" href="classdoor_1_1ANSIColor.html">ANSIColor</a> c4);</div>
  533. <div class="line"><a name="l00721"></a><span class="lineno"> 721</span>&#160;};</div>
  534. <div class="line"><a name="l00722"></a><span class="lineno"> 722</span>&#160; </div>
  535. <div class="line"><a name="l00723"></a><span class="lineno"><a class="line" href="classdoor_1_1Screen.html"> 723</a></span>&#160;<span class="keyword">class </span><a class="code" href="classdoor_1_1Screen.html">Screen</a> {</div>
  536. <div class="line"><a name="l00724"></a><span class="lineno"> 724</span>&#160;<span class="keyword">private</span>:</div>
  537. <div class="line"><a name="l00725"></a><span class="lineno"> 725</span>&#160; <span class="comment">// bool hidden;</span></div>
  538. <div class="line"><a name="l00729"></a><span class="lineno"><a class="line" href="classdoor_1_1Screen.html#a9f93b83a6c0ebab3972dd7340c88675a"> 729</a></span>&#160;<span class="comment"></span> std::vector&lt;std::unique_ptr&lt;Panel&gt;&gt; <a class="code" href="classdoor_1_1Screen.html#a9f93b83a6c0ebab3972dd7340c88675a">panels</a>;</div>
  539. <div class="line"><a name="l00730"></a><span class="lineno"> 730</span>&#160; </div>
  540. <div class="line"><a name="l00731"></a><span class="lineno"> 731</span>&#160;<span class="keyword">public</span>:</div>
  541. <div class="line"><a name="l00732"></a><span class="lineno"> 732</span>&#160; <a class="code" href="classdoor_1_1Screen.html">Screen</a>(<span class="keywordtype">void</span>);</div>
  542. <div class="line"><a name="l00733"></a><span class="lineno"> 733</span>&#160; <a class="code" href="classdoor_1_1Screen.html">Screen</a>(<a class="code" href="classdoor_1_1Screen.html">Screen</a> &amp;) = <span class="keywordflow">default</span>;</div>
  543. <div class="line"><a name="l00734"></a><span class="lineno"> 734</span>&#160; <span class="keywordtype">void</span> addPanel(std::unique_ptr&lt;Panel&gt; p);</div>
  544. <div class="line"><a name="l00735"></a><span class="lineno"> 735</span>&#160; <span class="comment">/*</span></div>
  545. <div class="line"><a name="l00736"></a><span class="lineno"> 736</span>&#160;<span class="comment">bool delPanel(std::shared_ptr&lt;Panel&gt; p);</span></div>
  546. <div class="line"><a name="l00737"></a><span class="lineno"> 737</span>&#160;<span class="comment"></span> </div>
  547. <div class="line"><a name="l00738"></a><span class="lineno"> 738</span>&#160;<span class="comment">void hide(void);</span></div>
  548. <div class="line"><a name="l00739"></a><span class="lineno"> 739</span>&#160;<span class="comment">void show(void);</span></div>
  549. <div class="line"><a name="l00740"></a><span class="lineno"> 740</span>&#160;<span class="comment">*/</span></div>
  550. <div class="line"><a name="l00741"></a><span class="lineno"> 741</span>&#160; <span class="keywordtype">bool</span> update(<a class="code" href="classdoor_1_1Door.html">Door</a> &amp;d);</div>
  551. <div class="line"><a name="l00742"></a><span class="lineno"> 742</span>&#160; <span class="keywordtype">void</span> update(<span class="keywordtype">void</span>);</div>
  552. <div class="line"><a name="l00743"></a><span class="lineno"> 743</span>&#160; </div>
  553. <div class="line"><a name="l00744"></a><span class="lineno"> 744</span>&#160; <span class="keyword">friend</span> std::ostream &amp;<a class="code" href="classdoor_1_1Screen.html#aa33539627ee3d8a5c4b09ee9401711e0">operator&lt;&lt;</a>(std::ostream &amp;os, <span class="keyword">const</span> <a class="code" href="classdoor_1_1Screen.html">Screen</a> &amp;s);</div>
  554. <div class="line"><a name="l00745"></a><span class="lineno"> 745</span>&#160;};</div>
  555. <div class="line"><a name="l00746"></a><span class="lineno"> 746</span>&#160; </div>
  556. <div class="line"><a name="l00747"></a><span class="lineno"> 747</span>&#160;<span class="comment">/*</span></div>
  557. <div class="line"><a name="l00748"></a><span class="lineno"> 748</span>&#160;<span class="comment">screen - contains panels.</span></div>
  558. <div class="line"><a name="l00749"></a><span class="lineno"> 749</span>&#160;<span class="comment"> - default to 1,1 X 80,24</span></div>
  559. <div class="line"><a name="l00750"></a><span class="lineno"> 750</span>&#160;<span class="comment"> - refresh(style) could redraw panels by order they were added,</span></div>
  560. <div class="line"><a name="l00751"></a><span class="lineno"> 751</span>&#160;<span class="comment"> or could redraw panels from top to bottom, left to right.</span></div>
  561. <div class="line"><a name="l00752"></a><span class="lineno"> 752</span>&#160;<span class="comment"></span> </div>
  562. <div class="line"><a name="l00753"></a><span class="lineno"> 753</span>&#160;<span class="comment">crazy ideas:</span></div>
  563. <div class="line"><a name="l00754"></a><span class="lineno"> 754</span>&#160;<span class="comment"> hide panels / z-order</span></div>
  564. <div class="line"><a name="l00755"></a><span class="lineno"> 755</span>&#160;<span class="comment"> how to handle panel on top of other panels?</span></div>
  565. <div class="line"><a name="l00756"></a><span class="lineno"> 756</span>&#160;<span class="comment"> Can I have you win + show animated final score calculations?</span></div>
  566. <div class="line"><a name="l00757"></a><span class="lineno"> 757</span>&#160;<span class="comment"></span> </div>
  567. <div class="line"><a name="l00758"></a><span class="lineno"> 758</span>&#160;<span class="comment">panel - has X,Y and width, optional length. contains lines.</span></div>
  568. <div class="line"><a name="l00759"></a><span class="lineno"> 759</span>&#160;<span class="comment"> length could be simply number of &quot;lines&quot;.</span></div>
  569. <div class="line"><a name="l00760"></a><span class="lineno"> 760</span>&#160;<span class="comment"> - has optional border. double/single/Ds/Sd TOPbottom</span></div>
  570. <div class="line"><a name="l00761"></a><span class="lineno"> 761</span>&#160;<span class="comment"> - has optional title.</span></div>
  571. <div class="line"><a name="l00762"></a><span class="lineno"> 762</span>&#160;<span class="comment"> - has optional footer.</span></div>
  572. <div class="line"><a name="l00763"></a><span class="lineno"> 763</span>&#160;<span class="comment"></span> </div>
  573. <div class="line"><a name="l00764"></a><span class="lineno"> 764</span>&#160;<span class="comment"> addLine()</span></div>
  574. <div class="line"><a name="l00765"></a><span class="lineno"> 765</span>&#160;<span class="comment"> append() - Appends another line to current line.</span></div>
  575. <div class="line"><a name="l00766"></a><span class="lineno"> 766</span>&#160;<span class="comment"></span> </div>
  576. <div class="line"><a name="l00767"></a><span class="lineno"> 767</span>&#160;<span class="comment"> set(X,Y) - set a &quot;line&quot; at a given X,Y position.</span></div>
  577. <div class="line"><a name="l00768"></a><span class="lineno"> 768</span>&#160;<span class="comment"></span> </div>
  578. <div class="line"><a name="l00769"></a><span class="lineno"> 769</span>&#160;<span class="comment">menu - another type of panel, contains menu options/lines.</span></div>
  579. <div class="line"><a name="l00770"></a><span class="lineno"> 770</span>&#160;<span class="comment"></span> </div>
  580. <div class="line"><a name="l00771"></a><span class="lineno"> 771</span>&#160;<span class="comment">lightmenu - like above, but allows arrow keys to select menu options.</span></div>
  581. <div class="line"><a name="l00772"></a><span class="lineno"> 772</span>&#160;<span class="comment"></span> </div>
  582. <div class="line"><a name="l00773"></a><span class="lineno"> 773</span>&#160;<span class="comment">line - contains text.</span></div>
  583. <div class="line"><a name="l00774"></a><span class="lineno"> 774</span>&#160;<span class="comment"> (Maybe a &quot;dirty&quot; flag is needed here?)</span></div>
  584. <div class="line"><a name="l00775"></a><span class="lineno"> 775</span>&#160;<span class="comment"> - has optional (width)</span></div>
  585. <div class="line"><a name="l00776"></a><span class="lineno"> 776</span>&#160;<span class="comment"> - has optional (justify - L, R, Center)</span></div>
  586. <div class="line"><a name="l00777"></a><span class="lineno"> 777</span>&#160;<span class="comment"> - has optional padding (# of blank chars)</span></div>
  587. <div class="line"><a name="l00778"></a><span class="lineno"> 778</span>&#160;<span class="comment"> - has color (of text)</span></div>
  588. <div class="line"><a name="l00779"></a><span class="lineno"> 779</span>&#160;<span class="comment"> - has formatter/coloring function (to colorize the text)</span></div>
  589. <div class="line"><a name="l00780"></a><span class="lineno"> 780</span>&#160;<span class="comment"> Example would be one that sets capital letters to one color, lower to another.</span></div>
  590. <div class="line"><a name="l00781"></a><span class="lineno"> 781</span>&#160;<span class="comment"> Another example would be one that displays Score: XXX, where Score is one</span></div>
  591. <div class="line"><a name="l00782"></a><span class="lineno"> 782</span>&#160;<span class="comment"> color, : is another, and XXX is yet another. Properly padded, of course.</span></div>
  592. <div class="line"><a name="l00783"></a><span class="lineno"> 783</span>&#160;<span class="comment"> - has &quot;lambda&quot; function to update the value? (Maybe?)</span></div>
  593. <div class="line"><a name="l00784"></a><span class="lineno"> 784</span>&#160;<span class="comment"> Idea would be that I could update the score, and panel.update(). It would</span></div>
  594. <div class="line"><a name="l00785"></a><span class="lineno"> 785</span>&#160;<span class="comment"> call all the line.update() functions and only update anything that has</span></div>
  595. <div class="line"><a name="l00786"></a><span class="lineno"> 786</span>&#160;<span class="comment"> changed.</span></div>
  596. <div class="line"><a name="l00787"></a><span class="lineno"> 787</span>&#160;<span class="comment"></span> </div>
  597. <div class="line"><a name="l00788"></a><span class="lineno"> 788</span>&#160;<span class="comment"> Crazy ideas:</span></div>
  598. <div class="line"><a name="l00789"></a><span class="lineno"> 789</span>&#160;<span class="comment"> Can I delete a line, and have it automatically removed from a panel?</span></div>
  599. <div class="line"><a name="l00790"></a><span class="lineno"> 790</span>&#160;<span class="comment"></span> </div>
  600. <div class="line"><a name="l00791"></a><span class="lineno"> 791</span>&#160;<span class="comment">lightline - text, changes format/coloring if focus/nofocus is set?</span></div>
  601. <div class="line"><a name="l00792"></a><span class="lineno"> 792</span>&#160;<span class="comment"></span> </div>
  602. <div class="line"><a name="l00793"></a><span class="lineno"> 793</span>&#160;<span class="comment"> */</span></div>
  603. <div class="line"><a name="l00794"></a><span class="lineno"> 794</span>&#160; </div>
  604. <div class="line"><a name="l00795"></a><span class="lineno"> 795</span>&#160;} <span class="comment">// namespace door</span></div>
  605. <div class="line"><a name="l00796"></a><span class="lineno"> 796</span>&#160;<span class="preprocessor">#endif</span></div>
  606. </div><!-- fragment --></div><!-- contents -->
  607. <div class="ttc" id="aclassdoor_1_1Goto_html"><div class="ttname"><a href="classdoor_1_1Goto.html">door::Goto</a></div><div class="ttdoc">ANSI Goto X, Y position.</div><div class="ttdef"><b>Definition:</b> door.h:425</div></div>
  608. <div class="ttc" id="aclassdoor_1_1Line_html_ae2f71d1340a75f4b9955e100a9022994"><div class="ttname"><a href="classdoor_1_1Line.html#ae2f71d1340a75f4b9955e100a9022994">door::Line::length</a></div><div class="ttdeci">int length(void)</div><div class="ttdef"><b>Definition:</b> lines.cpp:203</div></div>
  609. <div class="ttc" id="aclassdoor_1_1Line_html_a557866135040c3b225353dc8629f8ea3"><div class="ttname"><a href="classdoor_1_1Line.html#a557866135040c3b225353dc8629f8ea3">door::Line::fit</a></div><div class="ttdeci">void fit(void)</div><div class="ttdef"><b>Definition:</b> lines.cpp:225</div></div>
  610. <div class="ttc" id="aclassdoor_1_1Door_html"><div class="ttname"><a href="classdoor_1_1Door.html">door::Door</a></div><div class="ttdef"><b>Definition:</b> door.h:190</div></div>
  611. <div class="ttc" id="aclassdoor_1_1Door_html_a7dd4913cdfb13f0938888adaab363e93"><div class="ttname"><a href="classdoor_1_1Door.html#a7dd4913cdfb13f0938888adaab363e93">door::Door::getkey_or_pushback</a></div><div class="ttdeci">signed int getkey_or_pushback(void)</div><div class="ttdef"><b>Definition:</b> door.cpp:769</div></div>
  612. <div class="ttc" id="aclassdoor_1_1NewLine_html"><div class="ttname"><a href="classdoor_1_1NewLine.html">door::NewLine</a></div><div class="ttdoc">CR+LF.</div><div class="ttdef"><b>Definition:</b> door.h:398</div></div>
  613. <div class="ttc" id="anamespacedoor_html_abafe0a9e79349883af3ab2a7fb544366a493cacf6f6a2ae4798b319b8b9ba9488"><div class="ttname"><a href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366a493cacf6f6a2ae4798b319b8b9ba9488">door::COLOR::BROWN</a></div><div class="ttdeci">@ BROWN</div><div class="ttdoc">BROWN (3)</div></div>
  614. <div class="ttc" id="aclassdoor_1_1Line_html_a5b5d31a50cce6b5aa9b9e15647bfeddc"><div class="ttname"><a href="classdoor_1_1Line.html#a5b5d31a50cce6b5aa9b9e15647bfeddc">door::Line::paddingColor</a></div><div class="ttdeci">ANSIColor paddingColor</div><div class="ttdoc">Padding color.</div><div class="ttdef"><b>Definition:</b> door.h:514</div></div>
  615. <div class="ttc" id="aclassdoor_1_1Door_html_aaeb090ff9afcae8ea0a15416eae84850"><div class="ttname"><a href="classdoor_1_1Door.html#aaeb090ff9afcae8ea0a15416eae84850">door::Door::username</a></div><div class="ttdeci">std::string username</div><div class="ttdef"><b>Definition:</b> door.h:257</div></div>
  616. <div class="ttc" id="aclassdoor_1_1ANSIColor_html_a027158ac3cd42c2c72f86c0b57db5c84"><div class="ttname"><a href="classdoor_1_1ANSIColor.html#a027158ac3cd42c2c72f86c0b57db5c84">door::ANSIColor::debug</a></div><div class="ttdeci">std::string debug(void)</div><div class="ttdoc">Output debug string for ANSIColor.</div><div class="ttdef"><b>Definition:</b> ansicolor.cpp:249</div></div>
  617. <div class="ttc" id="aclassdoor_1_1Render_html_ae83a23641dde4dff29b5214ea1921f3b"><div class="ttname"><a href="classdoor_1_1Render.html#ae83a23641dde4dff29b5214ea1921f3b">door::Render::output</a></div><div class="ttdeci">void output(std::ostream &amp;os)</div><div class="ttdef"><b>Definition:</b> door.cpp:1281</div></div>
  618. <div class="ttc" id="aclassdoor_1_1ColorOutput_html_a96cbbca21d2df9181925b121b57bef6b"><div class="ttname"><a href="classdoor_1_1ColorOutput.html#a96cbbca21d2df9181925b121b57bef6b">door::ColorOutput::ColorOutput</a></div><div class="ttdeci">ColorOutput()</div><div class="ttdef"><b>Definition:</b> door.cpp:1249</div></div>
  619. <div class="ttc" id="aclassdoor_1_1ANSIColor_html_a9bc92fe3929de0d16f44ba4fb1837dd7"><div class="ttname"><a href="classdoor_1_1ANSIColor.html#a9bc92fe3929de0d16f44ba4fb1837dd7">door::ANSIColor::Attr</a></div><div class="ttdeci">ANSIColor &amp; Attr(ATTR a)</div><div class="ttdef"><b>Definition:</b> ansicolor.cpp:112</div></div>
  620. <div class="ttc" id="aclassdoor_1_1Line_html_afe9688b3f58080fe437c0efaf7ab2949"><div class="ttname"><a href="classdoor_1_1Line.html#afe9688b3f58080fe437c0efaf7ab2949">door::Line::updater</a></div><div class="ttdeci">updateFunction updater</div><div class="ttdoc">updateFunction to use when updating.</div><div class="ttdef"><b>Definition:</b> door.h:519</div></div>
  621. <div class="ttc" id="anamespacedoor_html_add24f9a933f9a6e613de6d56854e5c52ad810ed8e97088a3c987f179dfb88cefc"><div class="ttname"><a href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52ad810ed8e97088a3c987f179dfb88cefc">door::ATTR::BLINK</a></div><div class="ttdeci">@ BLINK</div><div class="ttdoc">SLOW BLINK.</div></div>
  622. <div class="ttc" id="anamespacedoor_html_add24f9a933f9a6e613de6d56854e5c52a2909dd0e0336f10b6da9735b859a3d19"><div class="ttname"><a href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52a2909dd0e0336f10b6da9735b859a3d19">door::ATTR::BOLD</a></div><div class="ttdeci">@ BOLD</div><div class="ttdoc">BOLD is the same as BRIGHT.</div></div>
  623. <div class="ttc" id="aclassdoor_1_1Door_html_a15d3f18b7165f348479344b897b6ed96"><div class="ttname"><a href="classdoor_1_1Door.html#a15d3f18b7165f348479344b897b6ed96">door::Door::log</a></div><div class="ttdeci">ofstream &amp; log(void)</div><div class="ttdoc">Give ofstream handle for logging.</div><div class="ttdef"><b>Definition:</b> door.cpp:654</div></div>
  624. <div class="ttc" id="aclassdoor_1_1Clrscr_html_a0611278ef387fce25ce1a7771b65096a"><div class="ttname"><a href="classdoor_1_1Clrscr.html#a0611278ef387fce25ce1a7771b65096a">door::Clrscr::Clrscr</a></div><div class="ttdeci">Clrscr(void)</div><div class="ttdef"><b>Definition:</b> door.cpp:1324</div></div>
  625. <div class="ttc" id="aclassdoor_1_1ColorOutput_html_ab53af885b8b1a296d197866bd4844fb0"><div class="ttname"><a href="classdoor_1_1ColorOutput.html#ab53af885b8b1a296d197866bd4844fb0">door::ColorOutput::c</a></div><div class="ttdeci">ANSIColor c</div><div class="ttdoc">Color to use for this fragment.</div><div class="ttdef"><b>Definition:</b> door.h:297</div></div>
  626. <div class="ttc" id="aclassdoor_1_1Door_html_a8f7dcac2dafd0e11d42ab227b7d1a2ba"><div class="ttname"><a href="classdoor_1_1Door.html#a8f7dcac2dafd0e11d42ab227b7d1a2ba">door::Door::Door</a></div><div class="ttdeci">Door(std::string dname, int argc, char *argv[])</div><div class="ttdoc">Construct a new Door:: Door object.</div><div class="ttdef"><b>Definition:</b> door.cpp:231</div></div>
  627. <div class="ttc" id="aclassdoor_1_1ANSIColor_html_aa198707d0103967b7a4bc4f502a0ba87"><div class="ttname"><a href="classdoor_1_1ANSIColor.html#aa198707d0103967b7a4bc4f502a0ba87">door::ANSIColor::operator==</a></div><div class="ttdeci">bool operator==(const ANSIColor &amp;c) const</div><div class="ttdef"><b>Definition:</b> ansicolor.cpp:138</div></div>
  628. <div class="ttc" id="aclassdoor_1_1Door_html_a18b8c731b27e23d6913c0ad683a37ce7"><div class="ttname"><a href="classdoor_1_1Door.html#a18b8c731b27e23d6913c0ad683a37ce7">door::Door::cx</a></div><div class="ttdeci">int cx</div><div class="ttdef"><b>Definition:</b> door.h:242</div></div>
  629. <div class="ttc" id="aclassdoor_1_1Door_html_a7660c60172a692036907d431ae2006f8"><div class="ttname"><a href="classdoor_1_1Door.html#a7660c60172a692036907d431ae2006f8">door::Door::doorname</a></div><div class="ttdeci">std::string doorname</div><div class="ttdef"><b>Definition:</b> door.h:196</div></div>
  630. <div class="ttc" id="aclassdoor_1_1Goto_html_ad7ec5ef329c85fd0be0110f628a9106a"><div class="ttname"><a href="classdoor_1_1Goto.html#ad7ec5ef329c85fd0be0110f628a9106a">door::Goto::x</a></div><div class="ttdeci">int x</div><div class="ttdoc">X-Position.</div><div class="ttdef"><b>Definition:</b> door.h:427</div></div>
  631. <div class="ttc" id="aclassdoor_1_1Door_html_aafaad41e8f04b9df6466f512d4893d82"><div class="ttname"><a href="classdoor_1_1Door.html#aafaad41e8f04b9df6466f512d4893d82">door::Door::time_used</a></div><div class="ttdeci">atomic&lt; int &gt; time_used</div><div class="ttdef"><b>Definition:</b> door.h:270</div></div>
  632. <div class="ttc" id="aclassdoor_1_1Render_html_a9c32f938c06d5d6b87d238ba6072324e"><div class="ttname"><a href="classdoor_1_1Render.html#a9c32f938c06d5d6b87d238ba6072324e">door::Render::append</a></div><div class="ttdeci">void append(ANSIColor color, int len=1)</div><div class="ttdef"><b>Definition:</b> door.cpp:1296</div></div>
  633. <div class="ttc" id="aclassdoor_1_1Door_html_adf76d445797eb513020a60f786f65767"><div class="ttname"><a href="classdoor_1_1Door.html#adf76d445797eb513020a60f786f65767">door::Door::previous</a></div><div class="ttdeci">ANSIColor previous</div><div class="ttdef"><b>Definition:</b> door.h:238</div></div>
  634. <div class="ttc" id="anamespacedoor_html_aeade8b521c7f95755fdb166727c2b87c"><div class="ttname"><a href="namespacedoor.html#aeade8b521c7f95755fdb166727c2b87c">door::full_cp437</a></div><div class="ttdeci">bool full_cp437</div><div class="ttdoc">Was full CP437 detected?</div><div class="ttdef"><b>Definition:</b> door.cpp:216</div></div>
  635. <div class="ttc" id="aclassdoor_1_1Panel_html_acc188acc0dfd6127ca4a51a6508b8c62"><div class="ttname"><a href="classdoor_1_1Panel.html#acc188acc0dfd6127ca4a51a6508b8c62">door::Panel::operator&lt;&lt;</a></div><div class="ttdeci">friend std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const Panel &amp;p)</div><div class="ttdoc">Output panel to stream.</div><div class="ttdef"><b>Definition:</b> panel.cpp:390</div></div>
  636. <div class="ttc" id="anamespacedoor_html_abafe0a9e79349883af3ab2a7fb544366a344dd8cd533280795b9db82ef0c92749"><div class="ttname"><a href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366a344dd8cd533280795b9db82ef0c92749">door::COLOR::CYAN</a></div><div class="ttdeci">@ CYAN</div><div class="ttdoc">CYAN (6)</div></div>
  637. <div class="ttc" id="anamespacedoor_html_add24f9a933f9a6e613de6d56854e5c52a1955bdc302911f376074eb9b02e56639"><div class="ttname"><a href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52a1955bdc302911f376074eb9b02e56639">door::ATTR::INVERSE</a></div><div class="ttdeci">@ INVERSE</div><div class="ttdoc">INVERSE is Background on Foreground.</div></div>
  638. <div class="ttc" id="aclassdoor_1_1ANSIColor_html_a46b5dc8b9d373233000bbc0e45c33825"><div class="ttname"><a href="classdoor_1_1ANSIColor.html#a46b5dc8b9d373233000bbc0e45c33825">door::ANSIColor::attr</a></div><div class="ttdeci">void attr(ATTR a)</div><div class="ttdoc">Set attribute.</div><div class="ttdef"><b>Definition:</b> ansicolor.cpp:194</div></div>
  639. <div class="ttc" id="aclassdoor_1_1ANSIColor_html_aa11de87d84c864dcb1ee26042a28e519"><div class="ttname"><a href="classdoor_1_1ANSIColor.html#aa11de87d84c864dcb1ee26042a28e519">door::ANSIColor::fg</a></div><div class="ttdeci">COLOR fg</div><div class="ttdef"><b>Definition:</b> door.h:139</div></div>
  640. <div class="ttc" id="anamespacedoor_html_a5efa4fb96eacd6b90e5cbb0bd985f3fc"><div class="ttname"><a href="namespacedoor.html#a5efa4fb96eacd6b90e5cbb0bd985f3fc">door::cp437toUnicode</a></div><div class="ttdeci">void cp437toUnicode(std::string input, std::string &amp;out)</div><div class="ttdoc">Convert from CP437 to unicode.</div><div class="ttdef"><b>Definition:</b> door.cpp:181</div></div>
  641. <div class="ttc" id="aclassdoor_1_1Door_html_ac617cee68cc0993ff5c294d06023b19b"><div class="ttname"><a href="classdoor_1_1Door.html#ac617cee68cc0993ff5c294d06023b19b">door::Door::node</a></div><div class="ttdeci">int node</div><div class="ttdef"><b>Definition:</b> door.h:266</div></div>
  642. <div class="ttc" id="aclassdoor_1_1Door_html_a092b281d63bb6ee0a3bee2ba77d78a47"><div class="ttname"><a href="classdoor_1_1Door.html#a092b281d63bb6ee0a3bee2ba77d78a47">door::Door::sleep_key</a></div><div class="ttdeci">signed int sleep_key(int secs)</div><div class="ttdoc">Waits secs seconds for a keypress.</div><div class="ttdef"><b>Definition:</b> door.cpp:1028</div></div>
  643. <div class="ttc" id="aclassdoor_1_1ANSIColor_html_a9413c8c99a7ff96f1374e886946791a5"><div class="ttname"><a href="classdoor_1_1ANSIColor.html#a9413c8c99a7ff96f1374e886946791a5">door::ANSIColor::inverse</a></div><div class="ttdeci">unsigned int inverse</div><div class="ttdef"><b>Definition:</b> door.h:150</div></div>
  644. <div class="ttc" id="aclassdoor_1_1Render_html_a887fd73649a7e63257cc695e2756bc66"><div class="ttname"><a href="classdoor_1_1Render.html#a887fd73649a7e63257cc695e2756bc66">door::Render::outputs</a></div><div class="ttdeci">std::vector&lt; ColorOutput &gt; outputs</div><div class="ttdoc">Vector of ColorOutput object.</div><div class="ttdef"><b>Definition:</b> door.h:327</div></div>
  645. <div class="ttc" id="anamespacedoor_html_add24f9a933f9a6e613de6d56854e5c52aca78b38b9fe41e51b331abe6999a1040"><div class="ttname"><a href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52aca78b38b9fe41e51b331abe6999a1040">door::ATTR::BRIGHT</a></div><div class="ttdeci">@ BRIGHT</div><div class="ttdoc">BRIGHT is the same as BOLD.</div></div>
  646. <div class="ttc" id="aclassdoor_1_1Door_html_a3d83225897fcc51bf883170ba6f6963f"><div class="ttname"><a href="classdoor_1_1Door.html#a3d83225897fcc51bf883170ba6f6963f">door::Door::dropfilelines</a></div><div class="ttdeci">vector&lt; std::string &gt; dropfilelines</div><div class="ttdef"><b>Definition:</b> door.h:210</div></div>
  647. <div class="ttc" id="aclassdoor_1_1Line_html_a8beaf1f9a1b84524d131a817ad8019ae"><div class="ttname"><a href="classdoor_1_1Line.html#a8beaf1f9a1b84524d131a817ad8019ae">door::Line::setColor</a></div><div class="ttdeci">void setColor(ANSIColor c)</div><div class="ttdef"><b>Definition:</b> lines.cpp:277</div></div>
  648. <div class="ttc" id="aclassdoor_1_1Line_html_ad7f8494e6382aaacfa46d6da77309481"><div class="ttname"><a href="classdoor_1_1Line.html#ad7f8494e6382aaacfa46d6da77309481">door::Line::Line</a></div><div class="ttdeci">Line(const std::string &amp;txt, int width=0)</div><div class="ttdef"><b>Definition:</b> lines.cpp:121</div></div>
  649. <div class="ttc" id="aclassdoor_1_1NewLine_html_ae6439f66a0444e185cc06dfff1a0f74a"><div class="ttname"><a href="classdoor_1_1NewLine.html#ae6439f66a0444e185cc06dfff1a0f74a">door::NewLine::NewLine</a></div><div class="ttdeci">NewLine(void)</div><div class="ttdef"><b>Definition:</b> door.cpp:1358</div></div>
  650. <div class="ttc" id="anamespacedoor_html_ae6c40e2e917f64a9c42d977a88fe18fa"><div class="ttname"><a href="namespacedoor.html#ae6c40e2e917f64a9c42d977a88fe18fa">door::operator&lt;&lt;</a></div><div class="ttdeci">std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const ANSIColor &amp;c)</div><div class="ttdef"><b>Definition:</b> ansicolor.cpp:371</div></div>
  651. <div class="ttc" id="aclassdoor_1_1ANSIColor_html_a5d2d818d1922bcb8b73ccdaf639ca2cd"><div class="ttname"><a href="classdoor_1_1ANSIColor.html#a5d2d818d1922bcb8b73ccdaf639ca2cd">door::ANSIColor::operator!=</a></div><div class="ttdeci">bool operator!=(const ANSIColor &amp;c) const</div><div class="ttdef"><b>Definition:</b> ansicolor.cpp:151</div></div>
  652. <div class="ttc" id="aclassdoor_1_1ColorOutput_html_ae696879b2a42db7a21d698fad19fc918"><div class="ttname"><a href="classdoor_1_1ColorOutput.html#ae696879b2a42db7a21d698fad19fc918">door::ColorOutput::pos</a></div><div class="ttdeci">int pos</div><div class="ttdoc">Starting position of Render.text.</div><div class="ttdef"><b>Definition:</b> door.h:299</div></div>
  653. <div class="ttc" id="aclassdoor_1_1Goto_html_a21a0915b21cc762dc148f7ba6797229b"><div class="ttname"><a href="classdoor_1_1Goto.html#a21a0915b21cc762dc148f7ba6797229b">door::Goto::operator&lt;&lt;</a></div><div class="ttdeci">friend std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const Goto &amp;g)</div><div class="ttdef"><b>Definition:</b> door.cpp:1409</div></div>
  654. <div class="ttc" id="anamespacedoor_html_abafe0a9e79349883af3ab2a7fb544366"><div class="ttname"><a href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366">door::COLOR</a></div><div class="ttdeci">COLOR</div><div class="ttdoc">The colors available under ANSI-BBS.</div><div class="ttdef"><b>Definition:</b> door.h:90</div></div>
  655. <div class="ttc" id="aclassdoor_1_1ANSIColor_html"><div class="ttname"><a href="classdoor_1_1ANSIColor.html">door::ANSIColor</a></div><div class="ttdoc">Foreground, Background and Attributes.</div><div class="ttdef"><b>Definition:</b> door.h:137</div></div>
  656. <div class="ttc" id="aclassdoor_1_1Door_html_a65e014489e39390328fbf448a304d548"><div class="ttname"><a href="classdoor_1_1Door.html#a65e014489e39390328fbf448a304d548">door::Door::stop_thread</a></div><div class="ttdeci">std::promise&lt; void &gt; stop_thread</div><div class="ttdef"><b>Definition:</b> door.h:215</div></div>
  657. <div class="ttc" id="aclassdoor_1_1Door_html_a93bbb3d1bfcec623e46ef47e6ba6b470"><div class="ttname"><a href="classdoor_1_1Door.html#a93bbb3d1bfcec623e46ef47e6ba6b470">door::Door::input_string</a></div><div class="ttdeci">std::string input_string(int max)</div><div class="ttdoc">Input a string of requested max length.</div><div class="ttdef"><b>Definition:</b> door.cpp:1123</div></div>
  658. <div class="ttc" id="aclassdoor_1_1Door_html_aa807fbcea8d7e92f591d9f459f392232"><div class="ttname"><a href="classdoor_1_1Door.html#aa807fbcea8d7e92f591d9f459f392232">door::Door::get_one_of</a></div><div class="ttdeci">int get_one_of(const char *keys)</div><div class="ttdoc">Get one of these keys.</div><div class="ttdef"><b>Definition:</b> door.cpp:1174</div></div>
  659. <div class="ttc" id="aclassdoor_1_1Menu_html"><div class="ttname"><a href="classdoor_1_1Menu.html">door::Menu</a></div><div class="ttdef"><b>Definition:</b> door.h:686</div></div>
  660. <div class="ttc" id="aclassdoor_1_1Door_html_a4542fd79a3669c8bf7b2354bebb8d4df"><div class="ttname"><a href="classdoor_1_1Door.html#a4542fd79a3669c8bf7b2354bebb8d4df">door::Door::location</a></div><div class="ttdeci">std::string location</div><div class="ttdef"><b>Definition:</b> door.h:261</div></div>
  661. <div class="ttc" id="aclassdoor_1_1ANSIColor_html_a3f724fb65d51b13e4c086e5fa90a5d35"><div class="ttname"><a href="classdoor_1_1ANSIColor.html#a3f724fb65d51b13e4c086e5fa90a5d35">door::ANSIColor::getFg</a></div><div class="ttdeci">COLOR getFg()</div><div class="ttdef"><b>Definition:</b> door.h:171</div></div>
  662. <div class="ttc" id="aclassdoor_1_1Door_html_ac9694a43baa3f7a8c0aaea15910b2afc"><div class="ttname"><a href="classdoor_1_1Door.html#ac9694a43baa3f7a8c0aaea15910b2afc">door::Door::tio_default</a></div><div class="ttdeci">struct termios tio_default</div><div class="ttdef"><b>Definition:</b> door.h:201</div></div>
  663. <div class="ttc" id="aclassdoor_1_1Line_html_a6d12dbae8f1d7f70a32aa1b463bd9f6f"><div class="ttname"><a href="classdoor_1_1Line.html#a6d12dbae8f1d7f70a32aa1b463bd9f6f">door::Line::render</a></div><div class="ttdeci">renderFunction render</div><div class="ttdoc">renderFunction to use when rendering Line.</div><div class="ttdef"><b>Definition:</b> door.h:517</div></div>
  664. <div class="ttc" id="anamespacedoor_html_abafe0a9e79349883af3ab2a7fb544366a9de0e5dd94e861317e74964bed179fa0"><div class="ttname"><a href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366a9de0e5dd94e861317e74964bed179fa0">door::COLOR::GREEN</a></div><div class="ttdeci">@ GREEN</div><div class="ttdoc">GREEN (2)</div></div>
  665. <div class="ttc" id="anamespacedoor_html_abafe0a9e79349883af3ab2a7fb544366ac634ffea7195608364671ac52ee59a61"><div class="ttname"><a href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366ac634ffea7195608364671ac52ee59a61">door::COLOR::MAGENTA</a></div><div class="ttdeci">@ MAGENTA</div><div class="ttdoc">MAGENTA (5)</div></div>
  666. <div class="ttc" id="aclassdoor_1_1ANSIColor_html_a43c2ea9694f74c60f7ac2a396727bd15"><div class="ttname"><a href="classdoor_1_1ANSIColor.html#a43c2ea9694f74c60f7ac2a396727bd15">door::ANSIColor::setFg</a></div><div class="ttdeci">void setFg(COLOR f)</div><div class="ttdoc">Set foreground color.</div><div class="ttdef"><b>Definition:</b> ansicolor.cpp:161</div></div>
  667. <div class="ttc" id="aclassdoor_1_1Door_html_ae3030f754f5c183c0739ca899f5d351c"><div class="ttname"><a href="classdoor_1_1Door.html#ae3030f754f5c183c0739ca899f5d351c">door::Door::cy</a></div><div class="ttdeci">int cy</div><div class="ttdef"><b>Definition:</b> door.h:244</div></div>
  668. <div class="ttc" id="aclassdoor_1_1Door_html_acd2e33e65d7ccac7c46e0c7fa6b3a407"><div class="ttname"><a href="classdoor_1_1Door.html#acd2e33e65d7ccac7c46e0c7fa6b3a407">door::Door::dropfilename</a></div><div class="ttdeci">std::string dropfilename</div><div class="ttdef"><b>Definition:</b> door.h:208</div></div>
  669. <div class="ttc" id="aclassdoor_1_1Goto_html_a2ef887a839d1542dc2b7bbcbc4cd0477"><div class="ttname"><a href="classdoor_1_1Goto.html#a2ef887a839d1542dc2b7bbcbc4cd0477">door::Goto::y</a></div><div class="ttdeci">int y</div><div class="ttdoc">Y-Position.</div><div class="ttdef"><b>Definition:</b> door.h:429</div></div>
  670. <div class="ttc" id="anamespacedoor_html_ad9c2405adaa0b5168bc53059b3a978c1"><div class="ttname"><a href="namespacedoor.html#ad9c2405adaa0b5168bc53059b3a978c1">door::renderFunction</a></div><div class="ttdeci">std::function&lt; Render(const std::string &amp;)&gt; renderFunction</div><div class="ttdoc">Render output function.</div><div class="ttdef"><b>Definition:</b> door.h:355</div></div>
  671. <div class="ttc" id="aclassdoor_1_1Door_html_a2456a5f520ad5a005ec13bebbfb0774d"><div class="ttname"><a href="classdoor_1_1Door.html#a2456a5f520ad5a005ec13bebbfb0774d">door::Door::logf</a></div><div class="ttdeci">ofstream logf</div><div class="ttdef"><b>Definition:</b> door.h:212</div></div>
  672. <div class="ttc" id="anamespacedoor_html_a08afbc9eecb6efd7d4c741023b11db91acc939b66711e314a026eba1532bec367"><div class="ttname"><a href="namespacedoor.html#a08afbc9eecb6efd7d4c741023b11db91acc939b66711e314a026eba1532bec367">door::BorderStyle::DOUBLE_SINGLE</a></div><div class="ttdeci">@ DOUBLE_SINGLE</div><div class="ttdoc">DOUBLE top SINGLE side (4)</div></div>
  673. <div class="ttc" id="aclassdoor_1_1Line_html_a3896c3006cac3435613732c29afc60ed"><div class="ttname"><a href="classdoor_1_1Line.html#a3896c3006cac3435613732c29afc60ed">door::Line::color</a></div><div class="ttdeci">ANSIColor color</div><div class="ttdoc">Line color.</div><div class="ttdef"><b>Definition:</b> door.h:510</div></div>
  674. <div class="ttc" id="aclassdoor_1_1Render_html_a6540ecf2f2f4a3e9eaeb47cc9c7daa00"><div class="ttname"><a href="classdoor_1_1Render.html#a6540ecf2f2f4a3e9eaeb47cc9c7daa00">door::Render::Render</a></div><div class="ttdeci">Render(const std::string txt)</div><div class="ttdef"><b>Definition:</b> door.cpp:1270</div></div>
  675. <div class="ttc" id="aclassdoor_1_1ANSIColor_html_aca2261a9b173cc87586db6784e03e6b5"><div class="ttname"><a href="classdoor_1_1ANSIColor.html#aca2261a9b173cc87586db6784e03e6b5">door::ANSIColor::getBg</a></div><div class="ttdeci">COLOR getBg()</div><div class="ttdef"><b>Definition:</b> door.h:176</div></div>
  676. <div class="ttc" id="aclassdoor_1_1Panel_html_a69a98249e3f33fd20300aa62120b8561"><div class="ttname"><a href="classdoor_1_1Panel.html#a69a98249e3f33fd20300aa62120b8561">door::Panel::spacer_line</a></div><div class="ttdeci">std::unique_ptr&lt; Line &gt; spacer_line(bool single)</div><div class="ttdoc">Create a spacer line using block drawing characters.</div><div class="ttdef"><b>Definition:</b> panel.cpp:357</div></div>
  677. <div class="ttc" id="anamespacedoor_html_a08afbc9eecb6efd7d4c741023b11db91ab50339a10e1de285ac99d4c3990b8693"><div class="ttname"><a href="namespacedoor.html#a08afbc9eecb6efd7d4c741023b11db91ab50339a10e1de285ac99d4c3990b8693">door::BorderStyle::NONE</a></div><div class="ttdeci">@ NONE</div><div class="ttdoc">NONE (0)</div></div>
  678. <div class="ttc" id="aclassdoor_1_1ANSIColor_html_af0c0998c248520613f87638f02ef48d8"><div class="ttname"><a href="classdoor_1_1ANSIColor.html#af0c0998c248520613f87638f02ef48d8">door::ANSIColor::blink</a></div><div class="ttdeci">unsigned int blink</div><div class="ttdef"><b>Definition:</b> door.h:148</div></div>
  679. <div class="ttc" id="anamespacedoor_html_ac70193caf66e4b9aed1529593727a6eb"><div class="ttname"><a href="namespacedoor.html#ac70193caf66e4b9aed1529593727a6eb">door::cls</a></div><div class="ttdeci">Clrscr cls</div><div class="ttdef"><b>Definition:</b> door.cpp:1352</div></div>
  680. <div class="ttc" id="aclassdoor_1_1Line_html_a9487858a23dc53c987e6504e501957e6"><div class="ttname"><a href="classdoor_1_1Line.html#a9487858a23dc53c987e6504e501957e6">door::Line::setPadding</a></div><div class="ttdeci">void setPadding(std::string &amp;padstring, ANSIColor padColor)</div><div class="ttdef"><b>Definition:</b> lines.cpp:256</div></div>
  681. <div class="ttc" id="aclassdoor_1_1ANSIColor_html_aae86353583a08ca1d9fa4f7bb366a805"><div class="ttname"><a href="classdoor_1_1ANSIColor.html#aae86353583a08ca1d9fa4f7bb366a805">door::ANSIColor::reset</a></div><div class="ttdeci">unsigned int reset</div><div class="ttdef"><b>Definition:</b> door.h:144</div></div>
  682. <div class="ttc" id="aclassdoor_1_1Line_html"><div class="ttname"><a href="classdoor_1_1Line.html">door::Line</a></div><div class="ttdoc">Text and ANSIColor.</div><div class="ttdef"><b>Definition:</b> door.h:502</div></div>
  683. <div class="ttc" id="aclassdoor_1_1Line_html_a702464834d9546f67f1952a62e4038f2"><div class="ttname"><a href="classdoor_1_1Line.html#a702464834d9546f67f1952a62e4038f2">door::Line::operator&lt;&lt;</a></div><div class="ttdeci">friend std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const Line &amp;l)</div><div class="ttdef"><b>Definition:</b> lines.cpp:354</div></div>
  684. <div class="ttc" id="aclassdoor_1_1Door_html_a7e9aa4c92094271c40d67979b087d36b"><div class="ttname"><a href="classdoor_1_1Door.html#a7e9aa4c92094271c40d67979b087d36b">door::Door::opt</a></div><div class="ttdeci">AnyOption opt</div><div class="ttdef"><b>Definition:</b> door.h:229</div></div>
  685. <div class="ttc" id="aclassdoor_1_1Clrscr_html_a1cc056058e52bb52343b17636e6fa5e0"><div class="ttname"><a href="classdoor_1_1Clrscr.html#a1cc056058e52bb52343b17636e6fa5e0">door::Clrscr::operator&lt;&lt;</a></div><div class="ttdeci">friend std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const Clrscr &amp;clr)</div><div class="ttdef"><b>Definition:</b> door.cpp:1336</div></div>
  686. <div class="ttc" id="aclassdoor_1_1Door_html_a76deeffd8b0df5112b6e4d03d9ebdd73"><div class="ttname"><a href="classdoor_1_1Door.html#a76deeffd8b0df5112b6e4d03d9ebdd73">door::Door::time_thread</a></div><div class="ttdeci">std::thread time_thread</div><div class="ttdef"><b>Definition:</b> door.h:221</div></div>
  687. <div class="ttc" id="anamespacedoor_html_abafe0a9e79349883af3ab2a7fb544366aa2d9547b5d3dd9f05984475f7c926da0"><div class="ttname"><a href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366aa2d9547b5d3dd9f05984475f7c926da0">door::COLOR::RED</a></div><div class="ttdeci">@ RED</div><div class="ttdoc">RED (1)</div></div>
  688. <div class="ttc" id="aclassdoor_1_1Menu_html_a34666d486c5a22728e70ca8b43cd644e"><div class="ttname"><a href="classdoor_1_1Menu.html#a34666d486c5a22728e70ca8b43cd644e">door::Menu::Menu</a></div><div class="ttdeci">Menu(int x, int y, int width)</div><div class="ttdoc">Construct a new Menu object.</div><div class="ttdef"><b>Definition:</b> panel.cpp:579</div></div>
  689. <div class="ttc" id="anamespacedoor_html_add24f9a933f9a6e613de6d56854e5c52ab5859d8721cfdc0312b2838b9c985bc1"><div class="ttname"><a href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52ab5859d8721cfdc0312b2838b9c985bc1">door::ATTR::RESET</a></div><div class="ttdeci">@ RESET</div><div class="ttdoc">RESET forces all attributes (and Colors) to be sent.</div></div>
  690. <div class="ttc" id="aclassdoor_1_1Screen_html_aa33539627ee3d8a5c4b09ee9401711e0"><div class="ttname"><a href="classdoor_1_1Screen.html#aa33539627ee3d8a5c4b09ee9401711e0">door::Screen::operator&lt;&lt;</a></div><div class="ttdeci">friend std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const Screen &amp;s)</div><div class="ttdoc">Outputs screen to stream.</div><div class="ttdef"><b>Definition:</b> panel.cpp:926</div></div>
  691. <div class="ttc" id="anamespacedoor_html_a08afbc9eecb6efd7d4c741023b11db91afd3e4ece78a7d422280d5ed379482229"><div class="ttname"><a href="namespacedoor.html#a08afbc9eecb6efd7d4c741023b11db91afd3e4ece78a7d422280d5ed379482229">door::BorderStyle::DOUBLE</a></div><div class="ttdeci">@ DOUBLE</div><div class="ttdoc">DOUBLE (2)</div></div>
  692. <div class="ttc" id="aclassdoor_1_1Panel_html_ac7db32ec19257344af24bd80536c76d5"><div class="ttname"><a href="classdoor_1_1Panel.html#ac7db32ec19257344af24bd80536c76d5">door::Panel::lines</a></div><div class="ttdeci">std::vector&lt; std::unique_ptr&lt; Line &gt; &gt; lines</div><div class="ttdef"><b>Definition:</b> door.h:612</div></div>
  693. <div class="ttc" id="anamespacedoor_html_adb2697f83f8ce701366e05ed72c97d6e"><div class="ttname"><a href="namespacedoor.html#adb2697f83f8ce701366e05ed72c97d6e">door::updateFunction</a></div><div class="ttdeci">std::function&lt; std::string(void)&gt; updateFunction</div><div class="ttdef"><b>Definition:</b> door.h:374</div></div>
  694. <div class="ttc" id="anamespacedoor_html_a36352ded72aee66b10e1bda6d3d8efb8"><div class="ttname"><a href="namespacedoor.html#a36352ded72aee66b10e1bda6d3d8efb8">door::nl</a></div><div class="ttdeci">NewLine nl</div><div class="ttdef"><b>Definition:</b> door.cpp:1380</div></div>
  695. <div class="ttc" id="aclassdoor_1_1Panel_html_a57234d5f1d891ed8f9ea9c8c9be7aed4"><div class="ttname"><a href="classdoor_1_1Panel.html#a57234d5f1d891ed8f9ea9c8c9be7aed4">door::Panel::update</a></div><div class="ttdeci">bool update(Door &amp;d)</div><div class="ttdoc">Updates a panel.</div><div class="ttdef"><b>Definition:</b> panel.cpp:273</div></div>
  696. <div class="ttc" id="anamespacedoor_html_a08afbc9eecb6efd7d4c741023b11db91a6dfbebc428d74ec8a1552722ceccda3a"><div class="ttname"><a href="namespacedoor.html#a08afbc9eecb6efd7d4c741023b11db91a6dfbebc428d74ec8a1552722ceccda3a">door::BorderStyle::SINGLE_DOUBLE</a></div><div class="ttdeci">@ SINGLE_DOUBLE</div><div class="ttdoc">SINGLE top DOUBLE side (3)</div></div>
  697. <div class="ttc" id="aclassdoor_1_1Line_html_a548cd373dbd7ad89eab9acce79d324a2"><div class="ttname"><a href="classdoor_1_1Line.html#a548cd373dbd7ad89eab9acce79d324a2">door::Line::hasRender</a></div><div class="ttdeci">bool hasRender(void)</div><div class="ttdef"><b>Definition:</b> lines.cpp:188</div></div>
  698. <div class="ttc" id="aclassdoor_1_1ANSIColor_html_a24c97bd59b2a17cca37512dea5d21505"><div class="ttname"><a href="classdoor_1_1ANSIColor.html#a24c97bd59b2a17cca37512dea5d21505">door::ANSIColor::output</a></div><div class="ttdeci">std::string output(void) const</div><div class="ttdef"><b>Definition:</b> ansicolor.cpp:207</div></div>
  699. <div class="ttc" id="anamespacedoor_html_a3274dff22ddb19a3e429a703ee6f3e57"><div class="ttname"><a href="namespacedoor.html#a3274dff22ddb19a3e429a703ee6f3e57">door::rBlueYellow</a></div><div class="ttdeci">renderFunction rBlueYellow</div><div class="ttdoc">BlueYellow Render example function.</div><div class="ttdef"><b>Definition:</b> door.cpp:1443</div></div>
  700. <div class="ttc" id="aclassdoor_1_1Line_html_a2008c67026c41f33bc2c8cb5f9787f3b"><div class="ttname"><a href="classdoor_1_1Line.html#a2008c67026c41f33bc2c8cb5f9787f3b">door::Line::text</a></div><div class="ttdeci">std::string text</div><div class="ttdoc">Text of the line.</div><div class="ttdef"><b>Definition:</b> door.h:505</div></div>
  701. <div class="ttc" id="anamespacedoor_html_abafe0a9e79349883af3ab2a7fb544366a8a568e5f41b7e4da88fe5c4a00aad34e"><div class="ttname"><a href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366a8a568e5f41b7e4da88fe5c4a00aad34e">door::COLOR::YELLOW</a></div><div class="ttdeci">@ YELLOW</div><div class="ttdoc">YELLOW (3)</div></div>
  702. <div class="ttc" id="anamespacedoor_html_add24f9a933f9a6e613de6d56854e5c52"><div class="ttname"><a href="namespacedoor.html#add24f9a933f9a6e613de6d56854e5c52">door::ATTR</a></div><div class="ttdeci">ATTR</div><div class="ttdoc">ANSI-BBS text attributes.</div><div class="ttdef"><b>Definition:</b> door.h:114</div></div>
  703. <div class="ttc" id="aclassdoor_1_1Panel_html_aa5ad389766a5e5c22588dae37cce1d1c"><div class="ttname"><a href="classdoor_1_1Panel.html#aa5ad389766a5e5c22588dae37cce1d1c">door::Panel::set</a></div><div class="ttdeci">void set(int x, int y)</div><div class="ttdoc">Set the panels X and Y screen position.</div><div class="ttdef"><b>Definition:</b> panel.cpp:79</div></div>
  704. <div class="ttc" id="anamespacedoor_html_ae3a70989c43f6cb3522308af748b4481"><div class="ttname"><a href="namespacedoor.html#ae3a70989c43f6cb3522308af748b4481">door::reset</a></div><div class="ttdeci">ANSIColor reset(ATTR::RESET)</div><div class="ttdoc">reset colors to normal</div><div class="ttdef"><b>Definition:</b> door.h:414</div></div>
  705. <div class="ttc" id="aclassdoor_1_1ANSIColor_html_abfa527e4328dc5168256da2ba21f5a50"><div class="ttname"><a href="classdoor_1_1ANSIColor.html#abfa527e4328dc5168256da2ba21f5a50">door::ANSIColor::ANSIColor</a></div><div class="ttdeci">ANSIColor()</div><div class="ttdef"><b>Definition:</b> ansicolor.cpp:16</div></div>
  706. <div class="ttc" id="aclassdoor_1_1Door_html_ac271b0be7c45192f1e5691b33b6703bb"><div class="ttname"><a href="classdoor_1_1Door.html#ac271b0be7c45192f1e5691b33b6703bb">door::Door::detect_unicode_and_screen</a></div><div class="ttdeci">void detect_unicode_and_screen(void)</div><div class="ttdoc">Detect unicode/CP437, and screen size.</div><div class="ttdef"><b>Definition:</b> door.cpp:457</div></div>
  707. <div class="ttc" id="aclassdoor_1_1ANSIColor_html_adb4561a6482b66b7efcd18b3257102f1"><div class="ttname"><a href="classdoor_1_1ANSIColor.html#adb4561a6482b66b7efcd18b3257102f1">door::ANSIColor::setBg</a></div><div class="ttdeci">void setBg(COLOR b)</div><div class="ttdoc">Set background color.</div><div class="ttdef"><b>Definition:</b> ansicolor.cpp:185</div></div>
  708. <div class="ttc" id="anamespacedoor_html_abafe0a9e79349883af3ab2a7fb544366ab5bf627e448384cf3a4c35121ca6008d"><div class="ttname"><a href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366ab5bf627e448384cf3a4c35121ca6008d">door::COLOR::WHITE</a></div><div class="ttdeci">@ WHITE</div><div class="ttdoc">WHITE (7)</div></div>
  709. <div class="ttc" id="aclassdoor_1_1Line_html_a00ec1edb246d442c4dc7ac2dc5876624"><div class="ttname"><a href="classdoor_1_1Line.html#a00ec1edb246d442c4dc7ac2dc5876624">door::Line::update</a></div><div class="ttdeci">bool update(void)</div><div class="ttdef"><b>Definition:</b> lines.cpp:319</div></div>
  710. <div class="ttc" id="aclassdoor_1_1Door_html_a9190e804f05c37523aad88e5ebb0f826"><div class="ttname"><a href="classdoor_1_1Door.html#a9190e804f05c37523aad88e5ebb0f826">door::Door::inactivity</a></div><div class="ttdeci">int inactivity</div><div class="ttdoc">Number of seconds before timing out.</div><div class="ttdef"><b>Definition:</b> door.h:255</div></div>
  711. <div class="ttc" id="aclassdoor_1_1Door_html_abc021f4f29b9f78356641ba68df3ee4a"><div class="ttname"><a href="classdoor_1_1Door.html#abc021f4f29b9f78356641ba68df3ee4a">door::Door::track</a></div><div class="ttdeci">bool track</div><div class="ttdef"><b>Definition:</b> door.h:240</div></div>
  712. <div class="ttc" id="aclassdoor_1_1Door_html_ab72706c45d0d143c30dbe61f4e9f6a68"><div class="ttname"><a href="classdoor_1_1Door.html#ab72706c45d0d143c30dbe61f4e9f6a68">door::Door::has_dropfile</a></div><div class="ttdeci">bool has_dropfile</div><div class="ttdef"><b>Definition:</b> door.h:205</div></div>
  713. <div class="ttc" id="aclassdoor_1_1Panel_html_ae5630294b780b57aba721969762f50eb"><div class="ttname"><a href="classdoor_1_1Panel.html#ae5630294b780b57aba721969762f50eb">door::Panel::lineSetBack</a></div><div class="ttdeci">void lineSetBack(ANSIColor back)</div><div class="ttdoc">Set background of all lines in the panel.</div><div class="ttdef"><b>Definition:</b> panel.cpp:344</div></div>
  714. <div class="ttc" id="aclassdoor_1_1Screen_html_a9f93b83a6c0ebab3972dd7340c88675a"><div class="ttname"><a href="classdoor_1_1Screen.html#a9f93b83a6c0ebab3972dd7340c88675a">door::Screen::panels</a></div><div class="ttdeci">std::vector&lt; std::unique_ptr&lt; Panel &gt; &gt; panels</div><div class="ttdoc">vector of panels.</div><div class="ttdef"><b>Definition:</b> door.h:729</div></div>
  715. <div class="ttc" id="aclassdoor_1_1Door_html_ad6b79329830e41ba0ee960b01804a383"><div class="ttname"><a href="classdoor_1_1Door.html#ad6b79329830e41ba0ee960b01804a383">door::Door::height</a></div><div class="ttdeci">int height</div><div class="ttdef"><b>Definition:</b> door.h:248</div></div>
  716. <div class="ttc" id="aclassdoor_1_1Line_html_a3fab9317af5f86949eb0d6faf1f04653"><div class="ttname"><a href="classdoor_1_1Line.html#a3fab9317af5f86949eb0d6faf1f04653">door::Line::padding</a></div><div class="ttdeci">std::string padding</div><div class="ttdoc">Padding characters.</div><div class="ttdef"><b>Definition:</b> door.h:512</div></div>
  717. <div class="ttc" id="anamespacedoor_html_a08afbc9eecb6efd7d4c741023b11db91a0679273e201afd0bf57af3961f8a23b8"><div class="ttname"><a href="namespacedoor.html#a08afbc9eecb6efd7d4c741023b11db91a0679273e201afd0bf57af3961f8a23b8">door::BorderStyle::SINGLE</a></div><div class="ttdeci">@ SINGLE</div><div class="ttdoc">SINGLE (1)</div></div>
  718. <div class="ttc" id="anamespacedoor_html_aa6a7c86274470fd22e45676ba6eebb36"><div class="ttname"><a href="namespacedoor.html#aa6a7c86274470fd22e45676ba6eebb36">door::SaveCursor</a></div><div class="ttdeci">const char SaveCursor[]</div><div class="ttdoc">ANSI Save Cursor position command.</div><div class="ttdef"><b>Definition:</b> door.cpp:1434</div></div>
  719. <div class="ttc" id="aclassdoor_1_1Door_html_af9732845ca55a168cb03400486e47a37"><div class="ttname"><a href="classdoor_1_1Door.html#af9732845ca55a168cb03400486e47a37">door::Door::handle</a></div><div class="ttdeci">std::string handle</div><div class="ttdef"><b>Definition:</b> door.h:259</div></div>
  720. <div class="ttc" id="aclassdoor_1_1Door_html_aad67bdb165987c4e3133a0f12f2b2b33"><div class="ttname"><a href="classdoor_1_1Door.html#aad67bdb165987c4e3133a0f12f2b2b33">door::Door::xsputn</a></div><div class="ttdeci">std::streamsize xsputn(const char *s, std::streamsize n) override</div><div class="ttdef"><b>Definition:</b> door.cpp:1202</div></div>
  721. <div class="ttc" id="anamespacedoor_html_a08afbc9eecb6efd7d4c741023b11db91"><div class="ttname"><a href="namespacedoor.html#a08afbc9eecb6efd7d4c741023b11db91">door::BorderStyle</a></div><div class="ttdeci">BorderStyle</div><div class="ttdef"><b>Definition:</b> door.h:584</div></div>
  722. <div class="ttc" id="anamespacedoor_html_a1626abff63f7a1b9dc696969c860283b"><div class="ttname"><a href="namespacedoor.html#a1626abff63f7a1b9dc696969c860283b">door::unicode</a></div><div class="ttdeci">bool unicode</div><div class="ttdoc">Was unicode detected?</div><div class="ttdef"><b>Definition:</b> door.cpp:208</div></div>
  723. <div class="ttc" id="aclassdoor_1_1ANSIColor_html_ad658a59d371bc8582411ada281c50822"><div class="ttname"><a href="classdoor_1_1ANSIColor.html#ad658a59d371bc8582411ada281c50822">door::ANSIColor::operator&lt;&lt;</a></div><div class="ttdeci">friend std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const ANSIColor &amp;c)</div><div class="ttdef"><b>Definition:</b> ansicolor.cpp:371</div></div>
  724. <div class="ttc" id="anamespacedoor_html"><div class="ttname"><a href="namespacedoor.html">door</a></div><div class="ttdoc">The BBS door project. This is an attempt at writing a C++ BBS door toolkit.</div><div class="ttdef"><b>Definition:</b> ansicolor.cpp:9</div></div>
  725. <div class="ttc" id="anamespacedoor_html_a08afbc9eecb6efd7d4c741023b11db91a56f031dd03707d695f76c63ddbf40bd7"><div class="ttname"><a href="namespacedoor.html#a08afbc9eecb6efd7d4c741023b11db91a56f031dd03707d695f76c63ddbf40bd7">door::BorderStyle::BLANK</a></div><div class="ttdeci">@ BLANK</div><div class="ttdoc">BLANK (5)</div></div>
  726. <div class="ttc" id="aclassdoor_1_1Door_html_ae0e34a59d92ec9d70720fd90380b4223"><div class="ttname"><a href="classdoor_1_1Door.html#ae0e34a59d92ec9d70720fd90380b4223">door::Door::debug_buffer</a></div><div class="ttdeci">std::string debug_buffer</div><div class="ttdef"><b>Definition:</b> door.h:231</div></div>
  727. <div class="ttc" id="aclassdoor_1_1Door_html_a264d9e4eb0d6eb0e03f60520bcb11dd4"><div class="ttname"><a href="classdoor_1_1Door.html#a264d9e4eb0d6eb0e03f60520bcb11dd4">door::Door::overflow</a></div><div class="ttdeci">int overflow(int c) override</div><div class="ttdef"><b>Definition:</b> door.cpp:1229</div></div>
  728. <div class="ttc" id="aclassdoor_1_1ColorOutput_html_ab82c8458bcfa264fbfd7b7b6f367864d"><div class="ttname"><a href="classdoor_1_1ColorOutput.html#ab82c8458bcfa264fbfd7b7b6f367864d">door::ColorOutput::len</a></div><div class="ttdeci">int len</div><div class="ttdoc">Length.</div><div class="ttdef"><b>Definition:</b> door.h:301</div></div>
  729. <div class="ttc" id="anamespacedoor_html_af025775fb0b68d66dc42ee3299444fb7"><div class="ttname"><a href="namespacedoor.html#af025775fb0b68d66dc42ee3299444fb7">door::Justify</a></div><div class="ttdeci">Justify</div><div class="ttdef"><b>Definition:</b> door.h:417</div></div>
  730. <div class="ttc" id="aclassdoor_1_1Menu_html_a06da9157cc5984510153a6b93bf2e71e"><div class="ttname"><a href="classdoor_1_1Menu.html#a06da9157cc5984510153a6b93bf2e71e">door::Menu::choose</a></div><div class="ttdeci">int choose(Door &amp;door)</div><div class="ttdef"><b>Definition:</b> panel.cpp:757</div></div>
  731. <div class="ttc" id="aclassdoor_1_1Menu_html_aff858b2112970b66917a30ad3c00609d"><div class="ttname"><a href="classdoor_1_1Menu.html#aff858b2112970b66917a30ad3c00609d">door::Menu::makeRender</a></div><div class="ttdeci">static renderFunction makeRender(ANSIColor c1, ANSIColor c2, ANSIColor c3, ANSIColor c4)</div><div class="ttdef"><b>Definition:</b> panel.cpp:712</div></div>
  732. <div class="ttc" id="aclassdoor_1_1Door_html_a773004acf25257a8e384bc6333b3e169"><div class="ttname"><a href="classdoor_1_1Door.html#a773004acf25257a8e384bc6333b3e169">door::Door::width</a></div><div class="ttdeci">int width</div><div class="ttdef"><b>Definition:</b> door.h:246</div></div>
  733. <div class="ttc" id="aclassdoor_1_1Door_html_a30663f319df84ef33658b593b41b06a2"><div class="ttname"><a href="classdoor_1_1Door.html#a30663f319df84ef33658b593b41b06a2">door::Door::parse_dropfile</a></div><div class="ttdeci">void parse_dropfile(const char *filepath)</div><div class="ttdoc">Load dropfile into dropfilelines and parse.</div><div class="ttdef"><b>Definition:</b> door.cpp:576</div></div>
  734. <div class="ttc" id="anamespacedoor_html_abafe0a9e79349883af3ab2a7fb544366a1b3e1ee9bff86431dea6b181365ba65f"><div class="ttname"><a href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366a1b3e1ee9bff86431dea6b181365ba65f">door::COLOR::BLUE</a></div><div class="ttdeci">@ BLUE</div><div class="ttdoc">BLUE (4)</div></div>
  735. <div class="ttc" id="anamespacedoor_html_a64600b79b9b73f4705859ce4efb1a2fd"><div class="ttname"><a href="namespacedoor.html#a64600b79b9b73f4705859ce4efb1a2fd">door::pushback</a></div><div class="ttdeci">std::list&lt; char &gt; pushback</div><div class="ttdoc">pushback buffer for keys.</div><div class="ttdef"><b>Definition:</b> door.cpp:60</div></div>
  736. <div class="ttc" id="aclassdoor_1_1Clrscr_html"><div class="ttname"><a href="classdoor_1_1Clrscr.html">door::Clrscr</a></div><div class="ttdoc">Clear the screen.</div><div class="ttdef"><b>Definition:</b> door.h:381</div></div>
  737. <div class="ttc" id="anamespacedoor_html_ac39a1dfdb8dec210d28133625f860bc1"><div class="ttname"><a href="namespacedoor.html#ac39a1dfdb8dec210d28133625f860bc1">door::debug_capture</a></div><div class="ttdeci">bool debug_capture</div><div class="ttdoc">Capture the output for debugging.</div><div class="ttdef"><b>Definition:</b> door.cpp:222</div></div>
  738. <div class="ttc" id="aclassdoor_1_1ColorOutput_html_a37a1ffba5df591c2e68d4a491c471499"><div class="ttname"><a href="classdoor_1_1ColorOutput.html#a37a1ffba5df591c2e68d4a491c471499">door::ColorOutput::reset</a></div><div class="ttdeci">void reset(void)</div><div class="ttdef"><b>Definition:</b> door.cpp:1257</div></div>
  739. <div class="ttc" id="aclassdoor_1_1ANSIColor_html_ade7213fff53121cefba77d4f8a187a64"><div class="ttname"><a href="classdoor_1_1ANSIColor.html#ade7213fff53121cefba77d4f8a187a64">door::ANSIColor::bg</a></div><div class="ttdeci">COLOR bg</div><div class="ttdef"><b>Definition:</b> door.h:141</div></div>
  740. <div class="ttc" id="aclassdoor_1_1Screen_html"><div class="ttname"><a href="classdoor_1_1Screen.html">door::Screen</a></div><div class="ttdef"><b>Definition:</b> door.h:723</div></div>
  741. <div class="ttc" id="aclassdoor_1_1Door_html_a7671e29e45d346657b5bd5d66f569737"><div class="ttname"><a href="classdoor_1_1Door.html#a7671e29e45d346657b5bd5d66f569737">door::Door::getch</a></div><div class="ttdeci">signed int getch(void)</div><div class="ttdoc">low level read key.</div><div class="ttdef"><b>Definition:</b> door.cpp:714</div></div>
  742. <div class="ttc" id="aclassdoor_1_1Door_html_a10d40a7089473c72c1acf5a987777404"><div class="ttname"><a href="classdoor_1_1Door.html#a10d40a7089473c72c1acf5a987777404">door::Door::getkey</a></div><div class="ttdeci">signed int getkey(void)</div><div class="ttdoc">Get a key routine.</div><div class="ttdef"><b>Definition:</b> door.cpp:790</div></div>
  743. <div class="ttc" id="aclassdoor_1_1Goto_html_a099828631625d5b66bb8789510d849d7"><div class="ttname"><a href="classdoor_1_1Goto.html#a099828631625d5b66bb8789510d849d7">door::Goto::Goto</a></div><div class="ttdeci">Goto(int xpos, int ypos)</div><div class="ttdef"><b>Definition:</b> door.cpp:1388</div></div>
  744. <div class="ttc" id="aclassdoor_1_1Door_html_adb2006e73645885986d5487eb576fd21"><div class="ttname"><a href="classdoor_1_1Door.html#adb2006e73645885986d5487eb576fd21">door::Door::haskey</a></div><div class="ttdeci">bool haskey(void)</div><div class="ttdoc">Are there any keys in STDIN?</div><div class="ttdef"><b>Definition:</b> door.cpp:672</div></div>
  745. <div class="ttc" id="aclassdoor_1_1Door_html_a076ef095ae4e49acdb4afed0b413e430"><div class="ttname"><a href="classdoor_1_1Door.html#a076ef095ae4e49acdb4afed0b413e430">door::Door::seconds_elapsed</a></div><div class="ttdeci">int seconds_elapsed</div><div class="ttdef"><b>Definition:</b> door.h:218</div></div>
  746. <div class="ttc" id="aclassdoor_1_1Line_html_a3e7ab2ba2c01dcb323dcfefbdad71784"><div class="ttname"><a href="classdoor_1_1Line.html#a3e7ab2ba2c01dcb323dcfefbdad71784">door::Line::setText</a></div><div class="ttdeci">void setText(std::string &amp;txt)</div><div class="ttdef"><b>Definition:</b> lines.cpp:243</div></div>
  747. <div class="ttc" id="anamespacedoor_html_a1ae3caab423b38b35e887d79b5ac1811"><div class="ttname"><a href="namespacedoor.html#a1ae3caab423b38b35e887d79b5ac1811">door::RestoreCursor</a></div><div class="ttdeci">const char RestoreCursor[]</div><div class="ttdoc">ANSI Restore Cursor position command.</div><div class="ttdef"><b>Definition:</b> door.cpp:1438</div></div>
  748. <div class="ttc" id="anamespacedoor_html_abafe0a9e79349883af3ab2a7fb544366a08d0012388564e95c3b4a7407cf04965"><div class="ttname"><a href="namespacedoor.html#abafe0a9e79349883af3ab2a7fb544366a08d0012388564e95c3b4a7407cf04965">door::COLOR::BLACK</a></div><div class="ttdeci">@ BLACK</div><div class="ttdoc">BLACK (0)</div></div>
  749. <div class="ttc" id="aclassdoor_1_1Door_html_a459531d32a3208856979ebcdeb7c6aed"><div class="ttname"><a href="classdoor_1_1Door.html#a459531d32a3208856979ebcdeb7c6aed">door::Door::time_left</a></div><div class="ttdeci">atomic&lt; int &gt; time_left</div><div class="ttdef"><b>Definition:</b> door.h:268</div></div>
  750. <div class="ttc" id="aclassdoor_1_1Render_html"><div class="ttname"><a href="classdoor_1_1Render.html">door::Render</a></div><div class="ttdoc">Rendering a string with ANSIColor.</div><div class="ttdef"><b>Definition:</b> door.h:319</div></div>
  751. <div class="ttc" id="aclassdoor_1_1Line_html_ab9603154e50c33245f30dbc5c60bd5c8"><div class="ttname"><a href="classdoor_1_1Line.html#ab9603154e50c33245f30dbc5c60bd5c8">door::Line::hasColor</a></div><div class="ttdeci">bool hasColor</div><div class="ttdoc">Do we have color?</div><div class="ttdef"><b>Definition:</b> door.h:508</div></div>
  752. <div class="ttc" id="aclassdoor_1_1Render_html_afc2c16653f0241b3014911fa3604524e"><div class="ttname"><a href="classdoor_1_1Render.html#afc2c16653f0241b3014911fa3604524e">door::Render::text</a></div><div class="ttdeci">std::string text</div><div class="ttdoc">Complete text to be rendered.</div><div class="ttdef"><b>Definition:</b> door.h:321</div></div>
  753. <div class="ttc" id="aclassdoor_1_1Door_html_ad774c3579cd2cff08dcbd5c565bc9b70"><div class="ttname"><a href="classdoor_1_1Door.html#ad774c3579cd2cff08dcbd5c565bc9b70">door::Door::sysop</a></div><div class="ttdeci">std::string sysop</div><div class="ttdef"><b>Definition:</b> door.h:263</div></div>
  754. <div class="ttc" id="aclassdoor_1_1Door_html_ae6d61a5be02656c0b9479715d0d980dd"><div class="ttname"><a href="classdoor_1_1Door.html#ae6d61a5be02656c0b9479715d0d980dd">door::Door::sleep_ms_key</a></div><div class="ttdeci">signed int sleep_ms_key(int msecs)</div><div class="ttdoc">Waits miliseconds for a keypress.</div><div class="ttdef"><b>Definition:</b> door.cpp:1074</div></div>
  755. <div class="ttc" id="aclassdoor_1_1Panel_html"><div class="ttname"><a href="classdoor_1_1Panel.html">door::Panel</a></div><div class="ttdef"><b>Definition:</b> door.h:599</div></div>
  756. <div class="ttc" id="aclassdoor_1_1NewLine_html_afe2e2b066c6b919f9beb22fa6b9f362f"><div class="ttname"><a href="classdoor_1_1NewLine.html#afe2e2b066c6b919f9beb22fa6b9f362f">door::NewLine::operator&lt;&lt;</a></div><div class="ttdeci">friend std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const NewLine &amp;nl)</div><div class="ttdef"><b>Definition:</b> door.cpp:1366</div></div>
  757. <div class="ttc" id="aclassdoor_1_1Line_html_a68f6b1bfdaab2ed72f2a13810b166049"><div class="ttname"><a href="classdoor_1_1Line.html#a68f6b1bfdaab2ed72f2a13810b166049">door::Line::setUpdater</a></div><div class="ttdeci">void setUpdater(updateFunction uf)</div><div class="ttdef"><b>Definition:</b> lines.cpp:298</div></div>
  758. <div class="ttc" id="aclassdoor_1_1ColorOutput_html"><div class="ttname"><a href="classdoor_1_1ColorOutput.html">door::ColorOutput</a></div><div class="ttdoc">This holds an ANSIColor and text position + length.</div><div class="ttdef"><b>Definition:</b> door.h:291</div></div>
  759. <div class="ttc" id="aclassdoor_1_1ANSIColor_html_a0d990141b78cb8264de9cab06dc1e8cf"><div class="ttname"><a href="classdoor_1_1ANSIColor.html#a0d990141b78cb8264de9cab06dc1e8cf">door::ANSIColor::bold</a></div><div class="ttdeci">unsigned int bold</div><div class="ttdef"><b>Definition:</b> door.h:146</div></div>
  760. <div class="ttc" id="aclassdoor_1_1Line_html_a03790e36725784901cd4e802917754ce"><div class="ttname"><a href="classdoor_1_1Line.html#a03790e36725784901cd4e802917754ce">door::Line::setRender</a></div><div class="ttdeci">void setRender(renderFunction rf)</div><div class="ttdef"><b>Definition:</b> lines.cpp:289</div></div>
  761. <!-- start footer part -->
  762. <hr class="footer"/><address class="footer"><small>
  763. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  764. <img class="footer" src="doxygen.png" alt="doxygen"/>
  765. </a> 1.8.17
  766. </small></address>
  767. </body>
  768. </html>