classdoor_1_1ColorOutput.html 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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::ColorOutput 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_1ColorOutput.html">ColorOutput</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="#pub-attribs">Public Attributes</a> &#124;
  69. <a href="classdoor_1_1ColorOutput-members.html">List of all members</a> </div>
  70. <div class="headertitle">
  71. <div class="title">door::ColorOutput Class Reference</div> </div>
  72. </div><!--header-->
  73. <div class="contents">
  74. <p>This holds an <a class="el" href="classdoor_1_1ANSIColor.html" title="Foreground, Background and Attributes.">ANSIColor</a> and text position + length.
  75. <a href="classdoor_1_1ColorOutput.html#details">More...</a></p>
  76. <p><code>#include &lt;<a class="el" href="door_8h_source.html">door.h</a>&gt;</code></p>
  77. <div class="dynheader">
  78. Collaboration diagram for door::ColorOutput:</div>
  79. <div class="dyncontent">
  80. <div class="center"><img src="classdoor_1_1ColorOutput__coll__graph.png" border="0" usemap="#door_1_1ColorOutput_coll__map" alt="Collaboration graph"/></div>
  81. <map name="door_1_1ColorOutput_coll__map" id="door_1_1ColorOutput_coll__map">
  82. <area shape="rect" title="This holds an ANSIColor and text position + length." alt="" coords="5,95,143,121"/>
  83. <area shape="rect" href="classdoor_1_1ANSIColor.html" title="Foreground, Background and Attributes." alt="" coords="12,5,136,32"/>
  84. </map>
  85. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  86. <table class="memberdecls">
  87. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  88. Public Member Functions</h2></td></tr>
  89. <tr class="memitem:a96cbbca21d2df9181925b121b57bef6b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ColorOutput.html#a96cbbca21d2df9181925b121b57bef6b">ColorOutput</a> ()</td></tr>
  90. <tr class="separator:a96cbbca21d2df9181925b121b57bef6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  91. <tr class="memitem:a37a1ffba5df591c2e68d4a491c471499"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ColorOutput.html#a37a1ffba5df591c2e68d4a491c471499">reset</a> (void)</td></tr>
  92. <tr class="separator:a37a1ffba5df591c2e68d4a491c471499"><td class="memSeparator" colspan="2">&#160;</td></tr>
  93. </table><table class="memberdecls">
  94. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
  95. Public Attributes</h2></td></tr>
  96. <tr class="memitem:ab53af885b8b1a296d197866bd4844fb0"><td class="memItemLeft" align="right" valign="top"><a id="ab53af885b8b1a296d197866bd4844fb0"></a>
  97. <a class="el" href="classdoor_1_1ANSIColor.html">ANSIColor</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ColorOutput.html#ab53af885b8b1a296d197866bd4844fb0">c</a></td></tr>
  98. <tr class="memdesc:ab53af885b8b1a296d197866bd4844fb0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Color to use for this fragment. <br /></td></tr>
  99. <tr class="separator:ab53af885b8b1a296d197866bd4844fb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:ae696879b2a42db7a21d698fad19fc918"><td class="memItemLeft" align="right" valign="top"><a id="ae696879b2a42db7a21d698fad19fc918"></a>
  101. int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ColorOutput.html#ae696879b2a42db7a21d698fad19fc918">pos</a></td></tr>
  102. <tr class="memdesc:ae696879b2a42db7a21d698fad19fc918"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starting position of <a class="el" href="classdoor_1_1Render.html#afc2c16653f0241b3014911fa3604524e" title="Complete text to be rendered.">Render.text</a>. <br /></td></tr>
  103. <tr class="separator:ae696879b2a42db7a21d698fad19fc918"><td class="memSeparator" colspan="2">&#160;</td></tr>
  104. <tr class="memitem:ab82c8458bcfa264fbfd7b7b6f367864d"><td class="memItemLeft" align="right" valign="top"><a id="ab82c8458bcfa264fbfd7b7b6f367864d"></a>
  105. int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1ColorOutput.html#ab82c8458bcfa264fbfd7b7b6f367864d">len</a></td></tr>
  106. <tr class="memdesc:ab82c8458bcfa264fbfd7b7b6f367864d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Length. <br /></td></tr>
  107. <tr class="separator:ab82c8458bcfa264fbfd7b7b6f367864d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. </table>
  109. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  110. <div class="textblock"><p>This holds an <a class="el" href="classdoor_1_1ANSIColor.html" title="Foreground, Background and Attributes.">ANSIColor</a> and text position + length. </p>
  111. <p>This works with <a class="el" href="classdoor_1_1Render.html">Render</a> to create the output. This consists of <a class="el" href="classdoor_1_1ANSIColor.html" title="Foreground, Background and Attributes.">ANSIColor</a> and text position + length. </p>
  112. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  113. <a id="a96cbbca21d2df9181925b121b57bef6b"></a>
  114. <h2 class="memtitle"><span class="permalink"><a href="#a96cbbca21d2df9181925b121b57bef6b">&#9670;&nbsp;</a></span>ColorOutput()</h2>
  115. <div class="memitem">
  116. <div class="memproto">
  117. <table class="memname">
  118. <tr>
  119. <td class="memname">door::ColorOutput::ColorOutput </td>
  120. <td>(</td>
  121. <td class="paramname"></td><td>)</td>
  122. <td></td>
  123. </tr>
  124. </table>
  125. </div><div class="memdoc">
  126. <p>Construct a new Color Output:: Color Output object We default to BLACK/BLACK (not really a valid color), pos=0 and len=0. </p>
  127. </div>
  128. </div>
  129. <h2 class="groupheader">Member Function Documentation</h2>
  130. <a id="a37a1ffba5df591c2e68d4a491c471499"></a>
  131. <h2 class="memtitle"><span class="permalink"><a href="#a37a1ffba5df591c2e68d4a491c471499">&#9670;&nbsp;</a></span>reset()</h2>
  132. <div class="memitem">
  133. <div class="memproto">
  134. <table class="memname">
  135. <tr>
  136. <td class="memname">void door::ColorOutput::reset </td>
  137. <td>(</td>
  138. <td class="paramtype">void&#160;</td>
  139. <td class="paramname"></td><td>)</td>
  140. <td></td>
  141. </tr>
  142. </table>
  143. </div><div class="memdoc">
  144. <p>Reset pos and len to 0. </p>
  145. </div>
  146. </div>
  147. <hr/>The documentation for this class was generated from the following files:<ul>
  148. <li><a class="el" href="door_8h_source.html">door.h</a></li>
  149. <li><a class="el" href="door_8cpp.html">door.cpp</a></li>
  150. </ul>
  151. </div><!-- contents -->
  152. <!-- start footer part -->
  153. <hr class="footer"/><address class="footer"><small>
  154. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  155. <img class="footer" src="doxygen.png" alt="doxygen"/>
  156. </a> 1.8.17
  157. </small></address>
  158. </body>
  159. </html>