Updated docu.
This commit is contained in:
@@ -104,7 +104,9 @@ Include dependency graph for screen_filetest.c:</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><table class="memberdecls">
|
||||
</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 </td><td class="memItemRight" valign="bottom"><a class="el" href="screen__filetest_8c.html#a26b5a87b61eb1cd0888fdfc12a91a6d7">b_back_cb</a> (void *button)</td></tr>
|
||||
@@ -150,6 +152,12 @@ Variables</h2></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> {</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <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> }</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">
|
||||
@@ -192,6 +200,151 @@ Here is the caller graph for this function:</div>
|
||||
</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> {</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <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> </div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="comment">//Back button</span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <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>  <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>  <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>  <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>  <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>  <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'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>  <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>  <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">"Back"</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>  <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>  <a class="code" href="group__button.html#ga64d5d2aaff2c917e5d43e7ed849607de">gui_button_add</a>(&<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> </div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <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>  <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">"Name D H RO Date Time Size"</span>);</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordtype">int</span> y = 33;</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <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">"."</span>);</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordflow">if</span> (dir == NULL) {</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  }</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < dir-><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>  <a class="code" href="struct_f_i_l_e___s_t_r_u_c_t.html">FILE_STRUCT</a>* file = &(dir-><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>  <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>  (file-><a class="code" href="struct_f_i_l_e___s_t_r_u_c_t.html#a3eb7d979a8d987e842e3c06d08b345c0">fattrib</a> & <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>  <a class="code" href="group__tft.html#ga6c54e72c6142d317114a29adbcbb24b6">TRANSPARENT</a>, 0, <span class="stringliteral">"%-13s%c %c %s %02u%02u%02u %02u:%02u:%02u %u"</span>,</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  file-><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>  (file-><a class="code" href="struct_f_i_l_e___s_t_r_u_c_t.html#a3eb7d979a8d987e842e3c06d08b345c0">fattrib</a> & <a class="code" href="group__filesystem.html#gga07e357318d9528f9d2df7e5c86c81a3ba9d0e592d6c03a8ea881767c87935c790">F_DIR</a>) ? <span class="charliteral">'D'</span> : <span class="charliteral">' '</span>,</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  (file-><a class="code" href="struct_f_i_l_e___s_t_r_u_c_t.html#a3eb7d979a8d987e842e3c06d08b345c0">fattrib</a> & <a class="code" href="group__filesystem.html#gga07e357318d9528f9d2df7e5c86c81a3baa87f9e9b73e66d81563fe63aba76cc7d">F_HID</a>) ? <span class="charliteral">'H'</span> : <span class="charliteral">' '</span>,</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  (file-><a class="code" href="struct_f_i_l_e___s_t_r_u_c_t.html#a3eb7d979a8d987e842e3c06d08b345c0">fattrib</a> & <a class="code" href="group__filesystem.html#gga07e357318d9528f9d2df7e5c86c81a3ba56340dd998fe228468cb60406dc3f5df">F_RDO</a>) ? <span class="stringliteral">"R "</span> : <span class="stringliteral">"RW"</span>,</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  file-><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>  file-><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>  (file-><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>  file-><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>  file-><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>  file-><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>  file-><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>  y += 14;</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  }</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <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> </div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  y += 14;</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <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">"test.txt"</span>);</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordflow">if</span> (file == NULL) {</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <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">"Could not open test.txt"</span>);</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordtype">char</span> buf [30];</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordtype">int</span> size = (file-><a class="code" href="struct_f_i_l_e___h_a_n_d_l_e.html#aa5092484dbc5fc29a229feee0eae1246">fsize</a> > 30) ? 29 : file-><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>  <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> </div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <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>  buf[file-><a class="code" href="struct_f_i_l_e___h_a_n_d_l_e.html#ae776c66ed7fc6d25948f2bb573ca2198">fpos</a>] = <span class="charliteral">'\0'</span>;</div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <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">"test.txt contains \"%s\""</span>, buf);</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordtype">long</span> num = strtol(&(buf[file-><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>  num++;</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  y += 14;</div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordflow">if</span> (<a class="code" href="group__filesystem.html#gac447af479c334caa207d6c279571d8a2">filesystem_file_seek</a>(file, file-><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>  <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">"Could not seek to %d"</span>, file-><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>  } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  sprintf(buf, <span class="stringliteral">"%04d"</span>, num);</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <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>  <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">"Could not write new number %d"</span>, num);</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <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">"New number written %d"</span>, num);</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  }</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  }</div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <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">"Could not read from test.txt"</span>);</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  }</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  }</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <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> </div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <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> }</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'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">
|
||||
@@ -224,6 +377,23 @@ Here is the call graph for this function:</div>
|
||||
</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> {</div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> </div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keywordflow">if</span> (!<a class="code" href="group__tft.html#gab2955e780414d138b9f90dc6a533b6b8">tft_draw_bitmap_file_unscaled</a>(250, 170, <span class="stringliteral">"cpu.bmp"</span>)) {</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <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">"Could not open cpu.bmp"</span>);</div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  }</div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> </div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <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> }</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">
|
||||
@@ -266,6 +436,13 @@ Here is the caller graph for this function:</div>
|
||||
</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> {</div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <a class="code" href="group__button.html#ga39e6ec07616381a15f276cd821dad4fd">gui_button_remove</a>(&<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> }</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">
|
||||
@@ -299,6 +476,10 @@ Here is the call graph for this function:</div>
|
||||
</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> {</div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> }</div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Variable Documentation</h2>
|
||||
@@ -320,6 +501,8 @@ Here is the call graph for this function:</div>
|
||||
</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>
|
||||
@@ -344,16 +527,18 @@ Here is the call graph for this function:</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> screen_filetest.c:113</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> screen_filetest.c:117</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> screen_filetest.c:17</div></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 01:15:03 for discoverpixy by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Mon Jun 8 2015 11:01:18 for discoverpixy by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.9.1
|
||||
</small></address>
|
||||
|
||||
Reference in New Issue
Block a user