classdoor_1_1Panel.html 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402
  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::Panel Class Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectalign" style="padding-left: 0.5em;">
  24. <div id="projectname">Bugz Door Project
  25. </div>
  26. </td>
  27. </tr>
  28. </tbody>
  29. </table>
  30. </div>
  31. <!-- end header part -->
  32. <!-- Generated by Doxygen 1.8.17 -->
  33. <script type="text/javascript">
  34. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  35. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  36. /* @license-end */
  37. </script>
  38. <script type="text/javascript" src="menudata.js"></script>
  39. <script type="text/javascript" src="menu.js"></script>
  40. <script type="text/javascript">
  41. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  42. $(function() {
  43. initMenu('',true,false,'search.php','Search');
  44. $(document).ready(function() { init_search(); });
  45. });
  46. /* @license-end */</script>
  47. <div id="main-nav"></div>
  48. <!-- window showing the filter options -->
  49. <div id="MSearchSelectWindow"
  50. onmouseover="return searchBox.OnSearchSelectShow()"
  51. onmouseout="return searchBox.OnSearchSelectHide()"
  52. onkeydown="return searchBox.OnSearchSelectKey(event)">
  53. </div>
  54. <!-- iframe showing the search results (closed by default) -->
  55. <div id="MSearchResultsWindow">
  56. <iframe src="javascript:void(0)" frameborder="0"
  57. name="MSearchResults" id="MSearchResults">
  58. </iframe>
  59. </div>
  60. <div id="nav-path" class="navpath">
  61. <ul>
  62. <li class="navelem"><a class="el" href="namespacedoor.html">door</a></li><li class="navelem"><a class="el" href="classdoor_1_1Panel.html">Panel</a></li> </ul>
  63. </div>
  64. </div><!-- top -->
  65. <div class="header">
  66. <div class="summary">
  67. <a href="#pub-methods">Public Member Functions</a> &#124;
  68. <a href="#pro-attribs">Protected Attributes</a> &#124;
  69. <a href="#friends">Friends</a> &#124;
  70. <a href="classdoor_1_1Panel-members.html">List of all members</a> </div>
  71. <div class="headertitle">
  72. <div class="title">door::Panel Class Reference</div> </div>
  73. </div><!--header-->
  74. <div class="contents">
  75. <div class="dynheader">
  76. Inheritance diagram for door::Panel:</div>
  77. <div class="dyncontent">
  78. <div class="center"><img src="classdoor_1_1Panel__inherit__graph.png" border="0" usemap="#door_1_1Panel_inherit__map" alt="Inheritance graph"/></div>
  79. <map name="door_1_1Panel_inherit__map" id="door_1_1Panel_inherit__map">
  80. <area shape="rect" title=" " alt="" coords="5,5,100,32"/>
  81. <area shape="rect" href="classdoor_1_1Menu.html" title=" " alt="" coords="5,80,100,107"/>
  82. </map>
  83. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  84. <div class="dynheader">
  85. Collaboration diagram for door::Panel:</div>
  86. <div class="dyncontent">
  87. <div class="center"><img src="classdoor_1_1Panel__coll__graph.png" border="0" usemap="#door_1_1Panel_coll__map" alt="Collaboration graph"/></div>
  88. <map name="door_1_1Panel_coll__map" id="door_1_1Panel_coll__map">
  89. <area shape="rect" title=" " alt="" coords="20,95,115,121"/>
  90. <area shape="rect" href="classdoor_1_1ANSIColor.html" title="Foreground, Background and Attributes." alt="" coords="5,5,129,32"/>
  91. </map>
  92. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  93. <table class="memberdecls">
  94. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  95. Public Member Functions</h2></td></tr>
  96. <tr class="memitem:a050872084a7217fb716529fb03f2b96f"><td class="memItemLeft" align="right" valign="top"><a id="a050872084a7217fb716529fb03f2b96f"></a>
  97. &#160;</td><td class="memItemRight" valign="bottom"><b>Panel</b> (int x, int y, int width)</td></tr>
  98. <tr class="separator:a050872084a7217fb716529fb03f2b96f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  99. <tr class="memitem:a036744c30f690550b6c95b87d4c3e514"><td class="memItemLeft" align="right" valign="top"><a id="a036744c30f690550b6c95b87d4c3e514"></a>
  100. &#160;</td><td class="memItemRight" valign="bottom"><b>Panel</b> (int width)</td></tr>
  101. <tr class="separator:a036744c30f690550b6c95b87d4c3e514"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <tr class="memitem:a23cac494ad556aa6e290deeea24ac076"><td class="memItemLeft" align="right" valign="top"><a id="a23cac494ad556aa6e290deeea24ac076"></a>
  103. &#160;</td><td class="memItemRight" valign="bottom"><b>Panel</b> (<a class="el" href="classdoor_1_1Panel.html">Panel</a> &amp;)=delete</td></tr>
  104. <tr class="separator:a23cac494ad556aa6e290deeea24ac076"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr class="memitem:a6353895da0c502b83ff188bdad57a773"><td class="memItemLeft" align="right" valign="top"><a id="a6353895da0c502b83ff188bdad57a773"></a>
  106. &#160;</td><td class="memItemRight" valign="bottom"><b>Panel</b> (<a class="el" href="classdoor_1_1Panel.html">Panel</a> &amp;&amp;ref)</td></tr>
  107. <tr class="separator:a6353895da0c502b83ff188bdad57a773"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <tr class="memitem:aa5ad389766a5e5c22588dae37cce1d1c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1Panel.html#aa5ad389766a5e5c22588dae37cce1d1c">set</a> (int x, int y)</td></tr>
  109. <tr class="memdesc:aa5ad389766a5e5c22588dae37cce1d1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the panels X and Y screen position. <a href="classdoor_1_1Panel.html#aa5ad389766a5e5c22588dae37cce1d1c">More...</a><br /></td></tr>
  110. <tr class="separator:aa5ad389766a5e5c22588dae37cce1d1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:aabe366ed16cc41eb8c50de3da9b058ab"><td class="memItemLeft" align="right" valign="top"><a id="aabe366ed16cc41eb8c50de3da9b058ab"></a>
  112. void&#160;</td><td class="memItemRight" valign="bottom"><b>get</b> (int &amp;x, int &amp;y)</td></tr>
  113. <tr class="separator:aabe366ed16cc41eb8c50de3da9b058ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <tr class="memitem:ab2a6e70590dfe003286c4568a9c151ae"><td class="memItemLeft" align="right" valign="top"><a id="ab2a6e70590dfe003286c4568a9c151ae"></a>
  115. void&#160;</td><td class="memItemRight" valign="bottom"><b>setTitle</b> (std::unique_ptr&lt; <a class="el" href="classdoor_1_1Line.html">Line</a> &gt; T, int off=1)</td></tr>
  116. <tr class="separator:ab2a6e70590dfe003286c4568a9c151ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:a682df3c9faca36a1740e7ee28de8bd70"><td class="memItemLeft" align="right" valign="top"><a id="a682df3c9faca36a1740e7ee28de8bd70"></a>
  118. void&#160;</td><td class="memItemRight" valign="bottom"><b>setStyle</b> (<a class="el" href="namespacedoor.html#a08afbc9eecb6efd7d4c741023b11db91">BorderStyle</a> bs)</td></tr>
  119. <tr class="separator:a682df3c9faca36a1740e7ee28de8bd70"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <tr class="memitem:a0d733facb7bdcfe2d7d8d2196282e3e1"><td class="memItemLeft" align="right" valign="top"><a id="a0d733facb7bdcfe2d7d8d2196282e3e1"></a>
  121. void&#160;</td><td class="memItemRight" valign="bottom"><b>setColor</b> (<a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a> c)</td></tr>
  122. <tr class="separator:a0d733facb7bdcfe2d7d8d2196282e3e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="memitem:ae0f3261704cafab2f68af0f21eb68384"><td class="memItemLeft" align="right" valign="top"><a id="ae0f3261704cafab2f68af0f21eb68384"></a>
  124. int&#160;</td><td class="memItemRight" valign="bottom"><b>getWidth</b> (void)</td></tr>
  125. <tr class="separator:ae0f3261704cafab2f68af0f21eb68384"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:a9ada7780bd8121d91e81e229a9fcf164"><td class="memItemLeft" align="right" valign="top"><a id="a9ada7780bd8121d91e81e229a9fcf164"></a>
  127. int&#160;</td><td class="memItemRight" valign="bottom"><b>getHeight</b> (void)</td></tr>
  128. <tr class="separator:a9ada7780bd8121d91e81e229a9fcf164"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:a4e5ad65335f6789c60b5db29112d73dd"><td class="memItemLeft" align="right" valign="top"><a id="a4e5ad65335f6789c60b5db29112d73dd"></a>
  130. void&#160;</td><td class="memItemRight" valign="bottom"><b>hide</b> (void)</td></tr>
  131. <tr class="separator:a4e5ad65335f6789c60b5db29112d73dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:a7bf60b2bc9a7f7d3a06b9e6365a864ea"><td class="memItemLeft" align="right" valign="top"><a id="a7bf60b2bc9a7f7d3a06b9e6365a864ea"></a>
  133. void&#160;</td><td class="memItemRight" valign="bottom"><b>show</b> (void)</td></tr>
  134. <tr class="separator:a7bf60b2bc9a7f7d3a06b9e6365a864ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. <tr class="memitem:a9f36a7ff977ed19d79ca0306139347b5"><td class="memItemLeft" align="right" valign="top"><a id="a9f36a7ff977ed19d79ca0306139347b5"></a>
  136. void&#160;</td><td class="memItemRight" valign="bottom"><b>addLine</b> (std::unique_ptr&lt; <a class="el" href="classdoor_1_1Line.html">Line</a> &gt; l)</td></tr>
  137. <tr class="separator:a9f36a7ff977ed19d79ca0306139347b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:a57234d5f1d891ed8f9ea9c8c9be7aed4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1Panel.html#a57234d5f1d891ed8f9ea9c8c9be7aed4">update</a> (<a class="el" href="classdoor_1_1Door.html">Door</a> &amp;d)</td></tr>
  139. <tr class="memdesc:a57234d5f1d891ed8f9ea9c8c9be7aed4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates a panel. <a href="classdoor_1_1Panel.html#a57234d5f1d891ed8f9ea9c8c9be7aed4">More...</a><br /></td></tr>
  140. <tr class="separator:a57234d5f1d891ed8f9ea9c8c9be7aed4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. <tr class="memitem:ab1c2b7de9e5485dffd9da22ae7344e72"><td class="memItemLeft" align="right" valign="top"><a id="ab1c2b7de9e5485dffd9da22ae7344e72"></a>
  142. void&#160;</td><td class="memItemRight" valign="bottom"><b>update</b> (<a class="el" href="classdoor_1_1Door.html">Door</a> &amp;d, int line)</td></tr>
  143. <tr class="separator:ab1c2b7de9e5485dffd9da22ae7344e72"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <tr class="memitem:aff18d9e5f6cd07426045536ebb615dc2"><td class="memItemLeft" align="right" valign="top"><a id="aff18d9e5f6cd07426045536ebb615dc2"></a>
  145. void&#160;</td><td class="memItemRight" valign="bottom"><b>update</b> (void)</td></tr>
  146. <tr class="separator:aff18d9e5f6cd07426045536ebb615dc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. <tr class="memitem:a35178d36cc8e1268e552d091116f48c4"><td class="memItemLeft" align="right" valign="top"><a id="a35178d36cc8e1268e552d091116f48c4"></a>
  148. <a class="el" href="classdoor_1_1Goto.html">door::Goto</a>&#160;</td><td class="memItemRight" valign="bottom"><b>gotoEnd</b> (void)</td></tr>
  149. <tr class="separator:a35178d36cc8e1268e552d091116f48c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <tr class="memitem:a69a98249e3f33fd20300aa62120b8561"><td class="memItemLeft" align="right" valign="top">std::unique_ptr&lt; <a class="el" href="classdoor_1_1Line.html">Line</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1Panel.html#a69a98249e3f33fd20300aa62120b8561">spacer_line</a> (bool single)</td></tr>
  151. <tr class="memdesc:a69a98249e3f33fd20300aa62120b8561"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a spacer line using block drawing characters. <a href="classdoor_1_1Panel.html#a69a98249e3f33fd20300aa62120b8561">More...</a><br /></td></tr>
  152. <tr class="separator:a69a98249e3f33fd20300aa62120b8561"><td class="memSeparator" colspan="2">&#160;</td></tr>
  153. <tr class="memitem:ae5630294b780b57aba721969762f50eb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1Panel.html#ae5630294b780b57aba721969762f50eb">lineSetBack</a> (<a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a> back)</td></tr>
  154. <tr class="memdesc:ae5630294b780b57aba721969762f50eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set background of all lines in the panel. <a href="classdoor_1_1Panel.html#ae5630294b780b57aba721969762f50eb">More...</a><br /></td></tr>
  155. <tr class="separator:ae5630294b780b57aba721969762f50eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  156. </table><table class="memberdecls">
  157. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
  158. Protected Attributes</h2></td></tr>
  159. <tr class="memitem:af95feea7d837ec4428b8cfbc55faac66"><td class="memItemLeft" align="right" valign="top"><a id="af95feea7d837ec4428b8cfbc55faac66"></a>
  160. int&#160;</td><td class="memItemRight" valign="bottom"><b>x</b></td></tr>
  161. <tr class="separator:af95feea7d837ec4428b8cfbc55faac66"><td class="memSeparator" colspan="2">&#160;</td></tr>
  162. <tr class="memitem:a5ded1d8c7266e2483fc7fc2e4c9544e0"><td class="memItemLeft" align="right" valign="top"><a id="a5ded1d8c7266e2483fc7fc2e4c9544e0"></a>
  163. int&#160;</td><td class="memItemRight" valign="bottom"><b>y</b></td></tr>
  164. <tr class="separator:a5ded1d8c7266e2483fc7fc2e4c9544e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  165. <tr class="memitem:accad03d7f10681afcba23026b9ea382c"><td class="memItemLeft" align="right" valign="top"><a id="accad03d7f10681afcba23026b9ea382c"></a>
  166. int&#160;</td><td class="memItemRight" valign="bottom"><b>width</b></td></tr>
  167. <tr class="separator:accad03d7f10681afcba23026b9ea382c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  168. <tr class="memitem:ab9332d3b6a23590c7310737420c3eeaf"><td class="memItemLeft" align="right" valign="top"><a id="ab9332d3b6a23590c7310737420c3eeaf"></a>
  169. <a class="el" href="namespacedoor.html#a08afbc9eecb6efd7d4c741023b11db91">BorderStyle</a>&#160;</td><td class="memItemRight" valign="bottom"><b>border_style</b></td></tr>
  170. <tr class="separator:ab9332d3b6a23590c7310737420c3eeaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  171. <tr class="memitem:ab08c0a6f9aa6e0781b1cac50f5e76f7b"><td class="memItemLeft" align="right" valign="top"><a id="ab08c0a6f9aa6e0781b1cac50f5e76f7b"></a>
  172. <a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a>&#160;</td><td class="memItemRight" valign="bottom"><b>border_color</b></td></tr>
  173. <tr class="separator:ab08c0a6f9aa6e0781b1cac50f5e76f7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  174. <tr class="memitem:ac7db32ec19257344af24bd80536c76d5"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::unique_ptr&lt; <a class="el" href="classdoor_1_1Line.html">Line</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1Panel.html#ac7db32ec19257344af24bd80536c76d5">lines</a></td></tr>
  175. <tr class="separator:ac7db32ec19257344af24bd80536c76d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  176. <tr class="memitem:aa4a2d38b2bd874f95ddb284fa3bff055"><td class="memItemLeft" align="right" valign="top"><a id="aa4a2d38b2bd874f95ddb284fa3bff055"></a>
  177. bool&#160;</td><td class="memItemRight" valign="bottom"><b>hidden</b></td></tr>
  178. <tr class="separator:aa4a2d38b2bd874f95ddb284fa3bff055"><td class="memSeparator" colspan="2">&#160;</td></tr>
  179. <tr class="memitem:aa81b571cf305f8963ef4e9c76fd88ae0"><td class="memItemLeft" align="right" valign="top"><a id="aa81b571cf305f8963ef4e9c76fd88ae0"></a>
  180. bool&#160;</td><td class="memItemRight" valign="bottom"><b>shown_once</b></td></tr>
  181. <tr class="separator:aa81b571cf305f8963ef4e9c76fd88ae0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  182. <tr class="memitem:a38beed13b20ca791af5c486e01448ce9"><td class="memItemLeft" align="right" valign="top"><a id="a38beed13b20ca791af5c486e01448ce9"></a>
  183. std::unique_ptr&lt; <a class="el" href="classdoor_1_1Line.html">Line</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>title</b></td></tr>
  184. <tr class="separator:a38beed13b20ca791af5c486e01448ce9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  185. <tr class="memitem:a39d3cc62ef50ca0f72626c0d1541e400"><td class="memItemLeft" align="right" valign="top"><a id="a39d3cc62ef50ca0f72626c0d1541e400"></a>
  186. int&#160;</td><td class="memItemRight" valign="bottom"><b>offset</b></td></tr>
  187. <tr class="separator:a39d3cc62ef50ca0f72626c0d1541e400"><td class="memSeparator" colspan="2">&#160;</td></tr>
  188. </table><table class="memberdecls">
  189. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
  190. Friends</h2></td></tr>
  191. <tr class="memitem:acc188acc0dfd6127ca4a51a6508b8c62"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1Panel.html#acc188acc0dfd6127ca4a51a6508b8c62">operator&lt;&lt;</a> (std::ostream &amp;os, const <a class="el" href="classdoor_1_1Panel.html">Panel</a> &amp;p)</td></tr>
  192. <tr class="memdesc:acc188acc0dfd6127ca4a51a6508b8c62"><td class="mdescLeft">&#160;</td><td class="mdescRight">Output panel to stream. <a href="classdoor_1_1Panel.html#acc188acc0dfd6127ca4a51a6508b8c62">More...</a><br /></td></tr>
  193. <tr class="separator:acc188acc0dfd6127ca4a51a6508b8c62"><td class="memSeparator" colspan="2">&#160;</td></tr>
  194. </table>
  195. <h2 class="groupheader">Member Function Documentation</h2>
  196. <a id="ae5630294b780b57aba721969762f50eb"></a>
  197. <h2 class="memtitle"><span class="permalink"><a href="#ae5630294b780b57aba721969762f50eb">&#9670;&nbsp;</a></span>lineSetBack()</h2>
  198. <div class="memitem">
  199. <div class="memproto">
  200. <table class="memname">
  201. <tr>
  202. <td class="memname">void door::Panel::lineSetBack </td>
  203. <td>(</td>
  204. <td class="paramtype"><a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a>&#160;</td>
  205. <td class="paramname"><em>back</em></td><td>)</td>
  206. <td></td>
  207. </tr>
  208. </table>
  209. </div><div class="memdoc">
  210. <p>Set background of all lines in the panel. </p>
  211. <dl class="params"><dt>Parameters</dt><dd>
  212. <table class="params">
  213. <tr><td class="paramname">back</td><td></td></tr>
  214. </table>
  215. </dd>
  216. </dl>
  217. </div>
  218. </div>
  219. <a id="aa5ad389766a5e5c22588dae37cce1d1c"></a>
  220. <h2 class="memtitle"><span class="permalink"><a href="#aa5ad389766a5e5c22588dae37cce1d1c">&#9670;&nbsp;</a></span>set()</h2>
  221. <div class="memitem">
  222. <div class="memproto">
  223. <table class="memname">
  224. <tr>
  225. <td class="memname">void door::Panel::set </td>
  226. <td>(</td>
  227. <td class="paramtype">int&#160;</td>
  228. <td class="paramname"><em>xp</em>, </td>
  229. </tr>
  230. <tr>
  231. <td class="paramkey"></td>
  232. <td></td>
  233. <td class="paramtype">int&#160;</td>
  234. <td class="paramname"><em>yp</em>&#160;</td>
  235. </tr>
  236. <tr>
  237. <td></td>
  238. <td>)</td>
  239. <td></td><td></td>
  240. </tr>
  241. </table>
  242. </div><div class="memdoc">
  243. <p>Set the panels X and Y screen position. </p>
  244. <dl class="params"><dt>Parameters</dt><dd>
  245. <table class="params">
  246. <tr><td class="paramdir">[in]</td><td class="paramname">xp,yp</td><td>new screen position </td></tr>
  247. </table>
  248. </dd>
  249. </dl>
  250. </div>
  251. </div>
  252. <a id="a69a98249e3f33fd20300aa62120b8561"></a>
  253. <h2 class="memtitle"><span class="permalink"><a href="#a69a98249e3f33fd20300aa62120b8561">&#9670;&nbsp;</a></span>spacer_line()</h2>
  254. <div class="memitem">
  255. <div class="memproto">
  256. <table class="memname">
  257. <tr>
  258. <td class="memname">std::unique_ptr&lt; <a class="el" href="classdoor_1_1Line.html">Line</a> &gt; door::Panel::spacer_line </td>
  259. <td>(</td>
  260. <td class="paramtype">bool&#160;</td>
  261. <td class="paramname"><em>single</em></td><td>)</td>
  262. <td></td>
  263. </tr>
  264. </table>
  265. </div><div class="memdoc">
  266. <p>Create a spacer line using block drawing characters. </p>
  267. <p>Return a <a class="el" href="classdoor_1_1Line.html" title="Text and ANSIColor.">Line</a> of single or double characters the width of the panel. </p><dl class="params"><dt>Parameters</dt><dd>
  268. <table class="params">
  269. <tr><td class="paramdir">[in]</td><td class="paramname">single</td><td>make single or double line </td></tr>
  270. </table>
  271. </dd>
  272. </dl>
  273. <dl class="section return"><dt>Returns</dt><dd>std::unique_ptr&lt;Line&gt; </dd></dl>
  274. </div>
  275. </div>
  276. <a id="a57234d5f1d891ed8f9ea9c8c9be7aed4"></a>
  277. <h2 class="memtitle"><span class="permalink"><a href="#a57234d5f1d891ed8f9ea9c8c9be7aed4">&#9670;&nbsp;</a></span>update()</h2>
  278. <div class="memitem">
  279. <div class="memproto">
  280. <table class="memname">
  281. <tr>
  282. <td class="memname">bool door::Panel::update </td>
  283. <td>(</td>
  284. <td class="paramtype"><a class="el" href="classdoor_1_1Door.html">Door</a> &amp;&#160;</td>
  285. <td class="paramname"><em>d</em></td><td>)</td>
  286. <td></td>
  287. </tr>
  288. </table>
  289. </div><div class="memdoc">
  290. <p>Updates a panel. </p>
  291. <p>returns True if something was changed (and cursor has moved) False, nothing to do, cursor is ok.</p>
  292. <dl class="params"><dt>Parameters</dt><dd>
  293. <table class="params">
  294. <tr><td class="paramname">d</td><td></td></tr>
  295. </table>
  296. </dd>
  297. </dl>
  298. <dl class="section return"><dt>Returns</dt><dd>true </dd>
  299. <dd>
  300. false </dd></dl>
  301. <dl class="section examples"><dt>Examples</dt><dd><a class="el" href="menu-example_8cpp-example.html#a12">menu-example.cpp</a>.</dd>
  302. </dl>
  303. </div>
  304. </div>
  305. <h2 class="groupheader">Friends And Related Function Documentation</h2>
  306. <a id="acc188acc0dfd6127ca4a51a6508b8c62"></a>
  307. <h2 class="memtitle"><span class="permalink"><a href="#acc188acc0dfd6127ca4a51a6508b8c62">&#9670;&nbsp;</a></span>operator&lt;&lt;</h2>
  308. <div class="memitem">
  309. <div class="memproto">
  310. <table class="mlabels">
  311. <tr>
  312. <td class="mlabels-left">
  313. <table class="memname">
  314. <tr>
  315. <td class="memname">std::ostream&amp; operator&lt;&lt; </td>
  316. <td>(</td>
  317. <td class="paramtype">std::ostream &amp;&#160;</td>
  318. <td class="paramname"><em>os</em>, </td>
  319. </tr>
  320. <tr>
  321. <td class="paramkey"></td>
  322. <td></td>
  323. <td class="paramtype">const <a class="el" href="classdoor_1_1Panel.html">Panel</a> &amp;&#160;</td>
  324. <td class="paramname"><em>p</em>&#160;</td>
  325. </tr>
  326. <tr>
  327. <td></td>
  328. <td>)</td>
  329. <td></td><td></td>
  330. </tr>
  331. </table>
  332. </td>
  333. <td class="mlabels-right">
  334. <span class="mlabels"><span class="mlabel">friend</span></span> </td>
  335. </tr>
  336. </table>
  337. </div><div class="memdoc">
  338. <p>Output panel to stream. </p>
  339. <p>This uses the Panel.x, Panel.y to render the panel using ANSI control codes. Border style is considered, and wether or not we are using unicode. Colors of the border, and lines use their color or their renderFunction. </p><dl class="params"><dt>Parameters</dt><dd>
  340. <table class="params">
  341. <tr><td class="paramname">os</td><td></td></tr>
  342. <tr><td class="paramname">p</td><td></td></tr>
  343. </table>
  344. </dd>
  345. </dl>
  346. <dl class="section return"><dt>Returns</dt><dd>std::ostream&amp; </dd></dl>
  347. </div>
  348. </div>
  349. <h2 class="groupheader">Member Data Documentation</h2>
  350. <a id="ac7db32ec19257344af24bd80536c76d5"></a>
  351. <h2 class="memtitle"><span class="permalink"><a href="#ac7db32ec19257344af24bd80536c76d5">&#9670;&nbsp;</a></span>lines</h2>
  352. <div class="memitem">
  353. <div class="memproto">
  354. <table class="mlabels">
  355. <tr>
  356. <td class="mlabels-left">
  357. <table class="memname">
  358. <tr>
  359. <td class="memname">std::vector&lt;std::unique_ptr&lt;<a class="el" href="classdoor_1_1Line.html">Line</a>&gt; &gt; door::Panel::lines</td>
  360. </tr>
  361. </table>
  362. </td>
  363. <td class="mlabels-right">
  364. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  365. </tr>
  366. </table>
  367. </div><div class="memdoc">
  368. <dl class="todo"><dt><b><a class="el" href="todo.html#_todo000007">Todo:</a></b></dt><dd>Fix this to use shared_ptr. I don't think unique_ptr is the right way to go with this. I want to reuse things, and that means shared_ptr!</dd></dl>
  369. </div>
  370. </div>
  371. <hr/>The documentation for this class was generated from the following files:<ul>
  372. <li><a class="el" href="door_8h_source.html">door.h</a></li>
  373. <li><a class="el" href="panel_8cpp.html">panel.cpp</a></li>
  374. </ul>
  375. </div><!-- contents -->
  376. <!-- start footer part -->
  377. <hr class="footer"/><address class="footer"><small>
  378. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  379. <img class="footer" src="doxygen.png" alt="doxygen"/>
  380. </a> 1.8.17
  381. </small></address>
  382. </body>
  383. </html>