123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <meta http-equiv="X-UA-Compatible" content="IE=9"/>
- <meta name="generator" content="Doxygen 1.8.17"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>Bugz Door Project: door::Panel Class Reference</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="dynsections.js"></script>
- <link href="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="search/searchdata.js"></script>
- <script type="text/javascript" src="search/search.js"></script>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
- <div id="titlearea">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">Bugz Door Project
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.17 -->
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- /* @license-end */
- </script>
- <script type="text/javascript" src="menudata.js"></script>
- <script type="text/javascript" src="menu.js"></script>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
- });
- /* @license-end */</script>
- <div id="main-nav"></div>
- <!-- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- </div>
- <!-- iframe showing the search results (closed by default) -->
- <div id="MSearchResultsWindow">
- <iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
- <div id="nav-path" class="navpath">
- <ul>
- <li class="navelem"><a class="el" href="namespacedoor.html">door</a></li><li class="navelem"><a class="el" href="classdoor_1_1Panel.html">Panel</a></li> </ul>
- </div>
- </div><!-- top -->
- <div class="header">
- <div class="summary">
- <a href="#pub-methods">Public Member Functions</a> |
- <a href="#pro-attribs">Protected Attributes</a> |
- <a href="#friends">Friends</a> |
- <a href="classdoor_1_1Panel-members.html">List of all members</a> </div>
- <div class="headertitle">
- <div class="title">door::Panel Class Reference</div> </div>
- </div><!--header-->
- <div class="contents">
- <div class="dynheader">
- Inheritance diagram for door::Panel:</div>
- <div class="dyncontent">
- <div class="center"><img src="classdoor_1_1Panel__inherit__graph.png" border="0" usemap="#door_1_1Panel_inherit__map" alt="Inheritance graph"/></div>
- <map name="door_1_1Panel_inherit__map" id="door_1_1Panel_inherit__map">
- <area shape="rect" title=" " alt="" coords="5,5,100,32"/>
- <area shape="rect" href="classdoor_1_1Menu.html" title=" " alt="" coords="5,80,100,107"/>
- </map>
- <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
- <div class="dynheader">
- Collaboration diagram for door::Panel:</div>
- <div class="dyncontent">
- <div class="center"><img src="classdoor_1_1Panel__coll__graph.png" border="0" usemap="#door_1_1Panel_coll__map" alt="Collaboration graph"/></div>
- <map name="door_1_1Panel_coll__map" id="door_1_1Panel_coll__map">
- <area shape="rect" title=" " alt="" coords="20,95,115,121"/>
- <area shape="rect" href="classdoor_1_1ANSIColor.html" title="Foreground, Background and Attributes." alt="" coords="5,5,129,32"/>
- </map>
- <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
- <table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
- Public Member Functions</h2></td></tr>
- <tr class="memitem:a050872084a7217fb716529fb03f2b96f"><td class="memItemLeft" align="right" valign="top"><a id="a050872084a7217fb716529fb03f2b96f"></a>
-  </td><td class="memItemRight" valign="bottom"><b>Panel</b> (int x, int y, int width)</td></tr>
- <tr class="separator:a050872084a7217fb716529fb03f2b96f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a036744c30f690550b6c95b87d4c3e514"><td class="memItemLeft" align="right" valign="top"><a id="a036744c30f690550b6c95b87d4c3e514"></a>
-  </td><td class="memItemRight" valign="bottom"><b>Panel</b> (int width)</td></tr>
- <tr class="separator:a036744c30f690550b6c95b87d4c3e514"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a23cac494ad556aa6e290deeea24ac076"><td class="memItemLeft" align="right" valign="top"><a id="a23cac494ad556aa6e290deeea24ac076"></a>
-  </td><td class="memItemRight" valign="bottom"><b>Panel</b> (<a class="el" href="classdoor_1_1Panel.html">Panel</a> &)=delete</td></tr>
- <tr class="separator:a23cac494ad556aa6e290deeea24ac076"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a6353895da0c502b83ff188bdad57a773"><td class="memItemLeft" align="right" valign="top"><a id="a6353895da0c502b83ff188bdad57a773"></a>
-  </td><td class="memItemRight" valign="bottom"><b>Panel</b> (<a class="el" href="classdoor_1_1Panel.html">Panel</a> &&ref)</td></tr>
- <tr class="separator:a6353895da0c502b83ff188bdad57a773"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aa5ad389766a5e5c22588dae37cce1d1c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1Panel.html#aa5ad389766a5e5c22588dae37cce1d1c">set</a> (int x, int y)</td></tr>
- <tr class="memdesc:aa5ad389766a5e5c22588dae37cce1d1c"><td class="mdescLeft"> </td><td class="mdescRight">Set the panels X and Y screen position. <a href="classdoor_1_1Panel.html#aa5ad389766a5e5c22588dae37cce1d1c">More...</a><br /></td></tr>
- <tr class="separator:aa5ad389766a5e5c22588dae37cce1d1c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aabe366ed16cc41eb8c50de3da9b058ab"><td class="memItemLeft" align="right" valign="top"><a id="aabe366ed16cc41eb8c50de3da9b058ab"></a>
- void </td><td class="memItemRight" valign="bottom"><b>get</b> (int &x, int &y)</td></tr>
- <tr class="separator:aabe366ed16cc41eb8c50de3da9b058ab"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab2a6e70590dfe003286c4568a9c151ae"><td class="memItemLeft" align="right" valign="top"><a id="ab2a6e70590dfe003286c4568a9c151ae"></a>
- void </td><td class="memItemRight" valign="bottom"><b>setTitle</b> (std::unique_ptr< <a class="el" href="classdoor_1_1Line.html">Line</a> > T, int off=1)</td></tr>
- <tr class="separator:ab2a6e70590dfe003286c4568a9c151ae"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a682df3c9faca36a1740e7ee28de8bd70"><td class="memItemLeft" align="right" valign="top"><a id="a682df3c9faca36a1740e7ee28de8bd70"></a>
- void </td><td class="memItemRight" valign="bottom"><b>setStyle</b> (<a class="el" href="namespacedoor.html#a08afbc9eecb6efd7d4c741023b11db91">BorderStyle</a> bs)</td></tr>
- <tr class="separator:a682df3c9faca36a1740e7ee28de8bd70"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a0d733facb7bdcfe2d7d8d2196282e3e1"><td class="memItemLeft" align="right" valign="top"><a id="a0d733facb7bdcfe2d7d8d2196282e3e1"></a>
- void </td><td class="memItemRight" valign="bottom"><b>setColor</b> (<a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a> c)</td></tr>
- <tr class="separator:a0d733facb7bdcfe2d7d8d2196282e3e1"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae0f3261704cafab2f68af0f21eb68384"><td class="memItemLeft" align="right" valign="top"><a id="ae0f3261704cafab2f68af0f21eb68384"></a>
- int </td><td class="memItemRight" valign="bottom"><b>getWidth</b> (void)</td></tr>
- <tr class="separator:ae0f3261704cafab2f68af0f21eb68384"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9ada7780bd8121d91e81e229a9fcf164"><td class="memItemLeft" align="right" valign="top"><a id="a9ada7780bd8121d91e81e229a9fcf164"></a>
- int </td><td class="memItemRight" valign="bottom"><b>getHeight</b> (void)</td></tr>
- <tr class="separator:a9ada7780bd8121d91e81e229a9fcf164"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a4e5ad65335f6789c60b5db29112d73dd"><td class="memItemLeft" align="right" valign="top"><a id="a4e5ad65335f6789c60b5db29112d73dd"></a>
- void </td><td class="memItemRight" valign="bottom"><b>hide</b> (void)</td></tr>
- <tr class="separator:a4e5ad65335f6789c60b5db29112d73dd"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a7bf60b2bc9a7f7d3a06b9e6365a864ea"><td class="memItemLeft" align="right" valign="top"><a id="a7bf60b2bc9a7f7d3a06b9e6365a864ea"></a>
- void </td><td class="memItemRight" valign="bottom"><b>show</b> (void)</td></tr>
- <tr class="separator:a7bf60b2bc9a7f7d3a06b9e6365a864ea"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9f36a7ff977ed19d79ca0306139347b5"><td class="memItemLeft" align="right" valign="top"><a id="a9f36a7ff977ed19d79ca0306139347b5"></a>
- void </td><td class="memItemRight" valign="bottom"><b>addLine</b> (std::unique_ptr< <a class="el" href="classdoor_1_1Line.html">Line</a> > l)</td></tr>
- <tr class="separator:a9f36a7ff977ed19d79ca0306139347b5"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a57234d5f1d891ed8f9ea9c8c9be7aed4"><td class="memItemLeft" align="right" valign="top">bool </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> &d)</td></tr>
- <tr class="memdesc:a57234d5f1d891ed8f9ea9c8c9be7aed4"><td class="mdescLeft"> </td><td class="mdescRight">Updates a panel. <a href="classdoor_1_1Panel.html#a57234d5f1d891ed8f9ea9c8c9be7aed4">More...</a><br /></td></tr>
- <tr class="separator:a57234d5f1d891ed8f9ea9c8c9be7aed4"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab1c2b7de9e5485dffd9da22ae7344e72"><td class="memItemLeft" align="right" valign="top"><a id="ab1c2b7de9e5485dffd9da22ae7344e72"></a>
- void </td><td class="memItemRight" valign="bottom"><b>update</b> (<a class="el" href="classdoor_1_1Door.html">Door</a> &d, int line)</td></tr>
- <tr class="separator:ab1c2b7de9e5485dffd9da22ae7344e72"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aff18d9e5f6cd07426045536ebb615dc2"><td class="memItemLeft" align="right" valign="top"><a id="aff18d9e5f6cd07426045536ebb615dc2"></a>
- void </td><td class="memItemRight" valign="bottom"><b>update</b> (void)</td></tr>
- <tr class="separator:aff18d9e5f6cd07426045536ebb615dc2"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a35178d36cc8e1268e552d091116f48c4"><td class="memItemLeft" align="right" valign="top"><a id="a35178d36cc8e1268e552d091116f48c4"></a>
- <a class="el" href="classdoor_1_1Goto.html">door::Goto</a> </td><td class="memItemRight" valign="bottom"><b>gotoEnd</b> (void)</td></tr>
- <tr class="separator:a35178d36cc8e1268e552d091116f48c4"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a69a98249e3f33fd20300aa62120b8561"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="classdoor_1_1Line.html">Line</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1Panel.html#a69a98249e3f33fd20300aa62120b8561">spacer_line</a> (bool single)</td></tr>
- <tr class="memdesc:a69a98249e3f33fd20300aa62120b8561"><td class="mdescLeft"> </td><td class="mdescRight">Create a spacer line using block drawing characters. <a href="classdoor_1_1Panel.html#a69a98249e3f33fd20300aa62120b8561">More...</a><br /></td></tr>
- <tr class="separator:a69a98249e3f33fd20300aa62120b8561"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae5630294b780b57aba721969762f50eb"><td class="memItemLeft" align="right" valign="top">void </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>
- <tr class="memdesc:ae5630294b780b57aba721969762f50eb"><td class="mdescLeft"> </td><td class="mdescRight">Set background of all lines in the panel. <a href="classdoor_1_1Panel.html#ae5630294b780b57aba721969762f50eb">More...</a><br /></td></tr>
- <tr class="separator:ae5630294b780b57aba721969762f50eb"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
- Protected Attributes</h2></td></tr>
- <tr class="memitem:af95feea7d837ec4428b8cfbc55faac66"><td class="memItemLeft" align="right" valign="top"><a id="af95feea7d837ec4428b8cfbc55faac66"></a>
- int </td><td class="memItemRight" valign="bottom"><b>x</b></td></tr>
- <tr class="separator:af95feea7d837ec4428b8cfbc55faac66"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a5ded1d8c7266e2483fc7fc2e4c9544e0"><td class="memItemLeft" align="right" valign="top"><a id="a5ded1d8c7266e2483fc7fc2e4c9544e0"></a>
- int </td><td class="memItemRight" valign="bottom"><b>y</b></td></tr>
- <tr class="separator:a5ded1d8c7266e2483fc7fc2e4c9544e0"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:accad03d7f10681afcba23026b9ea382c"><td class="memItemLeft" align="right" valign="top"><a id="accad03d7f10681afcba23026b9ea382c"></a>
- int </td><td class="memItemRight" valign="bottom"><b>width</b></td></tr>
- <tr class="separator:accad03d7f10681afcba23026b9ea382c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab9332d3b6a23590c7310737420c3eeaf"><td class="memItemLeft" align="right" valign="top"><a id="ab9332d3b6a23590c7310737420c3eeaf"></a>
- <a class="el" href="namespacedoor.html#a08afbc9eecb6efd7d4c741023b11db91">BorderStyle</a> </td><td class="memItemRight" valign="bottom"><b>border_style</b></td></tr>
- <tr class="separator:ab9332d3b6a23590c7310737420c3eeaf"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab08c0a6f9aa6e0781b1cac50f5e76f7b"><td class="memItemLeft" align="right" valign="top"><a id="ab08c0a6f9aa6e0781b1cac50f5e76f7b"></a>
- <a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a> </td><td class="memItemRight" valign="bottom"><b>border_color</b></td></tr>
- <tr class="separator:ab08c0a6f9aa6e0781b1cac50f5e76f7b"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ac7db32ec19257344af24bd80536c76d5"><td class="memItemLeft" align="right" valign="top">std::vector< std::unique_ptr< <a class="el" href="classdoor_1_1Line.html">Line</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1Panel.html#ac7db32ec19257344af24bd80536c76d5">lines</a></td></tr>
- <tr class="separator:ac7db32ec19257344af24bd80536c76d5"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aa4a2d38b2bd874f95ddb284fa3bff055"><td class="memItemLeft" align="right" valign="top"><a id="aa4a2d38b2bd874f95ddb284fa3bff055"></a>
- bool </td><td class="memItemRight" valign="bottom"><b>hidden</b></td></tr>
- <tr class="separator:aa4a2d38b2bd874f95ddb284fa3bff055"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aa81b571cf305f8963ef4e9c76fd88ae0"><td class="memItemLeft" align="right" valign="top"><a id="aa81b571cf305f8963ef4e9c76fd88ae0"></a>
- bool </td><td class="memItemRight" valign="bottom"><b>shown_once</b></td></tr>
- <tr class="separator:aa81b571cf305f8963ef4e9c76fd88ae0"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a38beed13b20ca791af5c486e01448ce9"><td class="memItemLeft" align="right" valign="top"><a id="a38beed13b20ca791af5c486e01448ce9"></a>
- std::unique_ptr< <a class="el" href="classdoor_1_1Line.html">Line</a> > </td><td class="memItemRight" valign="bottom"><b>title</b></td></tr>
- <tr class="separator:a38beed13b20ca791af5c486e01448ce9"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a39d3cc62ef50ca0f72626c0d1541e400"><td class="memItemLeft" align="right" valign="top"><a id="a39d3cc62ef50ca0f72626c0d1541e400"></a>
- int </td><td class="memItemRight" valign="bottom"><b>offset</b></td></tr>
- <tr class="separator:a39d3cc62ef50ca0f72626c0d1541e400"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
- Friends</h2></td></tr>
- <tr class="memitem:acc188acc0dfd6127ca4a51a6508b8c62"><td class="memItemLeft" align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1Panel.html#acc188acc0dfd6127ca4a51a6508b8c62">operator<<</a> (std::ostream &os, const <a class="el" href="classdoor_1_1Panel.html">Panel</a> &p)</td></tr>
- <tr class="memdesc:acc188acc0dfd6127ca4a51a6508b8c62"><td class="mdescLeft"> </td><td class="mdescRight">Output panel to stream. <a href="classdoor_1_1Panel.html#acc188acc0dfd6127ca4a51a6508b8c62">More...</a><br /></td></tr>
- <tr class="separator:acc188acc0dfd6127ca4a51a6508b8c62"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <h2 class="groupheader">Member Function Documentation</h2>
- <a id="ae5630294b780b57aba721969762f50eb"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ae5630294b780b57aba721969762f50eb">◆ </a></span>lineSetBack()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void door::Panel::lineSetBack </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a> </td>
- <td class="paramname"><em>back</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Set background of all lines in the panel. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">back</td><td></td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a id="aa5ad389766a5e5c22588dae37cce1d1c"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aa5ad389766a5e5c22588dae37cce1d1c">◆ </a></span>set()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void door::Panel::set </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>xp</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>yp</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Set the panels X and Y screen position. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">xp,yp</td><td>new screen position </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a id="a69a98249e3f33fd20300aa62120b8561"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a69a98249e3f33fd20300aa62120b8561">◆ </a></span>spacer_line()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">std::unique_ptr< <a class="el" href="classdoor_1_1Line.html">Line</a> > door::Panel::spacer_line </td>
- <td>(</td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>single</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Create a spacer line using block drawing characters. </p>
- <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>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">single</td><td>make single or double line </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>std::unique_ptr<Line> </dd></dl>
- </div>
- </div>
- <a id="a57234d5f1d891ed8f9ea9c8c9be7aed4"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a57234d5f1d891ed8f9ea9c8c9be7aed4">◆ </a></span>update()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool door::Panel::update </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classdoor_1_1Door.html">Door</a> & </td>
- <td class="paramname"><em>d</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Updates a panel. </p>
- <p>returns True if something was changed (and cursor has moved) False, nothing to do, cursor is ok.</p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">d</td><td></td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>true </dd>
- <dd>
- false </dd></dl>
- <dl class="section examples"><dt>Examples</dt><dd><a class="el" href="menu-example_8cpp-example.html#a12">menu-example.cpp</a>.</dd>
- </dl>
- </div>
- </div>
- <h2 class="groupheader">Friends And Related Function Documentation</h2>
- <a id="acc188acc0dfd6127ca4a51a6508b8c62"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#acc188acc0dfd6127ca4a51a6508b8c62">◆ </a></span>operator<<</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">std::ostream& operator<< </td>
- <td>(</td>
- <td class="paramtype">std::ostream & </td>
- <td class="paramname"><em>os</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const <a class="el" href="classdoor_1_1Panel.html">Panel</a> & </td>
- <td class="paramname"><em>p</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">friend</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Output panel to stream. </p>
- <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>
- <table class="params">
- <tr><td class="paramname">os</td><td></td></tr>
- <tr><td class="paramname">p</td><td></td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>std::ostream& </dd></dl>
- </div>
- </div>
- <h2 class="groupheader">Member Data Documentation</h2>
- <a id="ac7db32ec19257344af24bd80536c76d5"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ac7db32ec19257344af24bd80536c76d5">◆ </a></span>lines</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">std::vector<std::unique_ptr<<a class="el" href="classdoor_1_1Line.html">Line</a>> > door::Panel::lines</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- </div>
- </div>
- <hr/>The documentation for this class was generated from the following files:<ul>
- <li><a class="el" href="door_8h_source.html">door.h</a></li>
- <li><a class="el" href="panel_8cpp.html">panel.cpp</a></li>
- </ul>
- </div><!-- contents -->
- <!-- start footer part -->
- <hr class="footer"/><address class="footer"><small>
- Generated by  <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/>
- </a> 1.8.17
- </small></address>
- </body>
- </html>
|