started woking on figuring out doxygen documentation and added readme
This commit is contained in:
parent
c598f3e106
commit
3f0556341c
1192 changed files with 199462 additions and 29 deletions
1308
doc/doxygen/html/d0/da4/console_2ncurses_2view_8c.html
Normal file
1308
doc/doxygen/html/d0/da4/console_2ncurses_2view_8c.html
Normal file
File diff suppressed because it is too large
Load diff
28
doc/doxygen/html/d0/da4/console_2ncurses_2view_8c.js
Normal file
28
doc/doxygen/html/d0/da4/console_2ncurses_2view_8c.js
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
var console_2ncurses_2view_8c =
|
||||
[
|
||||
[ "ARC_ConsoleView", "d1/d4a/structARC__ConsoleView.html", "d1/d4a/structARC__ConsoleView" ],
|
||||
[ "ARC_ConsoleView_AddElement", "d0/da4/console_2ncurses_2view_8c.html#acddd6c7caef3022824080453f8ea7c22", null ],
|
||||
[ "ARC_ConsoleView_Clear", "d0/da4/console_2ncurses_2view_8c.html#af8bbe9829fe2173ad9e86bbd589a4745", null ],
|
||||
[ "ARC_ConsoleView_Create", "d0/da4/console_2ncurses_2view_8c.html#a583e081c182900d229c2554c5cb28c8a", null ],
|
||||
[ "ARC_ConsoleView_Destroy", "d0/da4/console_2ncurses_2view_8c.html#a5636a3e911a96fc0c8c5c79c0bb4b7e7", null ],
|
||||
[ "ARC_ConsoleView_GetBounds", "d0/da4/console_2ncurses_2view_8c.html#a4aa93749156b5ef949037cd15ba32054", null ],
|
||||
[ "ARC_ConsoleView_GetChar", "d0/da4/console_2ncurses_2view_8c.html#a07468b6b5ca4a719562a2b9288897f66", null ],
|
||||
[ "ARC_ConsoleView_GetCharAt", "d0/da4/console_2ncurses_2view_8c.html#ab790935bce37a8c749cdeb4c3d9334d3", null ],
|
||||
[ "ARC_ConsoleView_GetConsoleKeyAt", "d0/da4/console_2ncurses_2view_8c.html#a7416cd9008f389952f22c3f80b0fcda0", null ],
|
||||
[ "ARC_ConsoleView_GetCreateConsoleKeyAt", "d0/da4/console_2ncurses_2view_8c.html#aaf3208692988dc533a0e123a2d94482e", null ],
|
||||
[ "ARC_ConsoleView_GetElement", "d0/da4/console_2ncurses_2view_8c.html#acecfdaaa4c95a98fe5d6926cfdcc68e2", null ],
|
||||
[ "ARC_ConsoleView_GetStringInput", "d0/da4/console_2ncurses_2view_8c.html#a142f7b184c21ddab974367baac6ae09a", null ],
|
||||
[ "ARC_ConsoleView_RemoveElement", "d0/da4/console_2ncurses_2view_8c.html#ab16135af58f6b7eb7d425428d63605ab", null ],
|
||||
[ "ARC_ConsoleView_RenderCharAt", "d0/da4/console_2ncurses_2view_8c.html#a6b5049ee8fcd713321fe98f8168bd6f3", null ],
|
||||
[ "ARC_ConsoleView_RenderCStringWithStrlenAt", "d0/da4/console_2ncurses_2view_8c.html#a135b991e7764e9f771b9e8ea32d91502", null ],
|
||||
[ "ARC_ConsoleView_RenderElements", "d0/da4/console_2ncurses_2view_8c.html#a16ef2179ab56e0107e80eef8c5d216d0", null ],
|
||||
[ "ARC_ConsoleView_RenderKeyAt", "d0/da4/console_2ncurses_2view_8c.html#a2f28e93c0515ebb2e3b4a40c8600027f", null ],
|
||||
[ "ARC_ConsoleView_RenderRect", "d0/da4/console_2ncurses_2view_8c.html#af5f8bc0a9f61160a1363d5d2f47f68e3", null ],
|
||||
[ "ARC_ConsoleView_RenderStringAt", "d0/da4/console_2ncurses_2view_8c.html#a06c57f7eb1c0f950ddff17fab8278b34", null ],
|
||||
[ "ARC_ConsoleView_RenderUint32At", "d0/da4/console_2ncurses_2view_8c.html#a4c959aded7e41feb0b34c9e24c192b1e", null ],
|
||||
[ "ARC_ConsoleView_RenderWCharAt", "d0/da4/console_2ncurses_2view_8c.html#aac7cb2d64cbee2251875664689a553fe", null ],
|
||||
[ "ARC_ConsoleView_SetAttribute", "d0/da4/console_2ncurses_2view_8c.html#add7a787887ba24554bfb8b454e79f8e1", null ],
|
||||
[ "ARC_ConsoleView_SetBorder", "d0/da4/console_2ncurses_2view_8c.html#a9ee59e09b9deaa860e7279847ec5d6d0", null ],
|
||||
[ "ARC_ConsoleView_SetCursorVisibility", "d0/da4/console_2ncurses_2view_8c.html#abba924acf2b89b9ec00e5efcd2ebc1bd", null ],
|
||||
[ "arc_ncurses_win_size", "d0/da4/console_2ncurses_2view_8c.html#a0a8ba89aefb6e579f685d3c1ea3911e6", null ]
|
||||
];
|
||||
512
doc/doxygen/html/d0/da4/console_2ncurses_2view_8c_source.html
Normal file
512
doc/doxygen/html/d0/da4/console_2ncurses_2view_8c_source.html
Normal file
|
|
@ -0,0 +1,512 @@
|
|||
<!-- HTML header for doxygen 1.9.2-->
|
||||
<!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" class="dark-mode">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Archeus: /home/herbglitch/programs/archeus/arc/packages/console/ncurses/view.c Source File</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="../../navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../navtreedata.js"></script>
|
||||
<script type="text/javascript" src="../../navtree.js"></script>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../cookie.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" />
|
||||
<link href="../../doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
<link href="../../doxygen-awesome-sidebar-only.css" rel="stylesheet" type="text/css"/>
|
||||
<link href="../../doxygen-awesome-sidebar-only-darkmode-toggle.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../doxygen-awesome-darkmode-toggle.js"></script>
|
||||
</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">Archeus<span id="projectnumber"> 0.0.0</span>
|
||||
</div>
|
||||
<div id="projectbrief">A C library and game engine that focuses on documentation</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.12.0 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() { codefold.init(1); });
|
||||
/* @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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('../../',true,false,'search.php','Search',true);
|
||||
$(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function(){initNavTree('d0/da4/console_2ncurses_2view_8c_source.html','../../'); initResizable(true); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- 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">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">view.c</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="../../d0/da4/console_2ncurses_2view_8c.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#include "<a class="code" href="../../d6/d7e/console_2view_8h.html">arc/console/view.h</a>"</span></div>
|
||||
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span> </div>
|
||||
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#include "<a class="code" href="../../df/d5e/packages_2console_2ncurses_2key_8h.html">key.h</a>"</span></div>
|
||||
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include "<a class="code" href="../../d4/dfe/element_8h.html">arc/console/element.h</a>"</span></div>
|
||||
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include "<a class="code" href="../../d8/d77/bool_8h.html">arc/std/bool.h</a>"</span></div>
|
||||
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include "<a class="code" href="../../d8/dc2/errno_8h.html">arc/std/errno.h</a>"</span></div>
|
||||
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include "<a class="code" href="../../d6/d68/vector_8h.html">arc/std/vector.h</a>"</span></div>
|
||||
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include "<a class="code" href="../../da/d66/string_8h.html">arc/std/string.h</a>"</span></div>
|
||||
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include <locale.h></span></div>
|
||||
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include <ncurses.h></span></div>
|
||||
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include <stdlib.h></span></div>
|
||||
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div>
|
||||
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="../../d0/da4/console_2ncurses_2view_8c.html#a0a8ba89aefb6e579f685d3c1ea3911e6"> 13</a></span>uint8_t <a class="code hl_variable" href="../../d0/da4/console_2ncurses_2view_8c.html#a0a8ba89aefb6e579f685d3c1ea3911e6">arc_ncurses_win_size</a> = 0;</div>
|
||||
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> </div>
|
||||
<div class="foldopen" id="foldopen00015" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"><a class="line" href="../../d1/d4a/structARC__ConsoleView.html"> 15</a></span><span class="keyword">struct </span><a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> {</div>
|
||||
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"><a class="line" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8"> 16</a></span> WINDOW *<a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>;</div>
|
||||
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"><a class="line" href="../../d1/d4a/structARC__ConsoleView.html#af386230daac02d881dfdd08c31c96945"> 17</a></span> <a class="code hl_struct" href="../../d0/d18/structARC__Rect.html">ARC_Rect</a> <a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#af386230daac02d881dfdd08c31c96945">bounds</a>;</div>
|
||||
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="../../d1/d4a/structARC__ConsoleView.html#acfba50986749dc8c26d720110cb26239"> 18</a></span> <a class="code hl_define" href="../../d8/d77/bool_8h.html#aad51710c999c22d9440e5ce0ba8e2c45">ARC_Bool</a> <a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#acfba50986749dc8c26d720110cb26239">echo</a>;</div>
|
||||
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
|
||||
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"><a class="line" href="../../d1/d4a/structARC__ConsoleView.html#a33ec98286320c5e1fb63929775ee7430"> 20</a></span> <a class="code hl_struct" href="../../de/dbd/structARC__Vector.html">ARC_Vector</a> *<a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#a33ec98286320c5e1fb63929775ee7430">elements</a>;</div>
|
||||
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span>};</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
|
||||
<div class="foldopen" id="foldopen00023" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="../../d6/d7e/console_2view_8h.html#a583e081c182900d229c2554c5cb28c8a"> 23</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#a583e081c182900d229c2554c5cb28c8a">ARC_ConsoleView_Create</a>(<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> **view, <a class="code hl_struct" href="../../d0/d18/structARC__Rect.html">ARC_Rect</a> bounds){</div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> <span class="keywordflow">if</span>(<a class="code hl_variable" href="../../d0/da4/console_2ncurses_2view_8c.html#a0a8ba89aefb6e579f685d3c1ea3911e6">arc_ncurses_win_size</a> == ~(uint8_t)0){</div>
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> <a class="code hl_variable" href="../../d8/dc2/errno_8h.html#a5884aa8cc9b4e733345e49f93b54f75a">arc_errno</a> = <a class="code hl_define" href="../../d8/dc2/errno_8h.html#a9d88eecae5e1850a90ae502999ca5a73">ARC_ERRNO_OVERFLOW</a>;</div>
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> ARC_DEBUG_ERR(<span class="stringliteral">"ARC_NCurses_Create(ncurses), max num of ARC_NCurses have been created, consider making arc_ncurses_win_size a uint32_t to increase the max"</span>);</div>
|
||||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> *view = NULL;</div>
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> }</div>
|
||||
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div>
|
||||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> <span class="comment">//if this is the first ncurses, init ncurses</span></div>
|
||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> <span class="keywordflow">if</span>(<a class="code hl_variable" href="../../d0/da4/console_2ncurses_2view_8c.html#a0a8ba89aefb6e579f685d3c1ea3911e6">arc_ncurses_win_size</a> == 0){</div>
|
||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> setlocale(LC_ALL, <span class="stringliteral">""</span>);</div>
|
||||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> initscr();</div>
|
||||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> <span class="comment">//start_color();</span></div>
|
||||
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> cbreak();</div>
|
||||
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> keypad(stdscr, TRUE);</div>
|
||||
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> refresh();</div>
|
||||
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> }</div>
|
||||
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> </div>
|
||||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> *view = (<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> *)malloc(<span class="keyword">sizeof</span>(<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a>));</div>
|
||||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div>
|
||||
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <a class="code hl_struct" href="../../d0/d18/structARC__Rect.html">ARC_Rect</a> viewBounds = { 0, 0, COLS, LINES };</div>
|
||||
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <span class="keywordflow">if</span>(bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a2ed00701687a538b3c7df0a6a47697dd">w</a> != 0 && bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a75f17b793a867572a521906a514a312b">h</a> != 0){</div>
|
||||
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> viewBounds = bounds;</div>
|
||||
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> }</div>
|
||||
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> </div>
|
||||
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> (*view)->window = newwin(viewBounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a75f17b793a867572a521906a514a312b">h</a>, viewBounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a2ed00701687a538b3c7df0a6a47697dd">w</a>, viewBounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a33859912d1bcd75496e12de4e3a08a3c">y</a>, viewBounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a0c6f8364cb183d5fd271f2f6d9a11128">x</a>);</div>
|
||||
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> (*view)->bounds = viewBounds;</div>
|
||||
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> </div>
|
||||
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> keypad((*view)->window, TRUE);</div>
|
||||
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> </div>
|
||||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> noecho();</div>
|
||||
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> (*view)->echo = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> </div>
|
||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <a class="code hl_function" href="../../d6/d68/vector_8h.html#ac8de583c096684695a7d862c581b78f6">ARC_Vector_Create</a>(&(*view)->elements);</div>
|
||||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div>
|
||||
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> wrefresh((*view)->window);</div>
|
||||
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> </div>
|
||||
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <a class="code hl_variable" href="../../d0/da4/console_2ncurses_2view_8c.html#a0a8ba89aefb6e579f685d3c1ea3911e6">arc_ncurses_win_size</a>++;</div>
|
||||
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> </div>
|
||||
<div class="foldopen" id="foldopen00063" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="../../d6/d7e/console_2view_8h.html#afb6d65be2428ff4b7171f598c982efcb"> 63</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#a5636a3e911a96fc0c8c5c79c0bb4b7e7">ARC_ConsoleView_Destroy</a>(<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> *ncurses){</div>
|
||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <a class="code hl_variable" href="../../d0/da4/console_2ncurses_2view_8c.html#a0a8ba89aefb6e579f685d3c1ea3911e6">arc_ncurses_win_size</a>--;</div>
|
||||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> </div>
|
||||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> <a class="code hl_function" href="../../d6/d68/vector_8h.html#a605bb525f6df05ec88742237e1911e47">ARC_Vector_Destroy</a>(ncurses-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#a33ec98286320c5e1fb63929775ee7430">elements</a>);</div>
|
||||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> </div>
|
||||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> delwin(ncurses-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>);</div>
|
||||
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> free(ncurses);</div>
|
||||
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> </div>
|
||||
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> <span class="keywordflow">if</span>(<a class="code hl_variable" href="../../d0/da4/console_2ncurses_2view_8c.html#a0a8ba89aefb6e579f685d3c1ea3911e6">arc_ncurses_win_size</a> == 0){</div>
|
||||
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> endwin();</div>
|
||||
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> }</div>
|
||||
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> </div>
|
||||
<div class="foldopen" id="foldopen00076" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"><a class="line" href="../../d6/d7e/console_2view_8h.html#acddd6c7caef3022824080453f8ea7c22"> 76</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#acddd6c7caef3022824080453f8ea7c22">ARC_ConsoleView_AddElement</a>(<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> *view, <a class="code hl_struct" href="../../db/db4/structARC__ConsoleElement.html">ARC_ConsoleElement</a> *element){</div>
|
||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> <a class="code hl_function" href="../../d6/d68/vector_8h.html#a2a06c8c4c1fc1f99e08568ef92c186ae">ARC_Vector_Add</a>(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#a33ec98286320c5e1fb63929775ee7430">elements</a>, (<span class="keywordtype">void</span> *)element);</div>
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> </div>
|
||||
<div class="foldopen" id="foldopen00080" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"><a class="line" href="../../d6/d7e/console_2view_8h.html#ab16135af58f6b7eb7d425428d63605ab"> 80</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#ab16135af58f6b7eb7d425428d63605ab">ARC_ConsoleView_RemoveElement</a>(<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> *view, uint32_t index){</div>
|
||||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> <a class="code hl_function" href="../../d6/d68/vector_8h.html#ab05c0f7ebefe73729d3e2c2e6e528d00">ARC_Vector_RemoveIndex</a>(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#a33ec98286320c5e1fb63929775ee7430">elements</a>, index);</div>
|
||||
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> </div>
|
||||
<div class="foldopen" id="foldopen00084" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"><a class="line" href="../../d6/d7e/console_2view_8h.html#af8bbe9829fe2173ad9e86bbd589a4745"> 84</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#af8bbe9829fe2173ad9e86bbd589a4745">ARC_ConsoleView_Clear</a>(<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> *view){</div>
|
||||
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> wclear(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>);</div>
|
||||
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> wrefresh(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>);</div>
|
||||
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> </div>
|
||||
<div class="foldopen" id="foldopen00089" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"><a class="line" href="../../d6/d7e/console_2view_8h.html#a6b5049ee8fcd713321fe98f8168bd6f3"> 89</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#a6b5049ee8fcd713321fe98f8168bd6f3">ARC_ConsoleView_RenderCharAt</a>(<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> *view, <span class="keywordtype">char</span> character, <a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a> pos){</div>
|
||||
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> mvwprintw(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#a0b72b34f989c0351e5e64ba0b46bac8c">y</a>, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#aec135156ef69b46e71be21a02aad82e2">x</a>, <span class="stringliteral">"%c"</span>, character);</div>
|
||||
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> wrefresh(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>);</div>
|
||||
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> </div>
|
||||
<div class="foldopen" id="foldopen00094" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="../../d6/d7e/console_2view_8h.html#aac7cb2d64cbee2251875664689a553fe"> 94</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#aac7cb2d64cbee2251875664689a553fe">ARC_ConsoleView_RenderWCharAt</a>(<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> *view, <span class="keywordtype">wchar_t</span> character, <a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a> pos){</div>
|
||||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> mvwprintw(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#a0b72b34f989c0351e5e64ba0b46bac8c">y</a>, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#aec135156ef69b46e71be21a02aad82e2">x</a>, <span class="stringliteral">"%lc"</span>, character);</div>
|
||||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> wrefresh(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>);</div>
|
||||
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> </div>
|
||||
<div class="foldopen" id="foldopen00099" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"><a class="line" href="../../d6/d7e/console_2view_8h.html#a2f28e93c0515ebb2e3b4a40c8600027f"> 99</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#a2f28e93c0515ebb2e3b4a40c8600027f">ARC_ConsoleView_RenderKeyAt</a>(<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> *view, <a class="code hl_struct" href="../../dd/d01/structARC__ConsoleKeyType.html">ARC_ConsoleKey</a> key, <a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a> pos){</div>
|
||||
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> mvwprintw(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#a0b72b34f989c0351e5e64ba0b46bac8c">y</a>, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#aec135156ef69b46e71be21a02aad82e2">x</a>, <span class="stringliteral">"%c"</span>, (<span class="keywordtype">char</span>)key.<a class="code hl_variable" href="../../dd/d01/structARC__ConsoleKeyType.html#a4cbff483c7ebaf170a90c8803da67ea2">key</a>);</div>
|
||||
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> wrefresh(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>);</div>
|
||||
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> </div>
|
||||
<div class="foldopen" id="foldopen00104" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"><a class="line" href="../../d6/d7e/console_2view_8h.html#a4c959aded7e41feb0b34c9e24c192b1e"> 104</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#a4c959aded7e41feb0b34c9e24c192b1e">ARC_ConsoleView_RenderUint32At</a>(<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> *view, uint32_t uint32, <a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a> pos){</div>
|
||||
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> mvwprintw(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#a0b72b34f989c0351e5e64ba0b46bac8c">y</a>, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#aec135156ef69b46e71be21a02aad82e2">x</a>, <span class="stringliteral">"%d"</span>, uint32);</div>
|
||||
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> wrefresh(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>);</div>
|
||||
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> </div>
|
||||
<div class="foldopen" id="foldopen00109" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"><a class="line" href="../../d6/d7e/console_2view_8h.html#a06c57f7eb1c0f950ddff17fab8278b34"> 109</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#a06c57f7eb1c0f950ddff17fab8278b34">ARC_ConsoleView_RenderStringAt</a>(<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> *view, <a class="code hl_struct" href="../../df/d06/structARC__String.html">ARC_String</a> *text, <a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a> pos){</div>
|
||||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> mvwprintw(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#a0b72b34f989c0351e5e64ba0b46bac8c">y</a>, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#aec135156ef69b46e71be21a02aad82e2">x</a>, <span class="stringliteral">"%s"</span>, text-><a class="code hl_variable" href="../../df/d06/structARC__String.html#afb2481930983f2d2b40dc650ec0f7f9e">data</a>);</div>
|
||||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> wrefresh(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>);</div>
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> </div>
|
||||
<div class="foldopen" id="foldopen00114" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"><a class="line" href="../../d6/d7e/console_2view_8h.html#a135b991e7764e9f771b9e8ea32d91502"> 114</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#a135b991e7764e9f771b9e8ea32d91502">ARC_ConsoleView_RenderCStringWithStrlenAt</a>(<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> *view, <span class="keywordtype">char</span> *cstr, <a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a> pos){</div>
|
||||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> mvwprintw(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#a0b72b34f989c0351e5e64ba0b46bac8c">y</a>, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#aec135156ef69b46e71be21a02aad82e2">x</a>, <span class="stringliteral">"%s"</span>, cstr);</div>
|
||||
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> wrefresh(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>);</div>
|
||||
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> </div>
|
||||
<div class="foldopen" id="foldopen00119" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"><a class="line" href="../../d6/d7e/console_2view_8h.html#af5f8bc0a9f61160a1363d5d2f47f68e3"> 119</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#af5f8bc0a9f61160a1363d5d2f47f68e3">ARC_ConsoleView_RenderRect</a>(<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> *view, <a class="code hl_struct" href="../../d0/d18/structARC__Rect.html">ARC_Rect</a> bounds){</div>
|
||||
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> <span class="comment">//render corners</span></div>
|
||||
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#aac7cb2d64cbee2251875664689a553fe">ARC_ConsoleView_RenderWCharAt</a>(view, L<span class="stringliteral">'┌'</span>, (<a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a>){ bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a0c6f8364cb183d5fd271f2f6d9a11128">x</a>, bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a33859912d1bcd75496e12de4e3a08a3c">y</a> });</div>
|
||||
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#aac7cb2d64cbee2251875664689a553fe">ARC_ConsoleView_RenderWCharAt</a>(view, L<span class="stringliteral">'└'</span>, (<a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a>){ bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a0c6f8364cb183d5fd271f2f6d9a11128">x</a>, (bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a75f17b793a867572a521906a514a312b">h</a> - 1) + bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a33859912d1bcd75496e12de4e3a08a3c">y</a> });</div>
|
||||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#aac7cb2d64cbee2251875664689a553fe">ARC_ConsoleView_RenderWCharAt</a>(view, L<span class="stringliteral">'┐'</span>, (<a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a>){ (bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a2ed00701687a538b3c7df0a6a47697dd">w</a> - 1) + bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a0c6f8364cb183d5fd271f2f6d9a11128">x</a>, bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a33859912d1bcd75496e12de4e3a08a3c">y</a> });</div>
|
||||
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#aac7cb2d64cbee2251875664689a553fe">ARC_ConsoleView_RenderWCharAt</a>(view, L<span class="stringliteral">'┘'</span>, (<a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a>){ (bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a2ed00701687a538b3c7df0a6a47697dd">w</a> - 1) + bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a0c6f8364cb183d5fd271f2f6d9a11128">x</a>, (bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a75f17b793a867572a521906a514a312b">h</a> - 1) + bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a33859912d1bcd75496e12de4e3a08a3c">y</a> });</div>
|
||||
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> </div>
|
||||
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> <span class="comment">//render virticle lines</span></div>
|
||||
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> <span class="keywordflow">for</span>(int32_t x = 1; x < bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a2ed00701687a538b3c7df0a6a47697dd">w</a> - 1; x++){</div>
|
||||
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#aac7cb2d64cbee2251875664689a553fe">ARC_ConsoleView_RenderWCharAt</a>(view, L<span class="stringliteral">'─'</span>, (<a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a>){ bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a0c6f8364cb183d5fd271f2f6d9a11128">x</a> + x, bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a33859912d1bcd75496e12de4e3a08a3c">y</a> });</div>
|
||||
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#aac7cb2d64cbee2251875664689a553fe">ARC_ConsoleView_RenderWCharAt</a>(view, L<span class="stringliteral">'─'</span>, (<a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a>){ bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a0c6f8364cb183d5fd271f2f6d9a11128">x</a> + x, (bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a75f17b793a867572a521906a514a312b">h</a> - 1) + bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a33859912d1bcd75496e12de4e3a08a3c">y</a> });</div>
|
||||
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> }</div>
|
||||
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> </div>
|
||||
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> <span class="comment">//render horizontal lines</span></div>
|
||||
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> <span class="keywordflow">for</span>(int32_t y = 1; y < bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a75f17b793a867572a521906a514a312b">h</a> - 1; y++){</div>
|
||||
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#aac7cb2d64cbee2251875664689a553fe">ARC_ConsoleView_RenderWCharAt</a>(view, L<span class="stringliteral">'│'</span>, (<a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a>){ bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a0c6f8364cb183d5fd271f2f6d9a11128">x</a>, bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a33859912d1bcd75496e12de4e3a08a3c">y</a> + y });</div>
|
||||
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#aac7cb2d64cbee2251875664689a553fe">ARC_ConsoleView_RenderWCharAt</a>(view, L<span class="stringliteral">'│'</span>, (<a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a>){ (bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a2ed00701687a538b3c7df0a6a47697dd">w</a> - 1) + bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a0c6f8364cb183d5fd271f2f6d9a11128">x</a>, bounds.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a33859912d1bcd75496e12de4e3a08a3c">y</a> + y });</div>
|
||||
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> }</div>
|
||||
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> </div>
|
||||
<div class="foldopen" id="foldopen00139" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"><a class="line" href="../../d6/d7e/console_2view_8h.html#a16ef2179ab56e0107e80eef8c5d216d0"> 139</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#a16ef2179ab56e0107e80eef8c5d216d0">ARC_ConsoleView_RenderElements</a>(<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> *view){</div>
|
||||
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> <span class="keywordflow">for</span>(uint32_t i = 0; i < ARC_Vector_Size(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#a33ec98286320c5e1fb63929775ee7430">elements</a>); i++){</div>
|
||||
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> <a class="code hl_struct" href="../../db/db4/structARC__ConsoleElement.html">ARC_ConsoleElement</a> *element = (<a class="code hl_struct" href="../../db/db4/structARC__ConsoleElement.html">ARC_ConsoleElement</a> *)<a class="code hl_function" href="../../d6/d68/vector_8h.html#a1b01ba012d6fe295e8ce1446f9a6a3a0">ARC_Vector_Get</a>(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#a33ec98286320c5e1fb63929775ee7430">elements</a>, i);</div>
|
||||
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> element-><a class="code hl_variable" href="../../db/db4/structARC__ConsoleElement.html#a5bb20afcff792af26450d50263604672">renderFn</a>(view, element);</div>
|
||||
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> wrefresh(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>);</div>
|
||||
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> }</div>
|
||||
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> </div>
|
||||
<div class="foldopen" id="foldopen00147" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"><a class="line" href="../../d6/d7e/console_2view_8h.html#a4aa93749156b5ef949037cd15ba32054"> 147</a></span><a class="code hl_struct" href="../../d0/d18/structARC__Rect.html">ARC_Rect</a> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#a4aa93749156b5ef949037cd15ba32054">ARC_ConsoleView_GetBounds</a>(<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> *view){</div>
|
||||
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> <span class="keywordflow">return</span> view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#af386230daac02d881dfdd08c31c96945">bounds</a>;</div>
|
||||
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> </div>
|
||||
<div class="foldopen" id="foldopen00151" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"><a class="line" href="../../d6/d7e/console_2view_8h.html#acecfdaaa4c95a98fe5d6926cfdcc68e2"> 151</a></span><a class="code hl_struct" href="../../db/db4/structARC__ConsoleElement.html">ARC_ConsoleElement</a> *<a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#acecfdaaa4c95a98fe5d6926cfdcc68e2">ARC_ConsoleView_GetElement</a>(<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> *view, uint32_t index){</div>
|
||||
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> <span class="keywordflow">return</span> (<a class="code hl_struct" href="../../db/db4/structARC__ConsoleElement.html">ARC_ConsoleElement</a> *)<a class="code hl_function" href="../../d6/d68/vector_8h.html#a1b01ba012d6fe295e8ce1446f9a6a3a0">ARC_Vector_Get</a>(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#a33ec98286320c5e1fb63929775ee7430">elements</a>, index);</div>
|
||||
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> </div>
|
||||
<div class="foldopen" id="foldopen00155" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"><a class="line" href="../../d6/d7e/console_2view_8h.html#a07468b6b5ca4a719562a2b9288897f66"> 155</a></span><span class="keywordtype">char</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#a07468b6b5ca4a719562a2b9288897f66">ARC_ConsoleView_GetChar</a>(<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> *view){</div>
|
||||
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> <span class="keywordflow">return</span> wgetch(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>);</div>
|
||||
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> </div>
|
||||
<div class="foldopen" id="foldopen00159" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"><a class="line" href="../../d6/d7e/console_2view_8h.html#ab790935bce37a8c749cdeb4c3d9334d3"> 159</a></span><span class="keywordtype">char</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#ab790935bce37a8c749cdeb4c3d9334d3">ARC_ConsoleView_GetCharAt</a>(<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> *view, <a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a> pos){</div>
|
||||
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> <span class="keywordflow">return</span> mvwgetch(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#a0b72b34f989c0351e5e64ba0b46bac8c">y</a>, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#aec135156ef69b46e71be21a02aad82e2">x</a>);</div>
|
||||
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> </div>
|
||||
<div class="foldopen" id="foldopen00163" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"><a class="line" href="../../d6/d7e/console_2view_8h.html#a7416cd9008f389952f22c3f80b0fcda0"> 163</a></span><a class="code hl_struct" href="../../dd/d01/structARC__ConsoleKeyType.html">ARC_ConsoleKey</a> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#a7416cd9008f389952f22c3f80b0fcda0">ARC_ConsoleView_GetConsoleKeyAt</a>(<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> *view, <a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a> pos){</div>
|
||||
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> <span class="keywordflow">return</span> (<a class="code hl_struct" href="../../dd/d01/structARC__ConsoleKeyType.html">ARC_ConsoleKey</a>){ mvwgetch(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#a0b72b34f989c0351e5e64ba0b46bac8c">y</a>, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#aec135156ef69b46e71be21a02aad82e2">x</a>) };</div>
|
||||
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> </div>
|
||||
<div class="foldopen" id="foldopen00167" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"><a class="line" href="../../d6/d7e/console_2view_8h.html#aaf3208692988dc533a0e123a2d94482e"> 167</a></span><a class="code hl_struct" href="../../dd/d01/structARC__ConsoleKeyType.html">ARC_ConsoleKey</a> *<a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#aaf3208692988dc533a0e123a2d94482e">ARC_ConsoleView_GetCreateConsoleKeyAt</a>(<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> *view, <a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a> pos){</div>
|
||||
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> <a class="code hl_struct" href="../../dd/d01/structARC__ConsoleKeyType.html">ARC_ConsoleKey</a> *key;</div>
|
||||
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> <a class="code hl_function" href="../../d5/d9f/include_2arc_2console_2key_8h.html#a48d569403d14309ba282c17480222f14">ARC_ConsoleKey_Create</a>(&key, NULL);</div>
|
||||
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> key-><a class="code hl_variable" href="../../dd/d01/structARC__ConsoleKeyType.html#a4cbff483c7ebaf170a90c8803da67ea2">key</a> = mvwgetch(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#a0b72b34f989c0351e5e64ba0b46bac8c">y</a>, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#aec135156ef69b46e71be21a02aad82e2">x</a>);</div>
|
||||
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> <span class="keywordflow">return</span> key;</div>
|
||||
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> </div>
|
||||
<div class="foldopen" id="foldopen00174" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"><a class="line" href="../../d6/d7e/console_2view_8h.html#a142f7b184c21ddab974367baac6ae09a"> 174</a></span><a class="code hl_struct" href="../../df/d06/structARC__String.html">ARC_String</a> *<a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#a142f7b184c21ddab974367baac6ae09a">ARC_ConsoleView_GetStringInput</a>(<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> *view, <a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a> pos, <a class="code hl_typedef" href="../../d6/d7e/console_2view_8h.html#aadbaf18a3ac227a6a148fa68d7eec85d">ARC_ConsoleView_OverrideCharInputFn</a> *overrideCharInputFn, <span class="keywordtype">void</span> *userdata){</div>
|
||||
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> noecho();</div>
|
||||
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> </div>
|
||||
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> uint32_t cstringSize = view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#af386230daac02d881dfdd08c31c96945">bounds</a>.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a2ed00701687a538b3c7df0a6a47697dd">w</a> - pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#aec135156ef69b46e71be21a02aad82e2">x</a>;</div>
|
||||
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> <span class="keywordtype">char</span> cstring[view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#af386230daac02d881dfdd08c31c96945">bounds</a>.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a2ed00701687a538b3c7df0a6a47697dd">w</a> - pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#aec135156ef69b46e71be21a02aad82e2">x</a>];</div>
|
||||
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> </div>
|
||||
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> <a class="code hl_struct" href="../../dd/d01/structARC__ConsoleKeyType.html">ARC_ConsoleKey</a> temp = <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#a7416cd9008f389952f22c3f80b0fcda0">ARC_ConsoleView_GetConsoleKeyAt</a>(view, pos);</div>
|
||||
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> uint32_t index = 0;</div>
|
||||
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> <span class="keywordflow">while</span>(temp.<a class="code hl_variable" href="../../dd/d01/structARC__ConsoleKeyType.html#a4cbff483c7ebaf170a90c8803da67ea2">key</a> != <span class="charliteral">'\n'</span>){</div>
|
||||
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> <span class="comment">//store the last size to be able to clear efficeintly</span></div>
|
||||
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> uint32_t lastSize = index;</div>
|
||||
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> </div>
|
||||
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> <span class="comment">//if override function exists and it overrode the current char</span></div>
|
||||
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> <span class="keywordflow">if</span>(overrideCharInputFn != NULL && (*overrideCharInputFn)(&temp, cstring, &index, cstringSize, userdata)){</div>
|
||||
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> <span class="keywordflow">for</span>(uint32_t i = 0; i < lastSize; i++){</div>
|
||||
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#a6b5049ee8fcd713321fe98f8168bd6f3">ARC_ConsoleView_RenderCharAt</a>(view, <span class="charliteral">' '</span>, (<a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a>){ pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#aec135156ef69b46e71be21a02aad82e2">x</a> + i, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#a0b72b34f989c0351e5e64ba0b46bac8c">y</a> });</div>
|
||||
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> }</div>
|
||||
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> </div>
|
||||
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> <span class="keywordflow">for</span>(uint32_t i = 0; i < index; i++){</div>
|
||||
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#a6b5049ee8fcd713321fe98f8168bd6f3">ARC_ConsoleView_RenderCharAt</a>(view, cstring[i], (<a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a>){ pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#aec135156ef69b46e71be21a02aad82e2">x</a> + i, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#a0b72b34f989c0351e5e64ba0b46bac8c">y</a> });</div>
|
||||
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> }</div>
|
||||
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> </div>
|
||||
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span> temp = <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#a7416cd9008f389952f22c3f80b0fcda0">ARC_ConsoleView_GetConsoleKeyAt</a>(view, (<a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a>){ pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#aec135156ef69b46e71be21a02aad82e2">x</a> + index, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#a0b72b34f989c0351e5e64ba0b46bac8c">y</a> });</div>
|
||||
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span> <span class="keywordflow">continue</span>;</div>
|
||||
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> }</div>
|
||||
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> </div>
|
||||
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> <span class="keywordflow">if</span>(temp.<a class="code hl_variable" href="../../dd/d01/structARC__ConsoleKeyType.html#a4cbff483c7ebaf170a90c8803da67ea2">key</a> == KEY_BACKSPACE || temp.<a class="code hl_variable" href="../../dd/d01/structARC__ConsoleKeyType.html#a4cbff483c7ebaf170a90c8803da67ea2">key</a> == KEY_DC || temp.<a class="code hl_variable" href="../../dd/d01/structARC__ConsoleKeyType.html#a4cbff483c7ebaf170a90c8803da67ea2">key</a> == 127){</div>
|
||||
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span> <span class="keywordflow">if</span>(index == 0){</div>
|
||||
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> temp = <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#a7416cd9008f389952f22c3f80b0fcda0">ARC_ConsoleView_GetConsoleKeyAt</a>(view, (<a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a>){ pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#aec135156ef69b46e71be21a02aad82e2">x</a> + index, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#a0b72b34f989c0351e5e64ba0b46bac8c">y</a> });</div>
|
||||
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> <span class="keywordflow">continue</span>;</div>
|
||||
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span> }</div>
|
||||
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span> </div>
|
||||
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span> index--;</div>
|
||||
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#a6b5049ee8fcd713321fe98f8168bd6f3">ARC_ConsoleView_RenderCharAt</a>(view, <span class="charliteral">' '</span>, (<a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a>){ pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#aec135156ef69b46e71be21a02aad82e2">x</a> + index, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#a0b72b34f989c0351e5e64ba0b46bac8c">y</a> });</div>
|
||||
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span> cstring[index] = <span class="charliteral">'\0'</span>;</div>
|
||||
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span> temp = <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#a7416cd9008f389952f22c3f80b0fcda0">ARC_ConsoleView_GetConsoleKeyAt</a>(view, (<a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a>){ pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#aec135156ef69b46e71be21a02aad82e2">x</a> + index, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#a0b72b34f989c0351e5e64ba0b46bac8c">y</a> });</div>
|
||||
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span> <span class="keywordflow">continue</span>;</div>
|
||||
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span> }</div>
|
||||
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span> </div>
|
||||
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span> <span class="keywordflow">if</span>(index < (view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#af386230daac02d881dfdd08c31c96945">bounds</a>.<a class="code hl_variable" href="../../d0/d18/structARC__Rect.html#a2ed00701687a538b3c7df0a6a47697dd">w</a> - 1) - pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#aec135156ef69b46e71be21a02aad82e2">x</a>){</div>
|
||||
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#a6b5049ee8fcd713321fe98f8168bd6f3">ARC_ConsoleView_RenderCharAt</a>(view, (<span class="keywordtype">char</span>)(temp.<a class="code hl_variable" href="../../dd/d01/structARC__ConsoleKeyType.html#a4cbff483c7ebaf170a90c8803da67ea2">key</a>), (<a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a>){ pos.x + index, pos.y });</div>
|
||||
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span> cstring[index] = (char)(temp.<a class="code hl_variable" href="../../dd/d01/structARC__ConsoleKeyType.html#a4cbff483c7ebaf170a90c8803da67ea2">key</a>);</div>
|
||||
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span> index++;</div>
|
||||
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span> }</div>
|
||||
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span> </div>
|
||||
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span> temp = <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#a7416cd9008f389952f22c3f80b0fcda0">ARC_ConsoleView_GetConsoleKeyAt</a>(view, (<a class="code hl_struct" href="../../d2/d9d/structARC__Point.html">ARC_Point</a>){ pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#aec135156ef69b46e71be21a02aad82e2">x</a> + index, pos.<a class="code hl_variable" href="../../d2/d9d/structARC__Point.html#a0b72b34f989c0351e5e64ba0b46bac8c">y</a> });</div>
|
||||
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"> 220</span> }</div>
|
||||
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span> </div>
|
||||
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span> <span class="keywordflow">if</span>(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#acfba50986749dc8c26d720110cb26239">echo</a>){</div>
|
||||
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> echo();</div>
|
||||
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> }</div>
|
||||
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> </div>
|
||||
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> <span class="keywordflow">if</span>(index == 0){</div>
|
||||
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> <span class="keywordflow">return</span> NULL;</div>
|
||||
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span> }</div>
|
||||
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> </div>
|
||||
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> <a class="code hl_struct" href="../../df/d06/structARC__String.html">ARC_String</a> *string;</div>
|
||||
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span> <a class="code hl_function" href="../../da/d66/string_8h.html#a709d2bb4b120569a636e0afdf5e8f1d0">ARC_String_Create</a>(&<span class="keywordtype">string</span>, cstring, index);</div>
|
||||
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> <span class="keywordflow">return</span> string;</div>
|
||||
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span> </div>
|
||||
<div class="foldopen" id="foldopen00235" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"><a class="line" href="../../d6/d7e/console_2view_8h.html#abba924acf2b89b9ec00e5efcd2ebc1bd"> 235</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#abba924acf2b89b9ec00e5efcd2ebc1bd">ARC_ConsoleView_SetCursorVisibility</a>(<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> *view, uint8_t visibility){</div>
|
||||
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span> <span class="keywordflow">switch</span>(visibility){</div>
|
||||
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span> <span class="keywordflow">case</span> <a class="code hl_define" href="../../d6/d7e/console_2view_8h.html#a2a63d43486d880b44c150c0d012e7b80">ARC_CONSOLE_VIEW_CURSOR_HIDDEN</a>:</div>
|
||||
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span> curs_set(0);</div>
|
||||
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span> <span class="keywordflow">case</span> <a class="code hl_define" href="../../d6/d7e/console_2view_8h.html#a2c2298814cd9d858a41bf6bb88e39825">ARC_CONSOLE_VIEW_CURSOR_VISIBLE</a>:</div>
|
||||
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"> 241</span> curs_set(1);</div>
|
||||
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"> 242</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span> }</div>
|
||||
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span> </div>
|
||||
<div class="foldopen" id="foldopen00246" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"><a class="line" href="../../d6/d7e/console_2view_8h.html#a9ee59e09b9deaa860e7279847ec5d6d0"> 246</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#a9ee59e09b9deaa860e7279847ec5d6d0">ARC_ConsoleView_SetBorder</a>(<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> *view, uint32_t border){</div>
|
||||
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span> <span class="keywordflow">switch</span>(border){</div>
|
||||
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"> 248</span> <span class="keywordflow">case</span> <a class="code hl_define" href="../../d6/d7e/console_2view_8h.html#a113fd84b20e4f04a65e1d4c40ecfd5e4">ARC_CONSOLE_VIEW_BORDER_NONE</a>:</div>
|
||||
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"> 249</span> wborder(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>, <span class="charliteral">' '</span>, <span class="charliteral">' '</span>, <span class="charliteral">' '</span>,<span class="charliteral">' '</span>,<span class="charliteral">' '</span>,<span class="charliteral">' '</span>,<span class="charliteral">' '</span>,<span class="charliteral">' '</span>);</div>
|
||||
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"> 250</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"> 251</span> <span class="keywordflow">case</span> <a class="code hl_define" href="../../d6/d7e/console_2view_8h.html#a30d038b7af9bec1386f4e3f8a4eea31e">ARC_CONSOLE_VIEW_BORDER_DEFAULT</a>:</div>
|
||||
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span> box(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>, 0, 0);</div>
|
||||
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span> }</div>
|
||||
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span> </div>
|
||||
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"> 256</span> wrefresh(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>);</div>
|
||||
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"> 257</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"> 258</span> </div>
|
||||
<div class="foldopen" id="foldopen00259" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"><a class="line" href="../../d6/d7e/console_2view_8h.html#add7a787887ba24554bfb8b454e79f8e1"> 259</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d0/da4/console_2ncurses_2view_8c.html#add7a787887ba24554bfb8b454e79f8e1">ARC_ConsoleView_SetAttribute</a>(<a class="code hl_struct" href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a> *view, uint32_t attribute){</div>
|
||||
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span> <span class="keywordflow">switch</span>(attribute){</div>
|
||||
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span> <span class="keywordflow">case</span> <a class="code hl_define" href="../../d6/d7e/console_2view_8h.html#a8dba2fb38e0f1864ae34a753831a0d20">ARC_CONSOLE_VIEW_ATTRIBUTE_NONE</a>:</div>
|
||||
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span> wattroff(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>, A_REVERSE);</div>
|
||||
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span> <span class="keywordflow">case</span> <a class="code hl_define" href="../../d6/d7e/console_2view_8h.html#a770bc33ad78dca98b8ebf405324b8d52">ARC_CONSOLE_VIEW_ATTRIBUTE_REVERSE</a>:</div>
|
||||
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span> wattron(view-><a class="code hl_variable" href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">window</a>, A_REVERSE);</div>
|
||||
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"> 267</span> }</div>
|
||||
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"> 268</span>}</div>
|
||||
</div>
|
||||
<div class="ttc" id="abool_8h_html"><div class="ttname"><a href="../../d8/d77/bool_8h.html">bool.h</a></div></div>
|
||||
<div class="ttc" id="abool_8h_html_aad51710c999c22d9440e5ce0ba8e2c45"><div class="ttname"><a href="../../d8/d77/bool_8h.html#aad51710c999c22d9440e5ce0ba8e2c45">ARC_Bool</a></div><div class="ttdeci">#define ARC_Bool</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d77/bool_8h_source.html#l00010">bool.h:10</a></div></div>
|
||||
<div class="ttc" id="aconsole_2ncurses_2view_8c_html_a06c57f7eb1c0f950ddff17fab8278b34"><div class="ttname"><a href="../../d0/da4/console_2ncurses_2view_8c.html#a06c57f7eb1c0f950ddff17fab8278b34">ARC_ConsoleView_RenderStringAt</a></div><div class="ttdeci">void ARC_ConsoleView_RenderStringAt(ARC_ConsoleView *view, ARC_String *text, ARC_Point pos)</div><div class="ttdef"><b>Definition</b> <a href="#l00109">view.c:109</a></div></div>
|
||||
<div class="ttc" id="aconsole_2ncurses_2view_8c_html_a07468b6b5ca4a719562a2b9288897f66"><div class="ttname"><a href="../../d0/da4/console_2ncurses_2view_8c.html#a07468b6b5ca4a719562a2b9288897f66">ARC_ConsoleView_GetChar</a></div><div class="ttdeci">char ARC_ConsoleView_GetChar(ARC_ConsoleView *view)</div><div class="ttdoc">gets a char from the view</div><div class="ttdef"><b>Definition</b> <a href="#l00155">view.c:155</a></div></div>
|
||||
<div class="ttc" id="aconsole_2ncurses_2view_8c_html_a0a8ba89aefb6e579f685d3c1ea3911e6"><div class="ttname"><a href="../../d0/da4/console_2ncurses_2view_8c.html#a0a8ba89aefb6e579f685d3c1ea3911e6">arc_ncurses_win_size</a></div><div class="ttdeci">uint8_t arc_ncurses_win_size</div><div class="ttdef"><b>Definition</b> <a href="#l00013">view.c:13</a></div></div>
|
||||
<div class="ttc" id="aconsole_2ncurses_2view_8c_html_a135b991e7764e9f771b9e8ea32d91502"><div class="ttname"><a href="../../d0/da4/console_2ncurses_2view_8c.html#a135b991e7764e9f771b9e8ea32d91502">ARC_ConsoleView_RenderCStringWithStrlenAt</a></div><div class="ttdeci">void ARC_ConsoleView_RenderCStringWithStrlenAt(ARC_ConsoleView *view, char *cstr, ARC_Point pos)</div><div class="ttdef"><b>Definition</b> <a href="#l00114">view.c:114</a></div></div>
|
||||
<div class="ttc" id="aconsole_2ncurses_2view_8c_html_a142f7b184c21ddab974367baac6ae09a"><div class="ttname"><a href="../../d0/da4/console_2ncurses_2view_8c.html#a142f7b184c21ddab974367baac6ae09a">ARC_ConsoleView_GetStringInput</a></div><div class="ttdeci">ARC_String * ARC_ConsoleView_GetStringInput(ARC_ConsoleView *view, ARC_Point pos, ARC_ConsoleView_OverrideCharInputFn *overrideCharInputFn, void *userdata)</div><div class="ttdoc">gets a ARC_String from the view at a position</div><div class="ttdef"><b>Definition</b> <a href="#l00174">view.c:174</a></div></div>
|
||||
<div class="ttc" id="aconsole_2ncurses_2view_8c_html_a16ef2179ab56e0107e80eef8c5d216d0"><div class="ttname"><a href="../../d0/da4/console_2ncurses_2view_8c.html#a16ef2179ab56e0107e80eef8c5d216d0">ARC_ConsoleView_RenderElements</a></div><div class="ttdeci">void ARC_ConsoleView_RenderElements(ARC_ConsoleView *view)</div><div class="ttdef"><b>Definition</b> <a href="#l00139">view.c:139</a></div></div>
|
||||
<div class="ttc" id="aconsole_2ncurses_2view_8c_html_a2f28e93c0515ebb2e3b4a40c8600027f"><div class="ttname"><a href="../../d0/da4/console_2ncurses_2view_8c.html#a2f28e93c0515ebb2e3b4a40c8600027f">ARC_ConsoleView_RenderKeyAt</a></div><div class="ttdeci">void ARC_ConsoleView_RenderKeyAt(ARC_ConsoleView *view, ARC_ConsoleKey key, ARC_Point pos)</div><div class="ttdef"><b>Definition</b> <a href="#l00099">view.c:99</a></div></div>
|
||||
<div class="ttc" id="aconsole_2ncurses_2view_8c_html_a4aa93749156b5ef949037cd15ba32054"><div class="ttname"><a href="../../d0/da4/console_2ncurses_2view_8c.html#a4aa93749156b5ef949037cd15ba32054">ARC_ConsoleView_GetBounds</a></div><div class="ttdeci">ARC_Rect ARC_ConsoleView_GetBounds(ARC_ConsoleView *view)</div><div class="ttdoc">gets the bounds of an ARC_ConsoleView</div><div class="ttdef"><b>Definition</b> <a href="#l00147">view.c:147</a></div></div>
|
||||
<div class="ttc" id="aconsole_2ncurses_2view_8c_html_a4c959aded7e41feb0b34c9e24c192b1e"><div class="ttname"><a href="../../d0/da4/console_2ncurses_2view_8c.html#a4c959aded7e41feb0b34c9e24c192b1e">ARC_ConsoleView_RenderUint32At</a></div><div class="ttdeci">void ARC_ConsoleView_RenderUint32At(ARC_ConsoleView *view, uint32_t uint32, ARC_Point pos)</div><div class="ttdef"><b>Definition</b> <a href="#l00104">view.c:104</a></div></div>
|
||||
<div class="ttc" id="aconsole_2ncurses_2view_8c_html_a5636a3e911a96fc0c8c5c79c0bb4b7e7"><div class="ttname"><a href="../../d0/da4/console_2ncurses_2view_8c.html#a5636a3e911a96fc0c8c5c79c0bb4b7e7">ARC_ConsoleView_Destroy</a></div><div class="ttdeci">void ARC_ConsoleView_Destroy(ARC_ConsoleView *ncurses)</div><div class="ttdoc">destroys ARC_ConsoleView type</div><div class="ttdef"><b>Definition</b> <a href="#l00063">view.c:63</a></div></div>
|
||||
<div class="ttc" id="aconsole_2ncurses_2view_8c_html_a583e081c182900d229c2554c5cb28c8a"><div class="ttname"><a href="../../d0/da4/console_2ncurses_2view_8c.html#a583e081c182900d229c2554c5cb28c8a">ARC_ConsoleView_Create</a></div><div class="ttdeci">void ARC_ConsoleView_Create(ARC_ConsoleView **view, ARC_Rect bounds)</div><div class="ttdoc">creates ARC_ConsoleView type</div><div class="ttdef"><b>Definition</b> <a href="#l00023">view.c:23</a></div></div>
|
||||
<div class="ttc" id="aconsole_2ncurses_2view_8c_html_a6b5049ee8fcd713321fe98f8168bd6f3"><div class="ttname"><a href="../../d0/da4/console_2ncurses_2view_8c.html#a6b5049ee8fcd713321fe98f8168bd6f3">ARC_ConsoleView_RenderCharAt</a></div><div class="ttdeci">void ARC_ConsoleView_RenderCharAt(ARC_ConsoleView *view, char character, ARC_Point pos)</div><div class="ttdef"><b>Definition</b> <a href="#l00089">view.c:89</a></div></div>
|
||||
<div class="ttc" id="aconsole_2ncurses_2view_8c_html_a7416cd9008f389952f22c3f80b0fcda0"><div class="ttname"><a href="../../d0/da4/console_2ncurses_2view_8c.html#a7416cd9008f389952f22c3f80b0fcda0">ARC_ConsoleView_GetConsoleKeyAt</a></div><div class="ttdeci">ARC_ConsoleKey ARC_ConsoleView_GetConsoleKeyAt(ARC_ConsoleView *view, ARC_Point pos)</div><div class="ttdoc">gets a console key from the view at a position</div><div class="ttdef"><b>Definition</b> <a href="#l00163">view.c:163</a></div></div>
|
||||
<div class="ttc" id="aconsole_2ncurses_2view_8c_html_a9ee59e09b9deaa860e7279847ec5d6d0"><div class="ttname"><a href="../../d0/da4/console_2ncurses_2view_8c.html#a9ee59e09b9deaa860e7279847ec5d6d0">ARC_ConsoleView_SetBorder</a></div><div class="ttdeci">void ARC_ConsoleView_SetBorder(ARC_ConsoleView *view, uint32_t border)</div><div class="ttdoc">sets a border on the ARC_ConsoleView</div><div class="ttdef"><b>Definition</b> <a href="#l00246">view.c:246</a></div></div>
|
||||
<div class="ttc" id="aconsole_2ncurses_2view_8c_html_aac7cb2d64cbee2251875664689a553fe"><div class="ttname"><a href="../../d0/da4/console_2ncurses_2view_8c.html#aac7cb2d64cbee2251875664689a553fe">ARC_ConsoleView_RenderWCharAt</a></div><div class="ttdeci">void ARC_ConsoleView_RenderWCharAt(ARC_ConsoleView *view, wchar_t character, ARC_Point pos)</div><div class="ttdef"><b>Definition</b> <a href="#l00094">view.c:94</a></div></div>
|
||||
<div class="ttc" id="aconsole_2ncurses_2view_8c_html_aaf3208692988dc533a0e123a2d94482e"><div class="ttname"><a href="../../d0/da4/console_2ncurses_2view_8c.html#aaf3208692988dc533a0e123a2d94482e">ARC_ConsoleView_GetCreateConsoleKeyAt</a></div><div class="ttdeci">ARC_ConsoleKey * ARC_ConsoleView_GetCreateConsoleKeyAt(ARC_ConsoleView *view, ARC_Point pos)</div><div class="ttdoc">gets and creates a console key from the view at a position</div><div class="ttdef"><b>Definition</b> <a href="#l00167">view.c:167</a></div></div>
|
||||
<div class="ttc" id="aconsole_2ncurses_2view_8c_html_ab16135af58f6b7eb7d425428d63605ab"><div class="ttname"><a href="../../d0/da4/console_2ncurses_2view_8c.html#ab16135af58f6b7eb7d425428d63605ab">ARC_ConsoleView_RemoveElement</a></div><div class="ttdeci">void ARC_ConsoleView_RemoveElement(ARC_ConsoleView *view, uint32_t index)</div><div class="ttdef"><b>Definition</b> <a href="#l00080">view.c:80</a></div></div>
|
||||
<div class="ttc" id="aconsole_2ncurses_2view_8c_html_ab790935bce37a8c749cdeb4c3d9334d3"><div class="ttname"><a href="../../d0/da4/console_2ncurses_2view_8c.html#ab790935bce37a8c749cdeb4c3d9334d3">ARC_ConsoleView_GetCharAt</a></div><div class="ttdeci">char ARC_ConsoleView_GetCharAt(ARC_ConsoleView *view, ARC_Point pos)</div><div class="ttdoc">gets a char from the view at a position</div><div class="ttdef"><b>Definition</b> <a href="#l00159">view.c:159</a></div></div>
|
||||
<div class="ttc" id="aconsole_2ncurses_2view_8c_html_abba924acf2b89b9ec00e5efcd2ebc1bd"><div class="ttname"><a href="../../d0/da4/console_2ncurses_2view_8c.html#abba924acf2b89b9ec00e5efcd2ebc1bd">ARC_ConsoleView_SetCursorVisibility</a></div><div class="ttdeci">void ARC_ConsoleView_SetCursorVisibility(ARC_ConsoleView *view, uint8_t visibility)</div><div class="ttdoc">sets a visibility of the cursor with an ARC_ConsoleView</div><div class="ttdef"><b>Definition</b> <a href="#l00235">view.c:235</a></div></div>
|
||||
<div class="ttc" id="aconsole_2ncurses_2view_8c_html_acddd6c7caef3022824080453f8ea7c22"><div class="ttname"><a href="../../d0/da4/console_2ncurses_2view_8c.html#acddd6c7caef3022824080453f8ea7c22">ARC_ConsoleView_AddElement</a></div><div class="ttdeci">void ARC_ConsoleView_AddElement(ARC_ConsoleView *view, ARC_ConsoleElement *element)</div><div class="ttdoc">adds an ARC_ConsoleElement to the ARC_ConsoleView type</div><div class="ttdef"><b>Definition</b> <a href="#l00076">view.c:76</a></div></div>
|
||||
<div class="ttc" id="aconsole_2ncurses_2view_8c_html_acecfdaaa4c95a98fe5d6926cfdcc68e2"><div class="ttname"><a href="../../d0/da4/console_2ncurses_2view_8c.html#acecfdaaa4c95a98fe5d6926cfdcc68e2">ARC_ConsoleView_GetElement</a></div><div class="ttdeci">ARC_ConsoleElement * ARC_ConsoleView_GetElement(ARC_ConsoleView *view, uint32_t index)</div><div class="ttdoc">adds an ARC_ConsoleElement to the ARC_ConsoleView type</div><div class="ttdef"><b>Definition</b> <a href="#l00151">view.c:151</a></div></div>
|
||||
<div class="ttc" id="aconsole_2ncurses_2view_8c_html_add7a787887ba24554bfb8b454e79f8e1"><div class="ttname"><a href="../../d0/da4/console_2ncurses_2view_8c.html#add7a787887ba24554bfb8b454e79f8e1">ARC_ConsoleView_SetAttribute</a></div><div class="ttdeci">void ARC_ConsoleView_SetAttribute(ARC_ConsoleView *view, uint32_t attribute)</div><div class="ttdoc">sets a border on the ARC_ConsoleView</div><div class="ttdef"><b>Definition</b> <a href="#l00259">view.c:259</a></div></div>
|
||||
<div class="ttc" id="aconsole_2ncurses_2view_8c_html_af5f8bc0a9f61160a1363d5d2f47f68e3"><div class="ttname"><a href="../../d0/da4/console_2ncurses_2view_8c.html#af5f8bc0a9f61160a1363d5d2f47f68e3">ARC_ConsoleView_RenderRect</a></div><div class="ttdeci">void ARC_ConsoleView_RenderRect(ARC_ConsoleView *view, ARC_Rect bounds)</div><div class="ttdef"><b>Definition</b> <a href="#l00119">view.c:119</a></div></div>
|
||||
<div class="ttc" id="aconsole_2ncurses_2view_8c_html_af8bbe9829fe2173ad9e86bbd589a4745"><div class="ttname"><a href="../../d0/da4/console_2ncurses_2view_8c.html#af8bbe9829fe2173ad9e86bbd589a4745">ARC_ConsoleView_Clear</a></div><div class="ttdeci">void ARC_ConsoleView_Clear(ARC_ConsoleView *view)</div><div class="ttdef"><b>Definition</b> <a href="#l00084">view.c:84</a></div></div>
|
||||
<div class="ttc" id="aconsole_2view_8h_html"><div class="ttname"><a href="../../d6/d7e/console_2view_8h.html">view.h</a></div></div>
|
||||
<div class="ttc" id="aconsole_2view_8h_html_a113fd84b20e4f04a65e1d4c40ecfd5e4"><div class="ttname"><a href="../../d6/d7e/console_2view_8h.html#a113fd84b20e4f04a65e1d4c40ecfd5e4">ARC_CONSOLE_VIEW_BORDER_NONE</a></div><div class="ttdeci">#define ARC_CONSOLE_VIEW_BORDER_NONE</div><div class="ttdoc">border options</div><div class="ttdef"><b>Definition</b> <a href="../../d6/d7e/console_2view_8h_source.html#l00238">view.h:238</a></div></div>
|
||||
<div class="ttc" id="aconsole_2view_8h_html_a2a63d43486d880b44c150c0d012e7b80"><div class="ttname"><a href="../../d6/d7e/console_2view_8h.html#a2a63d43486d880b44c150c0d012e7b80">ARC_CONSOLE_VIEW_CURSOR_HIDDEN</a></div><div class="ttdeci">#define ARC_CONSOLE_VIEW_CURSOR_HIDDEN</div><div class="ttdoc">mouse options</div><div class="ttdef"><b>Definition</b> <a href="../../d6/d7e/console_2view_8h_source.html#l00224">view.h:224</a></div></div>
|
||||
<div class="ttc" id="aconsole_2view_8h_html_a2c2298814cd9d858a41bf6bb88e39825"><div class="ttname"><a href="../../d6/d7e/console_2view_8h.html#a2c2298814cd9d858a41bf6bb88e39825">ARC_CONSOLE_VIEW_CURSOR_VISIBLE</a></div><div class="ttdeci">#define ARC_CONSOLE_VIEW_CURSOR_VISIBLE</div><div class="ttdef"><b>Definition</b> <a href="../../d6/d7e/console_2view_8h_source.html#l00225">view.h:225</a></div></div>
|
||||
<div class="ttc" id="aconsole_2view_8h_html_a30d038b7af9bec1386f4e3f8a4eea31e"><div class="ttname"><a href="../../d6/d7e/console_2view_8h.html#a30d038b7af9bec1386f4e3f8a4eea31e">ARC_CONSOLE_VIEW_BORDER_DEFAULT</a></div><div class="ttdeci">#define ARC_CONSOLE_VIEW_BORDER_DEFAULT</div><div class="ttdef"><b>Definition</b> <a href="../../d6/d7e/console_2view_8h_source.html#l00239">view.h:239</a></div></div>
|
||||
<div class="ttc" id="aconsole_2view_8h_html_a770bc33ad78dca98b8ebf405324b8d52"><div class="ttname"><a href="../../d6/d7e/console_2view_8h.html#a770bc33ad78dca98b8ebf405324b8d52">ARC_CONSOLE_VIEW_ATTRIBUTE_REVERSE</a></div><div class="ttdeci">#define ARC_CONSOLE_VIEW_ATTRIBUTE_REVERSE</div><div class="ttdef"><b>Definition</b> <a href="../../d6/d7e/console_2view_8h_source.html#l00253">view.h:253</a></div></div>
|
||||
<div class="ttc" id="aconsole_2view_8h_html_a8dba2fb38e0f1864ae34a753831a0d20"><div class="ttname"><a href="../../d6/d7e/console_2view_8h.html#a8dba2fb38e0f1864ae34a753831a0d20">ARC_CONSOLE_VIEW_ATTRIBUTE_NONE</a></div><div class="ttdeci">#define ARC_CONSOLE_VIEW_ATTRIBUTE_NONE</div><div class="ttdoc">border options</div><div class="ttdef"><b>Definition</b> <a href="../../d6/d7e/console_2view_8h_source.html#l00252">view.h:252</a></div></div>
|
||||
<div class="ttc" id="aconsole_2view_8h_html_aadbaf18a3ac227a6a148fa68d7eec85d"><div class="ttname"><a href="../../d6/d7e/console_2view_8h.html#aadbaf18a3ac227a6a148fa68d7eec85d">ARC_ConsoleView_OverrideCharInputFn</a></div><div class="ttdeci">ARC_Bool(* ARC_ConsoleView_OverrideCharInputFn)(ARC_ConsoleKey *key, char *inputCStr, uint32_t *inputSize, uint32_t maxInputSize, void *userdata)</div><div class="ttdoc">callback to check char being read in and override functionality</div><div class="ttdef"><b>Definition</b> <a href="../../d6/d7e/console_2view_8h_source.html#l00209">view.h:209</a></div></div>
|
||||
<div class="ttc" id="aelement_8h_html"><div class="ttname"><a href="../../d4/dfe/element_8h.html">element.h</a></div></div>
|
||||
<div class="ttc" id="aerrno_8h_html"><div class="ttname"><a href="../../d8/dc2/errno_8h.html">errno.h</a></div></div>
|
||||
<div class="ttc" id="aerrno_8h_html_a5884aa8cc9b4e733345e49f93b54f75a"><div class="ttname"><a href="../../d8/dc2/errno_8h.html#a5884aa8cc9b4e733345e49f93b54f75a">arc_errno</a></div><div class="ttdeci">int32_t arc_errno</div><div class="ttdef"><b>Definition</b> <a href="../../d0/d90/errno_8c_source.html#l00005">errno.c:5</a></div></div>
|
||||
<div class="ttc" id="aerrno_8h_html_a9d88eecae5e1850a90ae502999ca5a73"><div class="ttname"><a href="../../d8/dc2/errno_8h.html#a9d88eecae5e1850a90ae502999ca5a73">ARC_ERRNO_OVERFLOW</a></div><div class="ttdeci">#define ARC_ERRNO_OVERFLOW</div><div class="ttdef"><b>Definition</b> <a href="../../d8/dc2/errno_8h_source.html#l00010">errno.h:10</a></div></div>
|
||||
<div class="ttc" id="ainclude_2arc_2console_2key_8h_html_a48d569403d14309ba282c17480222f14"><div class="ttname"><a href="../../d5/d9f/include_2arc_2console_2key_8h.html#a48d569403d14309ba282c17480222f14">ARC_ConsoleKey_Create</a></div><div class="ttdeci">void ARC_ConsoleKey_Create(ARC_ConsoleKey **consoleKey, ARC_ConsoleKey_Key *key)</div><div class="ttdef"><b>Definition</b> <a href="../../db/dfd/key_8c_source.html#l00007">key.c:7</a></div></div>
|
||||
<div class="ttc" id="apackages_2console_2ncurses_2key_8h_html"><div class="ttname"><a href="../../df/d5e/packages_2console_2ncurses_2key_8h.html">key.h</a></div></div>
|
||||
<div class="ttc" id="astring_8h_html"><div class="ttname"><a href="../../da/d66/string_8h.html">string.h</a></div></div>
|
||||
<div class="ttc" id="astring_8h_html_a709d2bb4b120569a636e0afdf5e8f1d0"><div class="ttname"><a href="../../da/d66/string_8h.html#a709d2bb4b120569a636e0afdf5e8f1d0">ARC_String_Create</a></div><div class="ttdeci">void ARC_String_Create(ARC_String **string, char *data, uint64_t length)</div><div class="ttdoc">creates ARC_String type</div><div class="ttdef"><b>Definition</b> <a href="../../d1/db0/string_8c_source.html#l00009">string.c:9</a></div></div>
|
||||
<div class="ttc" id="astructARC__ConsoleElement_html"><div class="ttname"><a href="../../db/db4/structARC__ConsoleElement.html">ARC_ConsoleElement</a></div><div class="ttdef"><b>Definition</b> <a href="../../d4/dfe/element_8h_source.html#l00027">element.h:27</a></div></div>
|
||||
<div class="ttc" id="astructARC__ConsoleElement_html_a5bb20afcff792af26450d50263604672"><div class="ttname"><a href="../../db/db4/structARC__ConsoleElement.html#a5bb20afcff792af26450d50263604672">ARC_ConsoleElement::renderFn</a></div><div class="ttdeci">ARC_ConsoleElement_RenderFn renderFn</div><div class="ttdef"><b>Definition</b> <a href="../../d4/dfe/element_8h_source.html#l00034">element.h:34</a></div></div>
|
||||
<div class="ttc" id="astructARC__ConsoleKeyType_html"><div class="ttname"><a href="../../dd/d01/structARC__ConsoleKeyType.html">ARC_ConsoleKeyType</a></div><div class="ttdef"><b>Definition</b> <a href="../../df/d5e/packages_2console_2ncurses_2key_8h_source.html#l00011">key.h:11</a></div></div>
|
||||
<div class="ttc" id="astructARC__ConsoleKeyType_html_a4cbff483c7ebaf170a90c8803da67ea2"><div class="ttname"><a href="../../dd/d01/structARC__ConsoleKeyType.html#a4cbff483c7ebaf170a90c8803da67ea2">ARC_ConsoleKeyType::key</a></div><div class="ttdeci">int32_t key</div><div class="ttdef"><b>Definition</b> <a href="../../df/d5e/packages_2console_2ncurses_2key_8h_source.html#l00012">key.h:12</a></div></div>
|
||||
<div class="ttc" id="astructARC__ConsoleView_html"><div class="ttname"><a href="../../d1/d4a/structARC__ConsoleView.html">ARC_ConsoleView</a></div><div class="ttdef"><b>Definition</b> <a href="#l00015">view.c:15</a></div></div>
|
||||
<div class="ttc" id="astructARC__ConsoleView_html_a33ec98286320c5e1fb63929775ee7430"><div class="ttname"><a href="../../d1/d4a/structARC__ConsoleView.html#a33ec98286320c5e1fb63929775ee7430">ARC_ConsoleView::elements</a></div><div class="ttdeci">ARC_Vector * elements</div><div class="ttdef"><b>Definition</b> <a href="#l00020">view.c:20</a></div></div>
|
||||
<div class="ttc" id="astructARC__ConsoleView_html_acfba50986749dc8c26d720110cb26239"><div class="ttname"><a href="../../d1/d4a/structARC__ConsoleView.html#acfba50986749dc8c26d720110cb26239">ARC_ConsoleView::echo</a></div><div class="ttdeci">ARC_Bool echo</div><div class="ttdef"><b>Definition</b> <a href="#l00018">view.c:18</a></div></div>
|
||||
<div class="ttc" id="astructARC__ConsoleView_html_af386230daac02d881dfdd08c31c96945"><div class="ttname"><a href="../../d1/d4a/structARC__ConsoleView.html#af386230daac02d881dfdd08c31c96945">ARC_ConsoleView::bounds</a></div><div class="ttdeci">ARC_Rect bounds</div><div class="ttdef"><b>Definition</b> <a href="#l00017">view.c:17</a></div></div>
|
||||
<div class="ttc" id="astructARC__ConsoleView_html_afc20eb6777e832652ebfe57ae9e80ac8"><div class="ttname"><a href="../../d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8">ARC_ConsoleView::window</a></div><div class="ttdeci">WINDOW * window</div><div class="ttdef"><b>Definition</b> <a href="#l00016">view.c:16</a></div></div>
|
||||
<div class="ttc" id="astructARC__Point_html"><div class="ttname"><a href="../../d2/d9d/structARC__Point.html">ARC_Point</a></div><div class="ttdef"><b>Definition</b> <a href="../../d2/d91/point_8h_source.html#l00010">point.h:10</a></div></div>
|
||||
<div class="ttc" id="astructARC__Point_html_a0b72b34f989c0351e5e64ba0b46bac8c"><div class="ttname"><a href="../../d2/d9d/structARC__Point.html#a0b72b34f989c0351e5e64ba0b46bac8c">ARC_Point::y</a></div><div class="ttdeci">int32_t y</div><div class="ttdef"><b>Definition</b> <a href="../../d2/d91/point_8h_source.html#l00012">point.h:12</a></div></div>
|
||||
<div class="ttc" id="astructARC__Point_html_aec135156ef69b46e71be21a02aad82e2"><div class="ttname"><a href="../../d2/d9d/structARC__Point.html#aec135156ef69b46e71be21a02aad82e2">ARC_Point::x</a></div><div class="ttdeci">int32_t x</div><div class="ttdef"><b>Definition</b> <a href="../../d2/d91/point_8h_source.html#l00011">point.h:11</a></div></div>
|
||||
<div class="ttc" id="astructARC__Rect_html"><div class="ttname"><a href="../../d0/d18/structARC__Rect.html">ARC_Rect</a></div><div class="ttdef"><b>Definition</b> <a href="../../d2/d14/math_2rectangle_8h_source.html#l00012">rectangle.h:12</a></div></div>
|
||||
<div class="ttc" id="astructARC__Rect_html_a0c6f8364cb183d5fd271f2f6d9a11128"><div class="ttname"><a href="../../d0/d18/structARC__Rect.html#a0c6f8364cb183d5fd271f2f6d9a11128">ARC_Rect::x</a></div><div class="ttdeci">int32_t x</div><div class="ttdef"><b>Definition</b> <a href="../../d2/d14/math_2rectangle_8h_source.html#l00013">rectangle.h:13</a></div></div>
|
||||
<div class="ttc" id="astructARC__Rect_html_a2ed00701687a538b3c7df0a6a47697dd"><div class="ttname"><a href="../../d0/d18/structARC__Rect.html#a2ed00701687a538b3c7df0a6a47697dd">ARC_Rect::w</a></div><div class="ttdeci">int32_t w</div><div class="ttdef"><b>Definition</b> <a href="../../d2/d14/math_2rectangle_8h_source.html#l00015">rectangle.h:15</a></div></div>
|
||||
<div class="ttc" id="astructARC__Rect_html_a33859912d1bcd75496e12de4e3a08a3c"><div class="ttname"><a href="../../d0/d18/structARC__Rect.html#a33859912d1bcd75496e12de4e3a08a3c">ARC_Rect::y</a></div><div class="ttdeci">int32_t y</div><div class="ttdef"><b>Definition</b> <a href="../../d2/d14/math_2rectangle_8h_source.html#l00014">rectangle.h:14</a></div></div>
|
||||
<div class="ttc" id="astructARC__Rect_html_a75f17b793a867572a521906a514a312b"><div class="ttname"><a href="../../d0/d18/structARC__Rect.html#a75f17b793a867572a521906a514a312b">ARC_Rect::h</a></div><div class="ttdeci">int32_t h</div><div class="ttdef"><b>Definition</b> <a href="../../d2/d14/math_2rectangle_8h_source.html#l00016">rectangle.h:16</a></div></div>
|
||||
<div class="ttc" id="astructARC__String_html"><div class="ttname"><a href="../../df/d06/structARC__String.html">ARC_String</a></div><div class="ttdoc">substring position within a string</div><div class="ttdef"><b>Definition</b> <a href="../../da/d66/string_8h_source.html#l00014">string.h:14</a></div></div>
|
||||
<div class="ttc" id="astructARC__String_html_afb2481930983f2d2b40dc650ec0f7f9e"><div class="ttname"><a href="../../df/d06/structARC__String.html#afb2481930983f2d2b40dc650ec0f7f9e">ARC_String::data</a></div><div class="ttdeci">char * data</div><div class="ttdef"><b>Definition</b> <a href="../../da/d66/string_8h_source.html#l00015">string.h:15</a></div></div>
|
||||
<div class="ttc" id="astructARC__Vector_html"><div class="ttname"><a href="../../de/dbd/structARC__Vector.html">ARC_Vector</a></div><div class="ttdoc">a private dynamic array type</div><div class="ttdef"><b>Definition</b> <a href="../../df/d6b/src_2std_2vector_8c_source.html#l00012">vector.c:12</a></div></div>
|
||||
<div class="ttc" id="avector_8h_html"><div class="ttname"><a href="../../d6/d68/vector_8h.html">vector.h</a></div></div>
|
||||
<div class="ttc" id="avector_8h_html_a1b01ba012d6fe295e8ce1446f9a6a3a0"><div class="ttname"><a href="../../d6/d68/vector_8h.html#a1b01ba012d6fe295e8ce1446f9a6a3a0">ARC_Vector_Get</a></div><div class="ttdeci">void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)</div><div class="ttdoc">gets an item from an ARC_Vector at a position index</div><div class="ttdef"><b>Definition</b> <a href="../../df/d6b/src_2std_2vector_8c_source.html#l00153">vector.c:153</a></div></div>
|
||||
<div class="ttc" id="avector_8h_html_a2a06c8c4c1fc1f99e08568ef92c186ae"><div class="ttname"><a href="../../d6/d68/vector_8h.html#a2a06c8c4c1fc1f99e08568ef92c186ae">ARC_Vector_Add</a></div><div class="ttdeci">void ARC_Vector_Add(ARC_Vector *vector, void *data)</div><div class="ttdoc">adds an item to an ARC_Vector</div><div class="ttdef"><b>Definition</b> <a href="../../df/d6b/src_2std_2vector_8c_source.html#l00070">vector.c:70</a></div></div>
|
||||
<div class="ttc" id="avector_8h_html_a605bb525f6df05ec88742237e1911e47"><div class="ttname"><a href="../../d6/d68/vector_8h.html#a605bb525f6df05ec88742237e1911e47">ARC_Vector_Destroy</a></div><div class="ttdeci">void ARC_Vector_Destroy(ARC_Vector *vector)</div><div class="ttdoc">destroys an ARC_Vector</div><div class="ttdef"><b>Definition</b> <a href="../../df/d6b/src_2std_2vector_8c_source.html#l00054">vector.c:54</a></div></div>
|
||||
<div class="ttc" id="avector_8h_html_ab05c0f7ebefe73729d3e2c2e6e528d00"><div class="ttname"><a href="../../d6/d68/vector_8h.html#ab05c0f7ebefe73729d3e2c2e6e528d00">ARC_Vector_RemoveIndex</a></div><div class="ttdeci">void ARC_Vector_RemoveIndex(ARC_Vector *vector, uint32_t index)</div><div class="ttdoc">removes an item from an ARC_Vector at an index</div><div class="ttdef"><b>Definition</b> <a href="../../df/d6b/src_2std_2vector_8c_source.html#l00110">vector.c:110</a></div></div>
|
||||
<div class="ttc" id="avector_8h_html_ac8de583c096684695a7d862c581b78f6"><div class="ttname"><a href="../../d6/d68/vector_8h.html#ac8de583c096684695a7d862c581b78f6">ARC_Vector_Create</a></div><div class="ttdeci">void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)</div><div class="ttdoc">creates an ARC_Vector which is an "expandable" array</div><div class="ttdef"><b>Definition</b> <a href="../../df/d6b/src_2std_2vector_8c_source.html#l00031">vector.c:31</a></div></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- HTML footer for doxygen 1.9.2-->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul><li class="navelem"><a class="el" href="../../dir_93501a11e921083efbd154e0cdff5f10.html">packages</a></li><li class="navelem"><a class="el" href="../../dir_55e5558cfbdbc80ca812673b2b436991.html">console</a></li><li class="navelem"><a class="el" href="../../dir_4eff4d556f090b5df86a0d7e570b70c4.html">ncurses</a></li><li class="navelem"><a class="el" href="../../d0/da4/console_2ncurses_2view_8c.html">view.c</a></li></ul>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
// script for doxygen 1.9.1
|
||||
$(function() {
|
||||
toggleButton = document.createElement('doxygen-awesome-dark-mode-toggle')
|
||||
toggleButton.title = "Toggle Light/Dark Mode"
|
||||
$(document).ready(function(){
|
||||
document.getElementById("MSearchBox").parentNode.appendChild(toggleButton)
|
||||
})
|
||||
$(window).resize(function(){
|
||||
document.getElementById("MSearchBox").parentNode.appendChild(toggleButton)
|
||||
})
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue