Files
discoverpixy/screen__filetest_8c.html
2015-06-08 11:04:50 +02:00

547 lines
77 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>discoverpixy: common/app/screen_filetest.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">discoverpixy
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_bdd9a5d540de89e9fe90efdfc6973a4f.html">common</a></li><li class="navelem"><a class="el" href="dir_99a8943037ff3844556e6a5d529fec0c.html">app</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a> </div>
<div class="headertitle">
<div class="title">screen_filetest.c File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="screen__filetest_8h_source.html">screen_filetest.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="button_8h_source.html">button.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="tft_8h_source.html">tft.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="filesystem_8h_source.html">filesystem.h</a>&quot;</code><br />
<code>#include &lt;stdlib.h&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for screen_filetest.c:</div>
<div class="dyncontent">
<div class="center"><img src="screen__filetest_8c__incl.png" border="0" usemap="#common_2app_2screen__filetest_8c" alt=""/></div>
<map name="common_2app_2screen__filetest_8c" id="common_2app_2screen__filetest_8c">
<area shape="rect" id="node2" href="screen__filetest_8h.html" title="screen_filetest.h" alt="" coords="5,80,123,107"/><area shape="rect" id="node6" href="button_8h.html" title="button.h" alt="" coords="147,80,216,107"/><area shape="rect" id="node9" href="tft_8h.html" title="tft.h" alt="" coords="226,155,270,181"/><area shape="rect" id="node10" href="filesystem_8h.html" title="filesystem.h" alt="" coords="294,155,386,181"/><area shape="rect" id="node3" href="screen_8h.html" title="screen.h" alt="" coords="32,155,104,181"/><area shape="rect" id="node7" href="touch_8h.html" title="touch.h" alt="" coords="137,155,202,181"/></map>
</div>
</div>
<p><a href="screen__filetest_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a26b5a87b61eb1cd0888fdfc12a91a6d7"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="screen__filetest_8c.html#a26b5a87b61eb1cd0888fdfc12a91a6d7">b_back_cb</a> (void *button)</td></tr>
<tr class="separator:a26b5a87b61eb1cd0888fdfc12a91a6d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54566a598cf7f2c507254c62a9d70223"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="screen__filetest_8c.html#a54566a598cf7f2c507254c62a9d70223">image_test</a> ()</td></tr>
<tr class="separator:a54566a598cf7f2c507254c62a9d70223"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3017cd14eca2b9e67a69e7ea559b5eaa"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="screen__filetest_8c.html#a3017cd14eca2b9e67a69e7ea559b5eaa">enter</a> (void *<a class="el" href="screen__calibrate_8c.html#a939fdd806f427cc8505ed817e28cce9d">screen</a>)</td></tr>
<tr class="separator:a3017cd14eca2b9e67a69e7ea559b5eaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd1409088e83cf2a8ba2cf96dd9b52f8"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="screen__filetest_8c.html#acd1409088e83cf2a8ba2cf96dd9b52f8">leave</a> (void *<a class="el" href="screen__calibrate_8c.html#a939fdd806f427cc8505ed817e28cce9d">screen</a>)</td></tr>
<tr class="separator:acd1409088e83cf2a8ba2cf96dd9b52f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e8f84ee8ff4bf827775c38ae6752509"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="screen__filetest_8c.html#a5e8f84ee8ff4bf827775c38ae6752509">update</a> (void *<a class="el" href="screen__calibrate_8c.html#a939fdd806f427cc8505ed817e28cce9d">screen</a>)</td></tr>
<tr class="separator:a5e8f84ee8ff4bf827775c38ae6752509"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab5ad1c15566c8fbc0cc49faf51d22176"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__screen.html#gaf7783b8728d6d218aa9e3b29eaf9689c">SCREEN_STRUCT</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filetest.html#gab5ad1c15566c8fbc0cc49faf51d22176">get_screen_filetest</a> ()</td></tr>
<tr class="separator:gab5ad1c15566c8fbc0cc49faf51d22176"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ae5d8f6a72bbdbe109bc151bfef8ac9a6"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html">BUTTON_STRUCT</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="screen__filetest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a></td></tr>
<tr class="separator:ae5d8f6a72bbdbe109bc151bfef8ac9a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a939fdd806f427cc8505ed817e28cce9d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__screen.html#gaf7783b8728d6d218aa9e3b29eaf9689c">SCREEN_STRUCT</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="screen__filetest_8c.html#a939fdd806f427cc8505ed817e28cce9d">screen</a></td></tr>
<tr class="separator:a939fdd806f427cc8505ed817e28cce9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a26b5a87b61eb1cd0888fdfc12a91a6d7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void b_back_cb </td>
<td>(</td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>button</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__filetest_8c_source.html#l00027">27</a> of file <a class="el" href="screen__filetest_8c_source.html">screen_filetest.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;{</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; <a class="code" href="group__screen.html#ga8e14bc7ee0214e2926965f9bdb54a866">gui_screen_back</a>();</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;}</div>
<div class="ttc" id="group__screen_html_ga8e14bc7ee0214e2926965f9bdb54a866"><div class="ttname"><a href="group__screen.html#ga8e14bc7ee0214e2926965f9bdb54a866">gui_screen_back</a></div><div class="ttdeci">bool gui_screen_back()</div><div class="ttdef"><b>Definition:</b> <a href="screen_8c_source.html#l00085">screen.c:85</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="screen__filetest_8c_a26b5a87b61eb1cd0888fdfc12a91a6d7_cgraph.png" border="0" usemap="#screen__filetest_8c_a26b5a87b61eb1cd0888fdfc12a91a6d7_cgraph" alt=""/></div>
<map name="screen__filetest_8c_a26b5a87b61eb1cd0888fdfc12a91a6d7_cgraph" id="screen__filetest_8c_a26b5a87b61eb1cd0888fdfc12a91a6d7_cgraph">
<area shape="rect" id="node2" href="group__screen.html#ga8e14bc7ee0214e2926965f9bdb54a866" title="gui_screen_back" alt="" coords="139,5,259,32"/></map>
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="screen__filetest_8c_a26b5a87b61eb1cd0888fdfc12a91a6d7_icgraph.png" border="0" usemap="#screen__filetest_8c_a26b5a87b61eb1cd0888fdfc12a91a6d7_icgraph" alt=""/></div>
<map name="screen__filetest_8c_a26b5a87b61eb1cd0888fdfc12a91a6d7_icgraph" id="screen__filetest_8c_a26b5a87b61eb1cd0888fdfc12a91a6d7_icgraph">
<area shape="rect" id="node2" href="screen__filetest_8c.html#a3017cd14eca2b9e67a69e7ea559b5eaa" title="enter" alt="" coords="139,5,189,32"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="a3017cd14eca2b9e67a69e7ea559b5eaa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void enter </td>
<td>(</td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>screen</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__filetest_8c_source.html#l00035">35</a> of file <a class="el" href="screen__filetest_8c_source.html">screen_filetest.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;{</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <a class="code" href="group__tft.html#ga6a2e3b3878ae5eea184d4c3ffe091b78">tft_clear</a>(<a class="code" href="group__tft.html#gacbaf0b6287f2d906af1e76051be37a87">HEX</a>(0xBABECD));</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="comment">//Back button</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <a class="code" href="screen__filetest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aedb5fdfe3c1d1a915b668ba7f3950753">x1</a> = 10; <span class="comment">//Start X of Button</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <a class="code" href="screen__filetest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#a47ada631c22a9d40348069145654f255">y1</a> = 200; <span class="comment">//Start Y of Button</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <a class="code" href="screen__filetest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#ac5bc000f8954f38b7a641a485a26bae7">x2</a> = <a class="code" href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a>; <span class="comment">//b_back.base.x1+160; //Auto Calculate X2 with String Width</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <a class="code" href="screen__filetest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aa377184ba406b3f0c4ac18c935378204">y2</a> = <a class="code" href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a>; <span class="comment">//Auto Calculate Y2 with String Height</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <a class="code" href="screen__filetest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aaf5a5af411fa69950e0b4415c8089c8b">txtcolor</a> = <a class="code" href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>; <span class="comment">//Set foreground color</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <a class="code" href="screen__filetest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aebb27fad2492ea7aa81895d0ede61fcf">bgcolor</a> = <a class="code" href="group__tft.html#gacbaf0b6287f2d906af1e76051be37a87">HEX</a>(0xAE1010); <span class="comment">//Set background color (Don&#39;t take 255 or 0 on at least one channel, to make shadows possible)</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <a class="code" href="screen__filetest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adeae49dfe3584e6df726fb4167cd1cf7">font</a> = 0; <span class="comment">//Select Font</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <a class="code" href="screen__filetest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a16343090e80c4472521560f30113d96c">text</a> = <span class="stringliteral">&quot;Back&quot;</span>; <span class="comment">//Set Text (For formatted strings take sprintf)</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <a class="code" href="screen__filetest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a269d23c8a60f8acdf9279642999ee6a9">callback</a> = <a class="code" href="screen__filetest_8c.html#a26b5a87b61eb1cd0888fdfc12a91a6d7">b_back_cb</a>; <span class="comment">//Call b_back_cb as Callback</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <a class="code" href="group__button.html#ga64d5d2aaff2c917e5d43e7ed849607de">gui_button_add</a>(&amp;<a class="code" href="screen__filetest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a>); <span class="comment">//Register Button (and run the callback from now on)</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <a class="code" href="group__tft.html#ga5022f91ea04919e698a79c0c309ba6f8">tft_draw_line</a>(10, 30, 310, 30, <a class="code" href="group__tft.html#ga7b3b25cba33b07c303f3060fe41887f6">BLACK</a>);</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <a class="code" href="group__tft.html#gabf54943131990b366ce6875a0e1925f6">tft_print_line</a>(10, 18, <a class="code" href="group__tft.html#ga79d10e672abb49ad63eeaa8aaef57c38">BLUE</a>, <a class="code" href="group__tft.html#ga6c54e72c6142d317114a29adbcbb24b6">TRANSPARENT</a>, 0, <span class="stringliteral">&quot;Name D H RO Date Time Size&quot;</span>);</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keywordtype">int</span> y = 33;</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <a class="code" href="struct_d_i_r_e_c_t_o_r_y___s_t_r_u_c_t.html">DIRECTORY_STRUCT</a>* dir = <a class="code" href="group__filesystem.html#ga8b1099cbd3464fbe64f2010f16d87101">filesystem_dir_open</a>(<span class="stringliteral">&quot;.&quot;</span>);</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="keywordflow">if</span> (dir == NULL) {</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; }</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; dir-&gt;<a class="code" href="struct_d_i_r_e_c_t_o_r_y___s_t_r_u_c_t.html#a256a3eb1c4d0a61a23ff722736ed18df">num_files</a>; i++) {</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <a class="code" href="struct_f_i_l_e___s_t_r_u_c_t.html">FILE_STRUCT</a>* file = &amp;(dir-&gt;<a class="code" href="struct_d_i_r_e_c_t_o_r_y___s_t_r_u_c_t.html#a87f6b6d5b8df736e7d52923a19131f86">files</a>[i]);</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <a class="code" href="group__tft.html#ga765c521ee1b01ab0c34449936500291b">tft_print_formatted</a>(10, y,</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; (file-&gt;<a class="code" href="struct_f_i_l_e___s_t_r_u_c_t.html#a3eb7d979a8d987e842e3c06d08b345c0">fattrib</a> &amp; <a class="code" href="group__filesystem.html#gga07e357318d9528f9d2df7e5c86c81a3ba9d0e592d6c03a8ea881767c87935c790">F_DIR</a>) ? <a class="code" href="group__tft.html#gacfbc006ea433ad708fdee3e82996e721">GREEN</a> : <a class="code" href="group__tft.html#ga8d23feea868a983c8c2b661e1e16972f">RED</a>,</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <a class="code" href="group__tft.html#ga6c54e72c6142d317114a29adbcbb24b6">TRANSPARENT</a>, 0, <span class="stringliteral">&quot;%-13s%c %c %s %02u%02u%02u %02u:%02u:%02u %u&quot;</span>,</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; file-&gt;<a class="code" href="struct_f_i_l_e___s_t_r_u_c_t.html#ae96bbe3347b319ee7bdbd1f2e2ba9f5b">fname</a>,</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; (file-&gt;<a class="code" href="struct_f_i_l_e___s_t_r_u_c_t.html#a3eb7d979a8d987e842e3c06d08b345c0">fattrib</a> &amp; <a class="code" href="group__filesystem.html#gga07e357318d9528f9d2df7e5c86c81a3ba9d0e592d6c03a8ea881767c87935c790">F_DIR</a>) ? <span class="charliteral">&#39;D&#39;</span> : <span class="charliteral">&#39; &#39;</span>,</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; (file-&gt;<a class="code" href="struct_f_i_l_e___s_t_r_u_c_t.html#a3eb7d979a8d987e842e3c06d08b345c0">fattrib</a> &amp; <a class="code" href="group__filesystem.html#gga07e357318d9528f9d2df7e5c86c81a3baa87f9e9b73e66d81563fe63aba76cc7d">F_HID</a>) ? <span class="charliteral">&#39;H&#39;</span> : <span class="charliteral">&#39; &#39;</span>,</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; (file-&gt;<a class="code" href="struct_f_i_l_e___s_t_r_u_c_t.html#a3eb7d979a8d987e842e3c06d08b345c0">fattrib</a> &amp; <a class="code" href="group__filesystem.html#gga07e357318d9528f9d2df7e5c86c81a3ba56340dd998fe228468cb60406dc3f5df">F_RDO</a>) ? <span class="stringliteral">&quot;R &quot;</span> : <span class="stringliteral">&quot;RW&quot;</span>,</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; file-&gt;<a class="code" href="struct_f_i_l_e___s_t_r_u_c_t.html#a87b927c3a2b9093be39307d2f1d47b61">fdate</a>.<a class="code" href="struct_f_i_l_e___d_a_t_e___s_t_r_u_c_t.html#a2ce67e633b6747257e9cfc74288fcc31">day</a>,</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; file-&gt;<a class="code" href="struct_f_i_l_e___s_t_r_u_c_t.html#a87b927c3a2b9093be39307d2f1d47b61">fdate</a>.<a class="code" href="struct_f_i_l_e___d_a_t_e___s_t_r_u_c_t.html#a1f902d56334cc3e0a86d4b08f34bfff6">month</a>,</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; (file-&gt;<a class="code" href="struct_f_i_l_e___s_t_r_u_c_t.html#a87b927c3a2b9093be39307d2f1d47b61">fdate</a>.<a class="code" href="struct_f_i_l_e___d_a_t_e___s_t_r_u_c_t.html#a2a7fd6ec9f3bf84d7c564990dcf0bfb8">year</a> + 1980) % 100,</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; file-&gt;<a class="code" href="struct_f_i_l_e___s_t_r_u_c_t.html#a708226ca737e39bed0dc978eb31e3730">ftime</a>.<a class="code" href="struct_f_i_l_e___t_i_m_e___s_t_r_u_c_t.html#a7f39b6fc12f0b04a38625ff3040dd30c">hour</a>,</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; file-&gt;<a class="code" href="struct_f_i_l_e___s_t_r_u_c_t.html#a708226ca737e39bed0dc978eb31e3730">ftime</a>.<a class="code" href="struct_f_i_l_e___t_i_m_e___s_t_r_u_c_t.html#a3e054086f983d0603a8919338354951b">min</a>,</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; file-&gt;<a class="code" href="struct_f_i_l_e___s_t_r_u_c_t.html#a708226ca737e39bed0dc978eb31e3730">ftime</a>.<a class="code" href="struct_f_i_l_e___t_i_m_e___s_t_r_u_c_t.html#a1bcccadb3a5a1a832dfe835818015058">sec</a> * 2,</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; file-&gt;<a class="code" href="struct_f_i_l_e___s_t_r_u_c_t.html#aa5092484dbc5fc29a229feee0eae1246">fsize</a>);</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; y += 14;</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; }</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <a class="code" href="group__filesystem.html#gab8001e040f37dc57b18e4155532b59ce">filesystem_dir_close</a>(dir);</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; y += 14;</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <a class="code" href="struct_f_i_l_e___h_a_n_d_l_e.html">FILE_HANDLE</a>* file = <a class="code" href="group__filesystem.html#gabd043128e80a4f0573b1360d921b046c">filesystem_file_open</a>(<span class="stringliteral">&quot;test.txt&quot;</span>);</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keywordflow">if</span> (file == NULL) {</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <a class="code" href="group__tft.html#gabf54943131990b366ce6875a0e1925f6">tft_print_line</a>(10, y, <a class="code" href="group__tft.html#ga79d10e672abb49ad63eeaa8aaef57c38">BLUE</a>, <a class="code" href="group__tft.html#ga6c54e72c6142d317114a29adbcbb24b6">TRANSPARENT</a>, 0, <span class="stringliteral">&quot;Could not open test.txt&quot;</span>);</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="keywordtype">char</span> buf [30];</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <span class="keywordtype">int</span> size = (file-&gt;<a class="code" href="struct_f_i_l_e___h_a_n_d_l_e.html#aa5092484dbc5fc29a229feee0eae1246">fsize</a> &gt; 30) ? 29 : file-&gt;<a class="code" href="struct_f_i_l_e___h_a_n_d_l_e.html#aa5092484dbc5fc29a229feee0eae1246">fsize</a> - 1;</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <a class="code" href="group__filesystem.html#gab08f51089a5ddbb470a1a36a9478dda4">FILE_STATUS</a> st = <a class="code" href="group__filesystem.html#ga9e7f715d0000e7b99e2b4732416a0221">filesystem_file_read</a>(file, buf, size);</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="keywordflow">if</span> (st == <a class="code" href="group__filesystem.html#ggab08f51089a5ddbb470a1a36a9478dda4ab16a72615f8613168ea14797c243fdfd">F_OK</a>) {</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; buf[file-&gt;<a class="code" href="struct_f_i_l_e___h_a_n_d_l_e.html#ae776c66ed7fc6d25948f2bb573ca2198">fpos</a>] = <span class="charliteral">&#39;\0&#39;</span>;</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <a class="code" href="group__tft.html#ga765c521ee1b01ab0c34449936500291b">tft_print_formatted</a>(10, y, <a class="code" href="group__tft.html#ga79d10e672abb49ad63eeaa8aaef57c38">BLUE</a>, <a class="code" href="group__tft.html#ga6c54e72c6142d317114a29adbcbb24b6">TRANSPARENT</a>, 0, <span class="stringliteral">&quot;test.txt contains \&quot;%s\&quot;&quot;</span>, buf);</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <span class="keywordtype">long</span> num = strtol(&amp;(buf[file-&gt;<a class="code" href="struct_f_i_l_e___h_a_n_d_l_e.html#ae776c66ed7fc6d25948f2bb573ca2198">fpos</a> - 4]), NULL, 0);</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; num++;</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; y += 14;</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="group__filesystem.html#gac447af479c334caa207d6c279571d8a2">filesystem_file_seek</a>(file, file-&gt;<a class="code" href="struct_f_i_l_e___h_a_n_d_l_e.html#ae776c66ed7fc6d25948f2bb573ca2198">fpos</a> - 4) != <a class="code" href="group__filesystem.html#ggab08f51089a5ddbb470a1a36a9478dda4ab16a72615f8613168ea14797c243fdfd">F_OK</a>) {</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <a class="code" href="group__tft.html#ga765c521ee1b01ab0c34449936500291b">tft_print_formatted</a>(10, y, <a class="code" href="group__tft.html#ga79d10e672abb49ad63eeaa8aaef57c38">BLUE</a>, <a class="code" href="group__tft.html#ga6c54e72c6142d317114a29adbcbb24b6">TRANSPARENT</a>, 0, <span class="stringliteral">&quot;Could not seek to %d&quot;</span>, file-&gt;<a class="code" href="struct_f_i_l_e___h_a_n_d_l_e.html#ae776c66ed7fc6d25948f2bb573ca2198">fpos</a> - 4);</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; sprintf(buf, <span class="stringliteral">&quot;%04d&quot;</span>, num);</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="group__filesystem.html#gae7124857f3ab32f6032ef129f2a80000">filesystem_file_write</a>(file, buf, 4) != <a class="code" href="group__filesystem.html#ggab08f51089a5ddbb470a1a36a9478dda4ab16a72615f8613168ea14797c243fdfd">F_OK</a>) {</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <a class="code" href="group__tft.html#ga765c521ee1b01ab0c34449936500291b">tft_print_formatted</a>(10, y, <a class="code" href="group__tft.html#ga79d10e672abb49ad63eeaa8aaef57c38">BLUE</a>, <a class="code" href="group__tft.html#ga6c54e72c6142d317114a29adbcbb24b6">TRANSPARENT</a>, 0, <span class="stringliteral">&quot;Could not write new number %d&quot;</span>, num);</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <a class="code" href="group__tft.html#ga765c521ee1b01ab0c34449936500291b">tft_print_formatted</a>(10, y, <a class="code" href="group__tft.html#ga79d10e672abb49ad63eeaa8aaef57c38">BLUE</a>, <a class="code" href="group__tft.html#ga6c54e72c6142d317114a29adbcbb24b6">TRANSPARENT</a>, 0, <span class="stringliteral">&quot;New number written %d&quot;</span>, num);</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; }</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; }</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <a class="code" href="group__tft.html#gabf54943131990b366ce6875a0e1925f6">tft_print_line</a>(10, y, <a class="code" href="group__tft.html#ga79d10e672abb49ad63eeaa8aaef57c38">BLUE</a>, <a class="code" href="group__tft.html#ga6c54e72c6142d317114a29adbcbb24b6">TRANSPARENT</a>, 0, <span class="stringliteral">&quot;Could not read from test.txt&quot;</span>);</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; }</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; }</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <a class="code" href="group__filesystem.html#ga0e6cc31bf4c889249e13254306994c2f">filesystem_file_close</a>(file);</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <a class="code" href="screen__filetest_8c.html#a54566a598cf7f2c507254c62a9d70223">image_test</a>();</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;}</div>
<div class="ttc" id="struct_b_u_t_t_o_n___s_t_r_u_c_t_html_a16343090e80c4472521560f30113d96c"><div class="ttname"><a href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a16343090e80c4472521560f30113d96c">BUTTON_STRUCT::text</a></div><div class="ttdeci">const char * text</div><div class="ttdoc">The label of the button. </div><div class="ttdef"><b>Definition:</b> <a href="button_8h_source.html#l00061">button.h:61</a></div></div>
<div class="ttc" id="screen__filetest_8c_html_ae5d8f6a72bbdbe109bc151bfef8ac9a6"><div class="ttname"><a href="screen__filetest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a></div><div class="ttdeci">static BUTTON_STRUCT b_back</div><div class="ttdef"><b>Definition:</b> <a href="screen__filetest_8c_source.html#l00025">screen_filetest.c:25</a></div></div>
<div class="ttc" id="struct_b_u_t_t_o_n___s_t_r_u_c_t_html_aaf5a5af411fa69950e0b4415c8089c8b"><div class="ttname"><a href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aaf5a5af411fa69950e0b4415c8089c8b">BUTTON_STRUCT::txtcolor</a></div><div class="ttdeci">uint16_t txtcolor</div><div class="ttdoc">The 16-bit text color. </div><div class="ttdef"><b>Definition:</b> <a href="button_8h_source.html#l00059">button.h:59</a></div></div>
<div class="ttc" id="group__button_html_ga0cc6f7717df9fbdc0f33efb88720a639"><div class="ttname"><a href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a></div><div class="ttdeci">#define AUTO</div><div class="ttdoc">Use this value instead of x2, y2 in the BUTTON_STRUCT to autocalculate the button width/height...</div><div class="ttdef"><b>Definition:</b> <a href="button_8h_source.html#l00065">button.h:65</a></div></div>
<div class="ttc" id="group__filesystem_html_gac447af479c334caa207d6c279571d8a2"><div class="ttname"><a href="group__filesystem.html#gac447af479c334caa207d6c279571d8a2">filesystem_file_seek</a></div><div class="ttdeci">FILE_STATUS filesystem_file_seek(FILE_HANDLE *handle, uint32_t offset)</div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8c_source.html#l00043">filesystem.c:43</a></div></div>
<div class="ttc" id="struct_f_i_l_e___h_a_n_d_l_e_html_aa5092484dbc5fc29a229feee0eae1246"><div class="ttname"><a href="struct_f_i_l_e___h_a_n_d_l_e.html#aa5092484dbc5fc29a229feee0eae1246">FILE_HANDLE::fsize</a></div><div class="ttdeci">uint32_t fsize</div><div class="ttdoc">The total file size in bytes. </div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8h_source.html#l00084">filesystem.h:84</a></div></div>
<div class="ttc" id="group__tft_html_ga5022f91ea04919e698a79c0c309ba6f8"><div class="ttname"><a href="group__tft.html#ga5022f91ea04919e698a79c0c309ba6f8">tft_draw_line</a></div><div class="ttdeci">void tft_draw_line(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t color)</div><div class="ttdef"><b>Definition:</b> <a href="tft_8c_source.html#l00050">tft.c:50</a></div></div>
<div class="ttc" id="struct_f_i_l_e___t_i_m_e___s_t_r_u_c_t_html_a1bcccadb3a5a1a832dfe835818015058"><div class="ttname"><a href="struct_f_i_l_e___t_i_m_e___s_t_r_u_c_t.html#a1bcccadb3a5a1a832dfe835818015058">FILE_TIME_STRUCT::sec</a></div><div class="ttdeci">unsigned sec</div><div class="ttdoc">second/2 (0..29) </div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8h_source.html#l00055">filesystem.h:55</a></div></div>
<div class="ttc" id="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t_html_a47ada631c22a9d40348069145654f255"><div class="ttname"><a href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#a47ada631c22a9d40348069145654f255">TOUCH_AREA_STRUCT::y1</a></div><div class="ttdeci">uint16_t y1</div><div class="ttdoc">Top Left Y-Coordinate of Area. </div><div class="ttdef"><b>Definition:</b> <a href="touch_8h_source.html#l00075">touch.h:75</a></div></div>
<div class="ttc" id="group__tft_html_ga765c521ee1b01ab0c34449936500291b"><div class="ttname"><a href="group__tft.html#ga765c521ee1b01ab0c34449936500291b">tft_print_formatted</a></div><div class="ttdeci">void tft_print_formatted(uint16_t x, uint16_t y, uint16_t color, uint16_t bgcolor, uint8_t font, const char *format,...)</div><div class="ttdef"><b>Definition:</b> <a href="tft_8c_source.html#l00111">tft.c:111</a></div></div>
<div class="ttc" id="group__button_html_ga64d5d2aaff2c917e5d43e7ed849607de"><div class="ttname"><a href="group__button.html#ga64d5d2aaff2c917e5d43e7ed849607de">gui_button_add</a></div><div class="ttdeci">bool gui_button_add(BUTTON_STRUCT *button)</div><div class="ttdef"><b>Definition:</b> <a href="button_8c_source.html#l00133">button.c:133</a></div></div>
<div class="ttc" id="group__tft_html_gabf54943131990b366ce6875a0e1925f6"><div class="ttname"><a href="group__tft.html#gabf54943131990b366ce6875a0e1925f6">tft_print_line</a></div><div class="ttdeci">void tft_print_line(uint16_t x, uint16_t y, uint16_t color, uint16_t bgcolor, uint8_t font, const char *text)</div><div class="ttdef"><b>Definition:</b> <a href="tft_8c_source.html#l00098">tft.c:98</a></div></div>
<div class="ttc" id="struct_f_i_l_e___s_t_r_u_c_t_html_a87b927c3a2b9093be39307d2f1d47b61"><div class="ttname"><a href="struct_f_i_l_e___s_t_r_u_c_t.html#a87b927c3a2b9093be39307d2f1d47b61">FILE_STRUCT::fdate</a></div><div class="ttdeci">FILE_DATE_STRUCT fdate</div><div class="ttdoc">Last modified date. </div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8h_source.html#l00063">filesystem.h:63</a></div></div>
<div class="ttc" id="struct_f_i_l_e___d_a_t_e___s_t_r_u_c_t_html_a2ce67e633b6747257e9cfc74288fcc31"><div class="ttname"><a href="struct_f_i_l_e___d_a_t_e___s_t_r_u_c_t.html#a2ce67e633b6747257e9cfc74288fcc31">FILE_DATE_STRUCT::day</a></div><div class="ttdeci">unsigned day</div><div class="ttdoc">day (1..31) </div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8h_source.html#l00046">filesystem.h:46</a></div></div>
<div class="ttc" id="struct_f_i_l_e___s_t_r_u_c_t_html_a3eb7d979a8d987e842e3c06d08b345c0"><div class="ttname"><a href="struct_f_i_l_e___s_t_r_u_c_t.html#a3eb7d979a8d987e842e3c06d08b345c0">FILE_STRUCT::fattrib</a></div><div class="ttdeci">uint8_t fattrib</div><div class="ttdoc">File/Directory Attributes. </div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8h_source.html#l00065">filesystem.h:65</a></div></div>
<div class="ttc" id="struct_f_i_l_e___h_a_n_d_l_e_html"><div class="ttname"><a href="struct_f_i_l_e___h_a_n_d_l_e.html">FILE_HANDLE</a></div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8h_source.html#l00081">filesystem.h:81</a></div></div>
<div class="ttc" id="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t_html_aedb5fdfe3c1d1a915b668ba7f3950753"><div class="ttname"><a href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aedb5fdfe3c1d1a915b668ba7f3950753">TOUCH_AREA_STRUCT::x1</a></div><div class="ttdeci">uint16_t x1</div><div class="ttdoc">Top Left X-Coordinate of Area. </div><div class="ttdef"><b>Definition:</b> <a href="touch_8h_source.html#l00074">touch.h:74</a></div></div>
<div class="ttc" id="group__tft_html_ga6c54e72c6142d317114a29adbcbb24b6"><div class="ttname"><a href="group__tft.html#ga6c54e72c6142d317114a29adbcbb24b6">TRANSPARENT</a></div><div class="ttdeci">#define TRANSPARENT</div><div class="ttdef"><b>Definition:</b> <a href="tft_8h_source.html#l00066">tft.h:66</a></div></div>
<div class="ttc" id="struct_b_u_t_t_o_n___s_t_r_u_c_t_html_aebb27fad2492ea7aa81895d0ede61fcf"><div class="ttname"><a href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aebb27fad2492ea7aa81895d0ede61fcf">BUTTON_STRUCT::bgcolor</a></div><div class="ttdeci">uint16_t bgcolor</div><div class="ttdoc">The 16-bit background color of the button. </div><div class="ttdef"><b>Definition:</b> <a href="button_8h_source.html#l00057">button.h:57</a></div></div>
<div class="ttc" id="struct_b_u_t_t_o_n___s_t_r_u_c_t_html_adf10d197299522577e67d366877bdd3f"><div class="ttname"><a href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">BUTTON_STRUCT::base</a></div><div class="ttdeci">TOUCH_AREA_STRUCT base</div><div class="ttdoc">Basic geometry of the button. You only need to set the x1, y1, x2, y2 members of this struct...</div><div class="ttdef"><b>Definition:</b> <a href="button_8h_source.html#l00056">button.h:56</a></div></div>
<div class="ttc" id="group__tft_html_gacbaf0b6287f2d906af1e76051be37a87"><div class="ttname"><a href="group__tft.html#gacbaf0b6287f2d906af1e76051be37a87">HEX</a></div><div class="ttdeci">#define HEX(h)</div><div class="ttdef"><b>Definition:</b> <a href="tft_8h_source.html#l00060">tft.h:60</a></div></div>
<div class="ttc" id="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t_html_aa377184ba406b3f0c4ac18c935378204"><div class="ttname"><a href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aa377184ba406b3f0c4ac18c935378204">TOUCH_AREA_STRUCT::y2</a></div><div class="ttdeci">uint16_t y2</div><div class="ttdoc">Bottom Right Y-Coordinate of Area. </div><div class="ttdef"><b>Definition:</b> <a href="touch_8h_source.html#l00077">touch.h:77</a></div></div>
<div class="ttc" id="group__filesystem_html_gabd043128e80a4f0573b1360d921b046c"><div class="ttname"><a href="group__filesystem.html#gabd043128e80a4f0573b1360d921b046c">filesystem_file_open</a></div><div class="ttdeci">FILE_HANDLE * filesystem_file_open(const char *filename)</div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8c_source.html#l00033">filesystem.c:33</a></div></div>
<div class="ttc" id="group__filesystem_html_ga0e6cc31bf4c889249e13254306994c2f"><div class="ttname"><a href="group__filesystem.html#ga0e6cc31bf4c889249e13254306994c2f">filesystem_file_close</a></div><div class="ttdeci">void filesystem_file_close(FILE_HANDLE *handle)</div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8c_source.html#l00038">filesystem.c:38</a></div></div>
<div class="ttc" id="struct_f_i_l_e___s_t_r_u_c_t_html_ae96bbe3347b319ee7bdbd1f2e2ba9f5b"><div class="ttname"><a href="struct_f_i_l_e___s_t_r_u_c_t.html#ae96bbe3347b319ee7bdbd1f2e2ba9f5b">FILE_STRUCT::fname</a></div><div class="ttdeci">char * fname</div><div class="ttdoc">File/Directory name. </div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8h_source.html#l00066">filesystem.h:66</a></div></div>
<div class="ttc" id="group__tft_html_ga6a2e3b3878ae5eea184d4c3ffe091b78"><div class="ttname"><a href="group__tft.html#ga6a2e3b3878ae5eea184d4c3ffe091b78">tft_clear</a></div><div class="ttdeci">void tft_clear(uint16_t color)</div><div class="ttdef"><b>Definition:</b> <a href="tft_8c_source.html#l00045">tft.c:45</a></div></div>
<div class="ttc" id="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t_html_ac5bc000f8954f38b7a641a485a26bae7"><div class="ttname"><a href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#ac5bc000f8954f38b7a641a485a26bae7">TOUCH_AREA_STRUCT::x2</a></div><div class="ttdeci">uint16_t x2</div><div class="ttdoc">Bottom Right X-Coordinate of Area. </div><div class="ttdef"><b>Definition:</b> <a href="touch_8h_source.html#l00076">touch.h:76</a></div></div>
<div class="ttc" id="struct_f_i_l_e___d_a_t_e___s_t_r_u_c_t_html_a2a7fd6ec9f3bf84d7c564990dcf0bfb8"><div class="ttname"><a href="struct_f_i_l_e___d_a_t_e___s_t_r_u_c_t.html#a2a7fd6ec9f3bf84d7c564990dcf0bfb8">FILE_DATE_STRUCT::year</a></div><div class="ttdeci">unsigned year</div><div class="ttdoc">year from 1980 (0..127) </div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8h_source.html#l00044">filesystem.h:44</a></div></div>
<div class="ttc" id="struct_d_i_r_e_c_t_o_r_y___s_t_r_u_c_t_html_a256a3eb1c4d0a61a23ff722736ed18df"><div class="ttname"><a href="struct_d_i_r_e_c_t_o_r_y___s_t_r_u_c_t.html#a256a3eb1c4d0a61a23ff722736ed18df">DIRECTORY_STRUCT::num_files</a></div><div class="ttdeci">uint16_t num_files</div><div class="ttdoc">Number of files/directories in this directory. </div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8h_source.html#l00074">filesystem.h:74</a></div></div>
<div class="ttc" id="struct_f_i_l_e___d_a_t_e___s_t_r_u_c_t_html_a1f902d56334cc3e0a86d4b08f34bfff6"><div class="ttname"><a href="struct_f_i_l_e___d_a_t_e___s_t_r_u_c_t.html#a1f902d56334cc3e0a86d4b08f34bfff6">FILE_DATE_STRUCT::month</a></div><div class="ttdeci">unsigned month</div><div class="ttdoc">month (1..12) </div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8h_source.html#l00045">filesystem.h:45</a></div></div>
<div class="ttc" id="group__tft_html_ga8d23feea868a983c8c2b661e1e16972f"><div class="ttname"><a href="group__tft.html#ga8d23feea868a983c8c2b661e1e16972f">RED</a></div><div class="ttdeci">#define RED</div><div class="ttdef"><b>Definition:</b> <a href="tft_8h_source.html#l00050">tft.h:50</a></div></div>
<div class="ttc" id="group__filesystem_html_gae7124857f3ab32f6032ef129f2a80000"><div class="ttname"><a href="group__filesystem.html#gae7124857f3ab32f6032ef129f2a80000">filesystem_file_write</a></div><div class="ttdeci">FILE_STATUS filesystem_file_write(FILE_HANDLE *handle, uint8_t *buf, uint32_t size)</div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8c_source.html#l00053">filesystem.c:53</a></div></div>
<div class="ttc" id="screen__filetest_8c_html_a26b5a87b61eb1cd0888fdfc12a91a6d7"><div class="ttname"><a href="screen__filetest_8c.html#a26b5a87b61eb1cd0888fdfc12a91a6d7">b_back_cb</a></div><div class="ttdeci">static void b_back_cb(void *button)</div><div class="ttdef"><b>Definition:</b> <a href="screen__filetest_8c_source.html#l00027">screen_filetest.c:27</a></div></div>
<div class="ttc" id="group__tft_html_ga87b537f5fa5c109d3c05c13d6b18f382"><div class="ttname"><a href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a></div><div class="ttdeci">#define WHITE</div><div class="ttdef"><b>Definition:</b> <a href="tft_8h_source.html#l00053">tft.h:53</a></div></div>
<div class="ttc" id="struct_f_i_l_e___t_i_m_e___s_t_r_u_c_t_html_a3e054086f983d0603a8919338354951b"><div class="ttname"><a href="struct_f_i_l_e___t_i_m_e___s_t_r_u_c_t.html#a3e054086f983d0603a8919338354951b">FILE_TIME_STRUCT::min</a></div><div class="ttdeci">unsigned min</div><div class="ttdoc">minute (0..59 </div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8h_source.html#l00054">filesystem.h:54</a></div></div>
<div class="ttc" id="struct_d_i_r_e_c_t_o_r_y___s_t_r_u_c_t_html"><div class="ttname"><a href="struct_d_i_r_e_c_t_o_r_y___s_t_r_u_c_t.html">DIRECTORY_STRUCT</a></div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8h_source.html#l00072">filesystem.h:72</a></div></div>
<div class="ttc" id="struct_f_i_l_e___h_a_n_d_l_e_html_ae776c66ed7fc6d25948f2bb573ca2198"><div class="ttname"><a href="struct_f_i_l_e___h_a_n_d_l_e.html#ae776c66ed7fc6d25948f2bb573ca2198">FILE_HANDLE::fpos</a></div><div class="ttdeci">uint32_t fpos</div><div class="ttdoc">The current byte-position in the file. </div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8h_source.html#l00083">filesystem.h:83</a></div></div>
<div class="ttc" id="group__filesystem_html_gga07e357318d9528f9d2df7e5c86c81a3baa87f9e9b73e66d81563fe63aba76cc7d"><div class="ttname"><a href="group__filesystem.html#gga07e357318d9528f9d2df7e5c86c81a3baa87f9e9b73e66d81563fe63aba76cc7d">F_HID</a></div><div class="ttdoc">File is hidden. </div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8h_source.html#l00034">filesystem.h:34</a></div></div>
<div class="ttc" id="struct_f_i_l_e___t_i_m_e___s_t_r_u_c_t_html_a7f39b6fc12f0b04a38625ff3040dd30c"><div class="ttname"><a href="struct_f_i_l_e___t_i_m_e___s_t_r_u_c_t.html#a7f39b6fc12f0b04a38625ff3040dd30c">FILE_TIME_STRUCT::hour</a></div><div class="ttdeci">unsigned hour</div><div class="ttdoc">hour (0..23) </div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8h_source.html#l00053">filesystem.h:53</a></div></div>
<div class="ttc" id="group__filesystem_html_ggab08f51089a5ddbb470a1a36a9478dda4ab16a72615f8613168ea14797c243fdfd"><div class="ttname"><a href="group__filesystem.html#ggab08f51089a5ddbb470a1a36a9478dda4ab16a72615f8613168ea14797c243fdfd">F_OK</a></div><div class="ttdoc">Everything ok. </div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8h_source.html#l00091">filesystem.h:91</a></div></div>
<div class="ttc" id="struct_d_i_r_e_c_t_o_r_y___s_t_r_u_c_t_html_a87f6b6d5b8df736e7d52923a19131f86"><div class="ttname"><a href="struct_d_i_r_e_c_t_o_r_y___s_t_r_u_c_t.html#a87f6b6d5b8df736e7d52923a19131f86">DIRECTORY_STRUCT::files</a></div><div class="ttdeci">FILE_STRUCT * files</div><div class="ttdoc">An array with num_files FILE_STRUCT entries. </div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8h_source.html#l00075">filesystem.h:75</a></div></div>
<div class="ttc" id="struct_f_i_l_e___s_t_r_u_c_t_html"><div class="ttname"><a href="struct_f_i_l_e___s_t_r_u_c_t.html">FILE_STRUCT</a></div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8h_source.html#l00061">filesystem.h:61</a></div></div>
<div class="ttc" id="group__filesystem_html_ga8b1099cbd3464fbe64f2010f16d87101"><div class="ttname"><a href="group__filesystem.html#ga8b1099cbd3464fbe64f2010f16d87101">filesystem_dir_open</a></div><div class="ttdeci">DIRECTORY_STRUCT * filesystem_dir_open(const char *path)</div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8c_source.html#l00023">filesystem.c:23</a></div></div>
<div class="ttc" id="group__tft_html_ga79d10e672abb49ad63eeaa8aaef57c38"><div class="ttname"><a href="group__tft.html#ga79d10e672abb49ad63eeaa8aaef57c38">BLUE</a></div><div class="ttdeci">#define BLUE</div><div class="ttdef"><b>Definition:</b> <a href="tft_8h_source.html#l00052">tft.h:52</a></div></div>
<div class="ttc" id="group__filesystem_html_gga07e357318d9528f9d2df7e5c86c81a3ba9d0e592d6c03a8ea881767c87935c790"><div class="ttname"><a href="group__filesystem.html#gga07e357318d9528f9d2df7e5c86c81a3ba9d0e592d6c03a8ea881767c87935c790">F_DIR</a></div><div class="ttdoc">It&#39;s a directory and not a file. </div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8h_source.html#l00036">filesystem.h:36</a></div></div>
<div class="ttc" id="group__filesystem_html_gga07e357318d9528f9d2df7e5c86c81a3ba56340dd998fe228468cb60406dc3f5df"><div class="ttname"><a href="group__filesystem.html#gga07e357318d9528f9d2df7e5c86c81a3ba56340dd998fe228468cb60406dc3f5df">F_RDO</a></div><div class="ttdoc">File is readonly. You cannot write to it. </div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8h_source.html#l00033">filesystem.h:33</a></div></div>
<div class="ttc" id="struct_b_u_t_t_o_n___s_t_r_u_c_t_html_a269d23c8a60f8acdf9279642999ee6a9"><div class="ttname"><a href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a269d23c8a60f8acdf9279642999ee6a9">BUTTON_STRUCT::callback</a></div><div class="ttdeci">BUTTON_CALLBACK callback</div><div class="ttdoc">Callback which is executed when the button is pressed. </div><div class="ttdef"><b>Definition:</b> <a href="button_8h_source.html#l00058">button.h:58</a></div></div>
<div class="ttc" id="struct_b_u_t_t_o_n___s_t_r_u_c_t_html_adeae49dfe3584e6df726fb4167cd1cf7"><div class="ttname"><a href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adeae49dfe3584e6df726fb4167cd1cf7">BUTTON_STRUCT::font</a></div><div class="ttdeci">uint8_t font</div><div class="ttdoc">The number of the font to use. </div><div class="ttdef"><b>Definition:</b> <a href="button_8h_source.html#l00060">button.h:60</a></div></div>
<div class="ttc" id="group__filesystem_html_gab08f51089a5ddbb470a1a36a9478dda4"><div class="ttname"><a href="group__filesystem.html#gab08f51089a5ddbb470a1a36a9478dda4">FILE_STATUS</a></div><div class="ttdeci">FILE_STATUS</div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8h_source.html#l00090">filesystem.h:90</a></div></div>
<div class="ttc" id="group__tft_html_gacfbc006ea433ad708fdee3e82996e721"><div class="ttname"><a href="group__tft.html#gacfbc006ea433ad708fdee3e82996e721">GREEN</a></div><div class="ttdeci">#define GREEN</div><div class="ttdef"><b>Definition:</b> <a href="tft_8h_source.html#l00051">tft.h:51</a></div></div>
<div class="ttc" id="group__filesystem_html_gab8001e040f37dc57b18e4155532b59ce"><div class="ttname"><a href="group__filesystem.html#gab8001e040f37dc57b18e4155532b59ce">filesystem_dir_close</a></div><div class="ttdeci">void filesystem_dir_close(DIRECTORY_STRUCT *dir)</div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8c_source.html#l00028">filesystem.c:28</a></div></div>
<div class="ttc" id="screen__filetest_8c_html_a54566a598cf7f2c507254c62a9d70223"><div class="ttname"><a href="screen__filetest_8c.html#a54566a598cf7f2c507254c62a9d70223">image_test</a></div><div class="ttdeci">static void image_test()</div><div class="ttdef"><b>Definition:</b> <a href="screen__filetest_8c_source.html#l00146">screen_filetest.c:146</a></div></div>
<div class="ttc" id="struct_f_i_l_e___s_t_r_u_c_t_html_a708226ca737e39bed0dc978eb31e3730"><div class="ttname"><a href="struct_f_i_l_e___s_t_r_u_c_t.html#a708226ca737e39bed0dc978eb31e3730">FILE_STRUCT::ftime</a></div><div class="ttdeci">FILE_TIME_STRUCT ftime</div><div class="ttdoc">Last modified time. </div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8h_source.html#l00064">filesystem.h:64</a></div></div>
<div class="ttc" id="group__filesystem_html_ga9e7f715d0000e7b99e2b4732416a0221"><div class="ttname"><a href="group__filesystem.html#ga9e7f715d0000e7b99e2b4732416a0221">filesystem_file_read</a></div><div class="ttdeci">FILE_STATUS filesystem_file_read(FILE_HANDLE *handle, uint8_t *buf, uint32_t size)</div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8c_source.html#l00048">filesystem.c:48</a></div></div>
<div class="ttc" id="group__tft_html_ga7b3b25cba33b07c303f3060fe41887f6"><div class="ttname"><a href="group__tft.html#ga7b3b25cba33b07c303f3060fe41887f6">BLACK</a></div><div class="ttdeci">#define BLACK</div><div class="ttdef"><b>Definition:</b> <a href="tft_8h_source.html#l00054">tft.h:54</a></div></div>
<div class="ttc" id="struct_f_i_l_e___s_t_r_u_c_t_html_aa5092484dbc5fc29a229feee0eae1246"><div class="ttname"><a href="struct_f_i_l_e___s_t_r_u_c_t.html#aa5092484dbc5fc29a229feee0eae1246">FILE_STRUCT::fsize</a></div><div class="ttdeci">uint32_t fsize</div><div class="ttdoc">File size in bytes. 0 for directories. </div><div class="ttdef"><b>Definition:</b> <a href="filesystem_8h_source.html#l00062">filesystem.h:62</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="screen__filetest_8c_a3017cd14eca2b9e67a69e7ea559b5eaa_cgraph.png" border="0" usemap="#screen__filetest_8c_a3017cd14eca2b9e67a69e7ea559b5eaa_cgraph" alt=""/></div>
<map name="screen__filetest_8c_a3017cd14eca2b9e67a69e7ea559b5eaa_cgraph" id="screen__filetest_8c_a3017cd14eca2b9e67a69e7ea559b5eaa_cgraph">
<area shape="rect" id="node2" href="group__tft.html#ga6a2e3b3878ae5eea184d4c3ffe091b78" title="tft_clear" alt="" coords="140,5,208,32"/><area shape="rect" id="node4" href="screen__filetest_8c.html#a26b5a87b61eb1cd0888fdfc12a91a6d7" title="b_back_cb" alt="" coords="131,56,217,83"/><area shape="rect" id="node6" href="group__button.html#ga64d5d2aaff2c917e5d43e7ed849607de" title="gui_button_add" alt="" coords="119,309,229,336"/><area shape="rect" id="node14" href="group__tft.html#ga5022f91ea04919e698a79c0c309ba6f8" title="tft_draw_line" alt="" coords="517,157,612,184"/><area shape="rect" id="node19" href="group__tft.html#gabf54943131990b366ce6875a0e1925f6" title="tft_print_line" alt="" coords="519,461,611,488"/><area shape="rect" id="node23" href="group__filesystem.html#ga8b1099cbd3464fbe64f2010f16d87101" title="filesystem_dir_open" alt="" coords="105,512,243,539"/><area shape="rect" id="node25" href="group__tft.html#ga765c521ee1b01ab0c34449936500291b" title="tft_print_formatted" alt="" coords="111,563,237,589"/><area shape="rect" id="node26" href="group__filesystem.html#gab8001e040f37dc57b18e4155532b59ce" title="filesystem_dir_close" alt="" coords="104,613,244,640"/><area shape="rect" id="node28" href="group__filesystem.html#gabd043128e80a4f0573b1360d921b046c" title="filesystem_file_open" alt="" coords="495,836,634,863"/><area shape="rect" id="node30" href="group__filesystem.html#ga9e7f715d0000e7b99e2b4732416a0221" title="filesystem_file_read" alt="" coords="497,941,633,968"/><area shape="rect" id="node32" href="group__filesystem.html#gac447af479c334caa207d6c279571d8a2" title="filesystem_file_seek" alt="" coords="495,992,634,1019"/><area shape="rect" id="node34" href="group__filesystem.html#gae7124857f3ab32f6032ef129f2a80000" title="filesystem_file_write" alt="" coords="105,668,243,695"/><area shape="rect" id="node36" href="group__filesystem.html#ga0e6cc31bf4c889249e13254306994c2f" title="filesystem_file_close" alt="" coords="493,1051,636,1077"/><area shape="rect" id="node38" href="screen__filetest_8c.html#a54566a598cf7f2c507254c62a9d70223" title="image_test" alt="" coords="131,756,217,783"/><area shape="rect" id="node3" href="group__ll__tft.html#ga74b49691a101619b939c085ff607a582" title="ll_tft_clear" alt="" coords="328,5,409,32"/><area shape="rect" id="node5" href="group__screen.html#ga8e14bc7ee0214e2926965f9bdb54a866" title="gui_screen_back" alt="" coords="309,56,429,83"/><area shape="rect" id="node7" href="group__touch.html#gad32e5d122ec3f5f88bc6b2d9f4a629f8" title="touch_have_empty" alt="" coords="303,259,434,285"/><area shape="rect" id="node8" href="group__tft.html#ga7e99287b1e6b844f6867c63400959ffc" title="tft_font_width" alt="" coords="515,411,614,437"/><area shape="rect" id="node10" href="group__tft.html#gaea9f6a88da91949befe52cd4ed000c5d" title="tft_font_height" alt="" coords="513,360,616,387"/><area shape="rect" id="node12" href="button_8c.html#a7dca41e6afa418abaf2d471acac9b649" title="buttons_cb" alt="" coords="325,157,412,184"/><area shape="rect" id="node16" href="group__button.html#ga6da1e251bad09d29fbb3b3f405689ab1" title="gui_button_redraw" alt="" coords="305,309,432,336"/><area shape="rect" id="node22" href="group__touch.html#ga3adc36f55b7475b3f652c38c0e23d741" title="touch_register_area" alt="" coords="301,208,437,235"/><area shape="rect" id="node9" href="group__ll__tft.html#ga3639ec94b2239cc02b3c47a14f6637a3" title="ll_tft_font_width" alt="" coords="705,411,815,437"/><area shape="rect" id="node11" href="group__ll__tft.html#ga8dbc8b40717be527e6f1c5a2cfc72aeb" title="ll_tft_font_height" alt="" coords="702,360,818,387"/><area shape="rect" id="node13" href="button_8c.html#a05bb88dac6f60063eae2bb67dda1f4e8" title="calculate_shadows" alt="" coords="499,233,631,260"/><area shape="rect" id="node15" href="group__ll__tft.html#ga2560737bf118275e6ce728f6dce1e83f" title="ll_tft_draw_line" alt="" coords="707,157,813,184"/><area shape="rect" id="node17" href="group__tft.html#ga781855ab93845ce326dfca7c099259c6" title="tft_fill_rectangle" alt="" coords="509,309,621,336"/><area shape="rect" id="node18" href="group__ll__tft.html#ga0111ae5623214d3d466b2b24598f303f" title="ll_tft_fill_rectangle" alt="" coords="697,309,823,336"/><area shape="rect" id="node20" href="group__ll__tft.html#gaf4b0b73ab01e1dc300ae65dc0ac029b6" title="ll_tft_num_fonts" alt="" coords="703,512,817,539"/><area shape="rect" id="node21" href="group__ll__tft.html#ga408570a2b70769255924792ce189f2c1" title="ll_tft_draw_char" alt="" coords="704,461,816,488"/><area shape="rect" id="node24" href="group__ll__filesystem.html#ga572cb127d4e8affa9701d8562397389e" title="ll_filesystem_dir_open" alt="" coords="293,512,444,539"/><area shape="rect" id="node27" href="group__ll__filesystem.html#ga43292876112535a7cf9bb26201ed8096" title="ll_filesystem_dir_close" alt="" coords="292,613,445,640"/><area shape="rect" id="node29" href="group__ll__filesystem.html#ga61e4a1cdb3435031c3a9df014ab21d08" title="ll_filesystem_file_open" alt="" coords="684,836,836,863"/><area shape="rect" id="node31" href="group__ll__filesystem.html#ga8826f1d0e79cc734ea38315e5516f109" title="ll_filesystem_file_read" alt="" coords="685,941,835,968"/><area shape="rect" id="node33" href="group__ll__filesystem.html#ga27b21c519c928bc7767fbdcbb9209148" title="ll_filesystem_file_seek" alt="" coords="684,992,836,1019"/><area shape="rect" id="node35" href="group__ll__filesystem.html#gab7ce3131ebbf7c556c9ebeea312fce02" title="ll_filesystem_file\l_write" alt="" coords="310,665,427,706"/><area shape="rect" id="node37" href="group__ll__filesystem.html#ga847113d1c2bffa87807991e2c047bd17" title="ll_filesystem_file\l_close" alt="" coords="701,1043,819,1085"/><area shape="rect" id="node39" href="group__tft.html#gab2955e780414d138b9f90dc6a533b6b8" title="tft_draw_bitmap_file\l_unscaled" alt="" coords="301,883,437,925"/><area shape="rect" id="node42" href="group__tft.html#gab5f517d9bf0420872e78b85b37ff30a5" title="tft_draw_rectangle" alt="" coords="305,781,432,808"/><area shape="rect" id="node40" href="group__tft.html#ga82f9b498c57296310f0dfdaa3d7928ac" title="tft_draw_pixel" alt="" coords="514,891,615,917"/><area shape="rect" id="node41" href="group__ll__tft.html#gad219f39d734f774eb4f5390b5f9f8309" title="ll_tft_draw_pixel" alt="" coords="703,891,817,917"/><area shape="rect" id="node43" href="group__ll__tft.html#ga3a0826993525194c868cc435738dd31e" title="ll_tft_draw_rectangle" alt="" coords="495,781,635,808"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="a54566a598cf7f2c507254c62a9d70223"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void image_test </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__filetest_8c_source.html#l00146">146</a> of file <a class="el" href="screen__filetest_8c_source.html">screen_filetest.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;{</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <span class="keywordflow">if</span> (!<a class="code" href="group__tft.html#gab2955e780414d138b9f90dc6a533b6b8">tft_draw_bitmap_file_unscaled</a>(250, 170, <span class="stringliteral">&quot;cpu.bmp&quot;</span>)) {</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <a class="code" href="group__tft.html#gabf54943131990b366ce6875a0e1925f6">tft_print_line</a>(10, 180, <a class="code" href="group__tft.html#ga79d10e672abb49ad63eeaa8aaef57c38">BLUE</a>, <a class="code" href="group__tft.html#ga6c54e72c6142d317114a29adbcbb24b6">TRANSPARENT</a>, 0, <span class="stringliteral">&quot;Could not open cpu.bmp&quot;</span>);</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; }</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <a class="code" href="group__tft.html#gab5f517d9bf0420872e78b85b37ff30a5">tft_draw_rectangle</a>(250 - 1, 170 - 1, 250 - 1 + 64, 170 - 1 + 64, <a class="code" href="group__tft.html#ga7b3b25cba33b07c303f3060fe41887f6">BLACK</a>);</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;}</div>
<div class="ttc" id="group__tft_html_gabf54943131990b366ce6875a0e1925f6"><div class="ttname"><a href="group__tft.html#gabf54943131990b366ce6875a0e1925f6">tft_print_line</a></div><div class="ttdeci">void tft_print_line(uint16_t x, uint16_t y, uint16_t color, uint16_t bgcolor, uint8_t font, const char *text)</div><div class="ttdef"><b>Definition:</b> <a href="tft_8c_source.html#l00098">tft.c:98</a></div></div>
<div class="ttc" id="group__tft_html_ga6c54e72c6142d317114a29adbcbb24b6"><div class="ttname"><a href="group__tft.html#ga6c54e72c6142d317114a29adbcbb24b6">TRANSPARENT</a></div><div class="ttdeci">#define TRANSPARENT</div><div class="ttdef"><b>Definition:</b> <a href="tft_8h_source.html#l00066">tft.h:66</a></div></div>
<div class="ttc" id="group__tft_html_gab2955e780414d138b9f90dc6a533b6b8"><div class="ttname"><a href="group__tft.html#gab2955e780414d138b9f90dc6a533b6b8">tft_draw_bitmap_file_unscaled</a></div><div class="ttdeci">bool tft_draw_bitmap_file_unscaled(uint16_t x, uint16_t y, const char *filename)</div><div class="ttdef"><b>Definition:</b> <a href="tft_8c_source.html#l00123">tft.c:123</a></div></div>
<div class="ttc" id="group__tft_html_gab5f517d9bf0420872e78b85b37ff30a5"><div class="ttname"><a href="group__tft.html#gab5f517d9bf0420872e78b85b37ff30a5">tft_draw_rectangle</a></div><div class="ttdeci">void tft_draw_rectangle(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t color)</div><div class="ttdef"><b>Definition:</b> <a href="tft_8c_source.html#l00061">tft.c:61</a></div></div>
<div class="ttc" id="group__tft_html_ga79d10e672abb49ad63eeaa8aaef57c38"><div class="ttname"><a href="group__tft.html#ga79d10e672abb49ad63eeaa8aaef57c38">BLUE</a></div><div class="ttdeci">#define BLUE</div><div class="ttdef"><b>Definition:</b> <a href="tft_8h_source.html#l00052">tft.h:52</a></div></div>
<div class="ttc" id="group__tft_html_ga7b3b25cba33b07c303f3060fe41887f6"><div class="ttname"><a href="group__tft.html#ga7b3b25cba33b07c303f3060fe41887f6">BLACK</a></div><div class="ttdeci">#define BLACK</div><div class="ttdef"><b>Definition:</b> <a href="tft_8h_source.html#l00054">tft.h:54</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="screen__filetest_8c_a54566a598cf7f2c507254c62a9d70223_cgraph.png" border="0" usemap="#screen__filetest_8c_a54566a598cf7f2c507254c62a9d70223_cgraph" alt=""/></div>
<map name="screen__filetest_8c_a54566a598cf7f2c507254c62a9d70223_cgraph" id="screen__filetest_8c_a54566a598cf7f2c507254c62a9d70223_cgraph">
<area shape="rect" id="node2" href="group__tft.html#gab2955e780414d138b9f90dc6a533b6b8" title="tft_draw_bitmap_file\l_unscaled" alt="" coords="140,133,276,174"/><area shape="rect" id="node13" href="group__tft.html#gabf54943131990b366ce6875a0e1925f6" title="tft_print_line" alt="" coords="162,317,254,344"/><area shape="rect" id="node17" href="group__tft.html#gab5f517d9bf0420872e78b85b37ff30a5" title="tft_draw_rectangle" alt="" coords="145,393,271,420"/><area shape="rect" id="node3" href="group__filesystem.html#gabd043128e80a4f0573b1360d921b046c" title="filesystem_file_open" alt="" coords="326,8,465,35"/><area shape="rect" id="node5" href="group__filesystem.html#ga9e7f715d0000e7b99e2b4732416a0221" title="filesystem_file_read" alt="" coords="327,60,463,87"/><area shape="rect" id="node7" href="group__filesystem.html#ga0e6cc31bf4c889249e13254306994c2f" title="filesystem_file_close" alt="" coords="324,115,467,141"/><area shape="rect" id="node9" href="group__filesystem.html#gac447af479c334caa207d6c279571d8a2" title="filesystem_file_seek" alt="" coords="326,165,465,192"/><area shape="rect" id="node11" href="group__tft.html#ga82f9b498c57296310f0dfdaa3d7928ac" title="tft_draw_pixel" alt="" coords="345,216,446,243"/><area shape="rect" id="node4" href="group__ll__filesystem.html#ga61e4a1cdb3435031c3a9df014ab21d08" title="ll_filesystem_file_open" alt="" coords="515,5,667,32"/><area shape="rect" id="node6" href="group__ll__filesystem.html#ga8826f1d0e79cc734ea38315e5516f109" title="ll_filesystem_file_read" alt="" coords="516,56,665,83"/><area shape="rect" id="node8" href="group__ll__filesystem.html#ga847113d1c2bffa87807991e2c047bd17" title="ll_filesystem_file\l_close" alt="" coords="532,107,649,149"/><area shape="rect" id="node10" href="group__ll__filesystem.html#ga27b21c519c928bc7767fbdcbb9209148" title="ll_filesystem_file_seek" alt="" coords="515,173,667,200"/><area shape="rect" id="node12" href="group__ll__tft.html#gad219f39d734f774eb4f5390b5f9f8309" title="ll_tft_draw_pixel" alt="" coords="533,224,648,251"/><area shape="rect" id="node14" href="group__ll__tft.html#gaf4b0b73ab01e1dc300ae65dc0ac029b6" title="ll_tft_num_fonts" alt="" coords="339,267,452,293"/><area shape="rect" id="node15" href="group__ll__tft.html#ga408570a2b70769255924792ce189f2c1" title="ll_tft_draw_char" alt="" coords="339,317,451,344"/><area shape="rect" id="node16" href="group__ll__tft.html#ga3639ec94b2239cc02b3c47a14f6637a3" title="ll_tft_font_width" alt="" coords="340,368,451,395"/><area shape="rect" id="node18" href="group__ll__tft.html#ga3a0826993525194c868cc435738dd31e" title="ll_tft_draw_rectangle" alt="" coords="325,419,465,445"/></map>
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="screen__filetest_8c_a54566a598cf7f2c507254c62a9d70223_icgraph.png" border="0" usemap="#screen__filetest_8c_a54566a598cf7f2c507254c62a9d70223_icgraph" alt=""/></div>
<map name="screen__filetest_8c_a54566a598cf7f2c507254c62a9d70223_icgraph" id="screen__filetest_8c_a54566a598cf7f2c507254c62a9d70223_icgraph">
<area shape="rect" id="node2" href="screen__filetest_8c.html#a3017cd14eca2b9e67a69e7ea559b5eaa" title="enter" alt="" coords="140,5,191,32"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="acd1409088e83cf2a8ba2cf96dd9b52f8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void leave </td>
<td>(</td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>screen</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__filetest_8c_source.html#l00124">124</a> of file <a class="el" href="screen__filetest_8c_source.html">screen_filetest.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;{</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; <a class="code" href="group__button.html#ga39e6ec07616381a15f276cd821dad4fd">gui_button_remove</a>(&amp;<a class="code" href="screen__filetest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a>);</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;}</div>
<div class="ttc" id="screen__filetest_8c_html_ae5d8f6a72bbdbe109bc151bfef8ac9a6"><div class="ttname"><a href="screen__filetest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a></div><div class="ttdeci">static BUTTON_STRUCT b_back</div><div class="ttdef"><b>Definition:</b> <a href="screen__filetest_8c_source.html#l00025">screen_filetest.c:25</a></div></div>
<div class="ttc" id="group__button_html_ga39e6ec07616381a15f276cd821dad4fd"><div class="ttname"><a href="group__button.html#ga39e6ec07616381a15f276cd821dad4fd">gui_button_remove</a></div><div class="ttdeci">void gui_button_remove(BUTTON_STRUCT *button)</div><div class="ttdef"><b>Definition:</b> <a href="button_8c_source.html#l00184">button.c:184</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="screen__filetest_8c_acd1409088e83cf2a8ba2cf96dd9b52f8_cgraph.png" border="0" usemap="#screen__filetest_8c_acd1409088e83cf2a8ba2cf96dd9b52f8_cgraph" alt=""/></div>
<map name="screen__filetest_8c_acd1409088e83cf2a8ba2cf96dd9b52f8_cgraph" id="screen__filetest_8c_acd1409088e83cf2a8ba2cf96dd9b52f8_cgraph">
<area shape="rect" id="node2" href="group__button.html#ga39e6ec07616381a15f276cd821dad4fd" title="gui_button_remove" alt="" coords="104,5,235,32"/><area shape="rect" id="node3" href="group__touch.html#gaa7d6cd569335d0ddfc9eeab479f3a0a8" title="touch_unregister_area" alt="" coords="283,5,433,32"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="a5e8f84ee8ff4bf827775c38ae6752509"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void update </td>
<td>(</td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>screen</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__filetest_8c_source.html#l00129">129</a> of file <a class="el" href="screen__filetest_8c_source.html">screen_filetest.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;{</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;}</div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="ae5d8f6a72bbdbe109bc151bfef8ac9a6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html">BUTTON_STRUCT</a> b_back</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__filetest_8c_source.html#l00025">25</a> of file <a class="el" href="screen__filetest_8c_source.html">screen_filetest.c</a>.</p>
</div>
</div>
<a class="anchor" id="a939fdd806f427cc8505ed817e28cce9d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__screen.html#gaf7783b8728d6d218aa9e3b29eaf9689c">SCREEN_STRUCT</a> screen</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= {</div>
<div class="line"> <a class="code" href="screen__filetest_8c.html#a3017cd14eca2b9e67a69e7ea559b5eaa">enter</a>,</div>
<div class="line"> <a class="code" href="screen__filetest_8c.html#acd1409088e83cf2a8ba2cf96dd9b52f8">leave</a>,</div>
<div class="line"> <a class="code" href="screen__filetest_8c.html#a5e8f84ee8ff4bf827775c38ae6752509">update</a></div>
<div class="line">}</div>
<div class="ttc" id="screen__filetest_8c_html_acd1409088e83cf2a8ba2cf96dd9b52f8"><div class="ttname"><a href="screen__filetest_8c.html#acd1409088e83cf2a8ba2cf96dd9b52f8">leave</a></div><div class="ttdeci">static void leave(void *screen)</div><div class="ttdef"><b>Definition:</b> <a href="screen__filetest_8c_source.html#l00124">screen_filetest.c:124</a></div></div>
<div class="ttc" id="screen__filetest_8c_html_a5e8f84ee8ff4bf827775c38ae6752509"><div class="ttname"><a href="screen__filetest_8c.html#a5e8f84ee8ff4bf827775c38ae6752509">update</a></div><div class="ttdeci">static void update(void *screen)</div><div class="ttdef"><b>Definition:</b> <a href="screen__filetest_8c_source.html#l00129">screen_filetest.c:129</a></div></div>
<div class="ttc" id="screen__filetest_8c_html_a3017cd14eca2b9e67a69e7ea559b5eaa"><div class="ttname"><a href="screen__filetest_8c.html#a3017cd14eca2b9e67a69e7ea559b5eaa">enter</a></div><div class="ttdeci">static void enter(void *screen)</div><div class="ttdef"><b>Definition:</b> <a href="screen__filetest_8c_source.html#l00035">screen_filetest.c:35</a></div></div>
</div><!-- fragment -->
<p>Definition at line <a class="el" href="screen__filetest_8c_source.html#l00134">134</a> of file <a class="el" href="screen__filetest_8c_source.html">screen_filetest.c</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jun 8 2015 11:01:18 for discoverpixy by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>