b15f/docs/html/classView.html
2019-07-08 21:09:57 +02:00

166 lines
11 KiB
HTML

<!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.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>B15F: View 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">B15F
</div>
<div id="projectbrief">Board 15 Famulus Edition</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;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&amp;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><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pro-static-attribs">Static Protected Attributes</a> &#124;
<a href="classView-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">View Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="view_8h_source.html">view.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for View:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center">
<img src="classView.png" usemap="#View_map" alt=""/>
<map id="View_map" name="View_map">
<area href="classViewInfo.html" alt="ViewInfo" shape="rect" coords="0,56,92,80"/>
<area href="classViewPromt.html" alt="ViewPromt" shape="rect" coords="102,56,194,80"/>
<area href="classViewSelection.html" alt="ViewSelection" shape="rect" coords="204,56,296,80"/>
<area href="classViewMonitor.html" alt="ViewMonitor" shape="rect" coords="0,112,92,136"/>
</map>
</div></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:a6c725e4d83fd7474635a7e64200c7a08"><td class="memItemLeft" align="right" valign="top"><a id="a6c725e4d83fd7474635a7e64200c7a08"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>setTitle</b> (std::string title)</td></tr>
<tr class="separator:a6c725e4d83fd7474635a7e64200c7a08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7b1f1179e3c4f06bef1e99355d0d592"><td class="memItemLeft" align="right" valign="top"><a id="aa7b1f1179e3c4f06bef1e99355d0d592"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>repaint</b> (void)</td></tr>
<tr class="separator:aa7b1f1179e3c4f06bef1e99355d0d592"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a092a269bf53569af7fca4d710dd5b980"><td class="memItemLeft" align="right" valign="top"><a id="a092a269bf53569af7fca4d710dd5b980"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>draw</b> (void)=0</td></tr>
<tr class="separator:a092a269bf53569af7fca4d710dd5b980"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60f77156dc4786bb6227d58a3061d2f6"><td class="memItemLeft" align="right" valign="top"><a id="a60f77156dc4786bb6227d58a3061d2f6"></a>
virtual call_t&#160;</td><td class="memItemRight" valign="bottom"><b>keypress</b> (int &amp;key)=0</td></tr>
<tr class="separator:a60f77156dc4786bb6227d58a3061d2f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a990aa2223befde031dfcce54a740c558"><td class="memItemLeft" align="right" valign="top"><a id="a990aa2223befde031dfcce54a740c558"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><b>setWinContext</b> (WINDOW *win)</td></tr>
<tr class="separator:a990aa2223befde031dfcce54a740c558"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0710c6ba06e3795e7ddf369361308b79"><td class="memItemLeft" align="right" valign="top"><a id="a0710c6ba06e3795e7ddf369361308b79"></a>
static WINDOW *&#160;</td><td class="memItemRight" valign="bottom"><b>getWinContext</b> (void)</td></tr>
<tr class="separator:a0710c6ba06e3795e7ddf369361308b79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52c2e2a7bc56388e7d9bfa398ad52668"><td class="memItemLeft" align="right" valign="top"><a id="a52c2e2a7bc56388e7d9bfa398ad52668"></a>
static std::vector&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>str_split</b> (const std::string &amp;str, const std::string delim)</td></tr>
<tr class="separator:a52c2e2a7bc56388e7d9bfa398ad52668"><td class="memSeparator" colspan="2">&#160;</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:ae039aa744b085db819ae149705b2c32b"><td class="memItemLeft" align="right" valign="top"><a id="ae039aa744b085db819ae149705b2c32b"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>width</b></td></tr>
<tr class="separator:ae039aa744b085db819ae149705b2c32b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e3e5c18893617490f02166641356746"><td class="memItemLeft" align="right" valign="top"><a id="a6e3e5c18893617490f02166641356746"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>height</b></td></tr>
<tr class="separator:a6e3e5c18893617490f02166641356746"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fc9f3b0c876d063e6f57dee320a43fe"><td class="memItemLeft" align="right" valign="top"><a id="a9fc9f3b0c876d063e6f57dee320a43fe"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>start_x</b> = 0</td></tr>
<tr class="separator:a9fc9f3b0c876d063e6f57dee320a43fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac424db4c13776c3ce9d33f9074dfcfaa"><td class="memItemLeft" align="right" valign="top"><a id="ac424db4c13776c3ce9d33f9074dfcfaa"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>start_y</b> = 0</td></tr>
<tr class="separator:ac424db4c13776c3ce9d33f9074dfcfaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80441aa81b52e04677a2aa2bd9c47753"><td class="memItemLeft" align="right" valign="top"><a id="a80441aa81b52e04677a2aa2bd9c47753"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>title</b></td></tr>
<tr class="separator:a80441aa81b52e04677a2aa2bd9c47753"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a610367214a727e2f7da72ac5bdb60fa3"><td class="memItemLeft" align="right" valign="top"><a id="a610367214a727e2f7da72ac5bdb60fa3"></a>
std::vector&lt; call_t &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>calls</b></td></tr>
<tr class="separator:a610367214a727e2f7da72ac5bdb60fa3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-attribs"></a>
Static Protected Attributes</h2></td></tr>
<tr class="memitem:a5ddee2bf0b26dbcfa7780be17ff33dd7"><td class="memItemLeft" align="right" valign="top"><a id="a5ddee2bf0b26dbcfa7780be17ff33dd7"></a>
static WINDOW *&#160;</td><td class="memItemRight" valign="bottom"><b>win</b> = nullptr</td></tr>
<tr class="separator:a5ddee2bf0b26dbcfa7780be17ff33dd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3554cf8689cad24c643665aa3d182134"><td class="memItemLeft" align="right" valign="top"><a id="a3554cf8689cad24c643665aa3d182134"></a>
constexpr static int&#160;</td><td class="memItemRight" valign="bottom"><b>KEY_ENT</b> = 10</td></tr>
<tr class="separator:a3554cf8689cad24c643665aa3d182134"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Base class for multiple views with the ncurses user interface. </p>
<p class="definition">Definition at line <a class="el" href="view_8h_source.html#l00019">19</a> of file <a class="el" href="view_8h_source.html">view.h</a>.</p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>ui/<a class="el" href="view_8h_source.html">view.h</a></li>
<li>ui/<a class="el" href="view_8cpp_source.html">view.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 8 2019 21:09:34 for B15F by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>