N64FlashcartMenu/ui__components_8h_source.html
2025-01-25 00:07:05 +00:00

236 lines
42 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>N64FlashcartMenu: ui_components.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">N64FlashcartMenu
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_1a56cc8cdc1689899910be5fa4716ee4.html">menu</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">ui_components.h</div></div>
</div><!--header-->
<div class="contents">
<a href="ui__components_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span> </div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#ifndef UI_COMPONENTS_H__</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#define UI_COMPONENTS_H__</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include &lt;libdragon.h&gt;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include &quot;<a class="code" href="menu__state_8h.html">menu_state.h</a>&quot;</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span> </div>
<div class="foldopen" id="foldopen00019" data-start="{" data-end="};">
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0"> 19</a></span><span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"><a class="line" href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0ad59d41948ca8c475c75c4b2df95aed3c"> 20</a></span> <a class="code hl_enumvalue" href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0ad59d41948ca8c475c75c4b2df95aed3c">IMAGE_BOXART_FRONT</a>, </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0a168c1c65c7a71060f51b90f4c72eebb6"> 21</a></span> <a class="code hl_enumvalue" href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0a168c1c65c7a71060f51b90f4c72eebb6">IMAGE_BOXART_BACK</a>, </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0a8c45009bd27938261bf3fdbcffe10034"> 22</a></span> <a class="code hl_enumvalue" href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0a8c45009bd27938261bf3fdbcffe10034">IMAGE_BOXART_TOP</a>, </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0aa94ad56ce027265773b773ae281e96c2"> 23</a></span> <a class="code hl_enumvalue" href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0aa94ad56ce027265773b773ae281e96c2">IMAGE_BOXART_BOTTOM</a>, </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0ace9b225f3b48bb882ad4c8c17accb5ff"> 24</a></span> <a class="code hl_enumvalue" href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0ace9b225f3b48bb882ad4c8c17accb5ff">IMAGE_BOXART_LEFT</a>, </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0a8a3d14863765152a2bdbe199f841bb16"> 25</a></span> <a class="code hl_enumvalue" href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0a8a3d14863765152a2bdbe199f841bb16">IMAGE_BOXART_RIGHT</a>, </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0ab6182f6facb69f0d3dae86daa848cc43"> 26</a></span> <a class="code hl_enumvalue" href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0ab6182f6facb69f0d3dae86daa848cc43">IMAGE_GAMEPAK_FRONT</a>, </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0a4484878450652af835580e0c873fb202"> 27</a></span> <a class="code hl_enumvalue" href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0a4484878450652af835580e0c873fb202">IMAGE_GAMEPAK_BACK</a>, </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0a31e4763c33fa1167be8534e1b699c141"> 28</a></span> <a class="code hl_enumvalue" href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0a31e4763c33fa1167be8534e1b699c141">IMAGE_THUMBNAIL</a>, </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> <a class="code hl_enumvalue" href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0a70ee32ccb4ffff891ff0f614dc829e43">IMAGE_TYPE_END</a> </div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0a70ee32ccb4ffff891ff0f614dc829e43"> 30</a></span>} <a class="code hl_enumeration" href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0">file_image_type_t</a>;</div>
</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span><span class="keywordtype">void</span> <a class="code hl_function" href="ui__components_8h.html#a19fde3f83a0b9050ffd8345ea0050032">ui_components_box_draw</a>(<span class="keywordtype">int</span> x0, <span class="keywordtype">int</span> y0, <span class="keywordtype">int</span> x1, <span class="keywordtype">int</span> y1, color_t color);</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span><span class="keywordtype">void</span> <a class="code hl_function" href="ui__components_8h.html#a3e4221f0e019cd6a5242964a275c7fa3">ui_components_border_draw</a>(<span class="keywordtype">int</span> x0, <span class="keywordtype">int</span> y0, <span class="keywordtype">int</span> x1, <span class="keywordtype">int</span> y1);</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> </div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span><span class="keywordtype">void</span> <a class="code hl_function" href="ui__components_8h.html#a49736b8aac4d3edaa97c998fbbb84c3a">ui_components_layout_draw</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span><span class="keywordtype">void</span> <a class="code hl_function" href="ui__components_8h.html#a150f8458f19c9d03bfd7297676fc7680">ui_components_progressbar_draw</a>(<span class="keywordtype">int</span> x0, <span class="keywordtype">int</span> y0, <span class="keywordtype">int</span> x1, <span class="keywordtype">int</span> y1, <span class="keywordtype">float</span> progress);</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> </div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span><span class="keywordtype">void</span> <a class="code hl_function" href="ui__components_8h.html#a86fb1ca1e34bcb2e657394c83ce3790b">ui_components_seekbar_draw</a>(<span class="keywordtype">float</span> progress);</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> </div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span><span class="keywordtype">void</span> <a class="code hl_function" href="ui__components_8h.html#afe89a346987638090e9faaadccc05d79">ui_components_loader_draw</a>(<span class="keywordtype">float</span> position);</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> </div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span><span class="keywordtype">void</span> <a class="code hl_function" href="ui__components_8h.html#ab7ef483e79ce878eac283808e415d5c4">ui_components_scrollbar_draw</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">int</span> position, <span class="keywordtype">int</span> items, <span class="keywordtype">int</span> visible_items);</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> </div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span><span class="keywordtype">void</span> <a class="code hl_function" href="ui__components_8h.html#ab7813f3fda3c7021a40579f523c84bdc">ui_components_list_scrollbar_draw</a>(<span class="keywordtype">int</span> position, <span class="keywordtype">int</span> items, <span class="keywordtype">int</span> visible_items);</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> </div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span><span class="keywordtype">void</span> <a class="code hl_function" href="ui__components_8h.html#a38d9464112258ff472b96fac7e5511f7">ui_components_dialog_draw</a>(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height);</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> </div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span><span class="keywordtype">void</span> <a class="code hl_function" href="ui__components_8h.html#a2a0e7f4688bff44d1e41a3b49ffbc791">ui_components_messagebox_draw</a>(<span class="keywordtype">char</span> *fmt, ...);</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> </div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span><span class="keywordtype">void</span> <a class="code hl_function" href="ui__components_8h.html#a25b8a39daddb449472425521a679f171">ui_components_main_text_draw</a>(rdpq_align_t align, rdpq_valign_t valign, <span class="keywordtype">char</span> *fmt, ...);</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> </div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span><span class="keywordtype">void</span> <a class="code hl_function" href="ui__components_8h.html#a20d5f8de756694863150fc9fdb165df5">ui_components_actions_bar_text_draw</a>(rdpq_align_t align, rdpq_valign_t valign, <span class="keywordtype">char</span> *fmt, ...);</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> </div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span><span class="keywordtype">void</span> <a class="code hl_function" href="ui__components_8h.html#a9e46cb883ffa851e48a4d40beeb1a107">ui_components_background_init</a>(<span class="keywordtype">char</span> *cache_location);</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> </div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span><span class="keywordtype">void</span> <a class="code hl_function" href="ui__components_8h.html#aff8c7238e004733ed189888e0e639948">ui_components_background_free</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> </div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span><span class="keywordtype">void</span> <a class="code hl_function" href="ui__components_8h.html#a3b997df3be1af71aae30da3b3db0f467">ui_components_background_replace_image</a>(surface_t *image);</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> </div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span><span class="keywordtype">void</span> <a class="code hl_function" href="ui__components_8h.html#a430e0e508cd3f8afa45d92c829ef4641">ui_components_background_draw</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> </div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span><span class="keywordtype">void</span> <a class="code hl_function" href="ui__components_8h.html#a4451d34e746c41d4b7da7ff949f00dd9">ui_components_file_list_draw</a>(<a class="code hl_struct" href="menu__state_8h.html#structentry__t">entry_t</a> *list, <span class="keywordtype">int</span> entries, <span class="keywordtype">int</span> selected);</div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> </div>
<div class="foldopen" id="foldopen00177" data-start="{" data-end="};">
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"><a class="line" href="ui__components_8h.html"> 177</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>component_context_menu {</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"><a class="line" href="ui__components_8h.html#aa6307036a4767d033e871f5ddb38bdf0"> 178</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="ui__components_8h.html#aa6307036a4767d033e871f5ddb38bdf0">row_count</a>; </div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"><a class="line" href="ui__components_8h.html#a8183b2f441dc05921228700ad3c5775e"> 179</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="ui__components_8h.html#a8183b2f441dc05921228700ad3c5775e">row_selected</a>; </div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"><a class="line" href="ui__components_8h.html#a3f9c7fdf201044d4a5c2b26481a1e947"> 180</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="ui__components_8h.html#a3f9c7fdf201044d4a5c2b26481a1e947">hide_pending</a>; </div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"><a class="line" href="ui__components_8h.html#a62ed882efa35b7570bc0dbfef044b627"> 181</a></span> <span class="keyword">struct </span>component_context_menu *<a class="code hl_variable" href="ui__components_8h.html#a62ed882efa35b7570bc0dbfef044b627">parent</a>; </div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"><a class="line" href="ui__components_8h.html#ad4f2b342246c13cee51a157e581dd2b0"> 182</a></span> <span class="keyword">struct </span>component_context_menu *<a class="code hl_variable" href="ui__components_8h.html#ad4f2b342246c13cee51a157e581dd2b0">submenu</a>; </div>
<div class="foldopen" id="foldopen00183" data-start="{" data-end="};">
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"><a class="line" href="structcomponent__context__menu__t_8list.html"> 183</a></span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *text; </div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> void (*action)(<a class="code hl_struct" href="menu__state_8h.html#structmenu__t">menu_t</a> *menu, <span class="keywordtype">void</span> *arg); </div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> <span class="keywordtype">void</span> *arg; </div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> <span class="keyword">struct </span>component_context_menu *submenu; </div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"><a class="line" href="ui__components_8h.html#a9632da4ab3d71d8085e1d81bc6d710b9"> 188</a></span> } list[]; </div>
</div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span>} <a class="code hl_struct" href="ui__components_8h.html#structcomponent__context__menu__t">component_context_menu_t</a>;</div>
</div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> </div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"><a class="line" href="ui__components_8h.html#aed8b55a844b1419369ca727617ed9930"> 191</a></span><span class="preprocessor">#define COMPONENT_CONTEXT_MENU_LIST_END { .text = NULL } </span></div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span><span class="keywordtype">void</span> <a class="code hl_function" href="ui__components_8h.html#af42a44cb942201920ae50554013ae624">ui_components_context_menu_init</a>(<a class="code hl_struct" href="ui__components_8h.html#structcomponent__context__menu__t">component_context_menu_t</a> *cm);</div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> </div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span><span class="keywordtype">void</span> <a class="code hl_function" href="ui__components_8h.html#a8b3e6c2e1c5f4525162f58f5b26f57d9">ui_components_context_menu_show</a>(<a class="code hl_struct" href="ui__components_8h.html#structcomponent__context__menu__t">component_context_menu_t</a> *cm);</div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span> </div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span><span class="keywordtype">bool</span> <a class="code hl_function" href="ui__components_8h.html#ac5f3e5007fdc55383741cbabe4164fa8">ui_components_context_menu_process</a>(<a class="code hl_struct" href="menu__state_8h.html#structmenu__t">menu_t</a> *menu, <a class="code hl_struct" href="ui__components_8h.html#structcomponent__context__menu__t">component_context_menu_t</a> *cm);</div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span> </div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span><span class="keywordtype">void</span> <a class="code hl_function" href="ui__components_8h.html#a70e42afc6a29c48031a5cc9b468e5ef0">ui_components_context_menu_draw</a>(<a class="code hl_struct" href="ui__components_8h.html#structcomponent__context__menu__t">component_context_menu_t</a> *cm);</div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span> </div>
<div class="foldopen" id="foldopen00226" data-start="{" data-end="};">
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"><a class="line" href="ui__components_8h.html"> 226</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"><a class="line" href="ui__components_8h.html#a6ef3e230917241f16f9ba164c40cf247"> 227</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="ui__components_8h.html#a6ef3e230917241f16f9ba164c40cf247">loading</a>; </div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"><a class="line" href="ui__components_8h.html#a1b40bed1ca761e7243cc82e2ab700150"> 228</a></span> surface_t *<a class="code hl_variable" href="ui__components_8h.html#a1b40bed1ca761e7243cc82e2ab700150">image</a>; </div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span>} <a class="code hl_struct" href="ui__components_8h.html#structcomponent__boxart__t">component_boxart_t</a>;</div>
</div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> </div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span><a class="code hl_struct" href="ui__components_8h.html#structcomponent__boxart__t">component_boxart_t</a> *<a class="code hl_function" href="ui__components_8h.html#afd907af4f432f262676bb167d09fd70c">ui_components_boxart_init</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *storage_prefix, <span class="keywordtype">char</span> *game_code, <a class="code hl_enumeration" href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0">file_image_type_t</a> current_image_view);</div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span> </div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span><span class="keywordtype">void</span> <a class="code hl_function" href="ui__components_8h.html#ac6936fee273ef656c6bc72f7378f22ca">ui_components_boxart_free</a>(<a class="code hl_struct" href="ui__components_8h.html#structcomponent__boxart__t">component_boxart_t</a> *b);</div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span> </div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span><span class="keywordtype">void</span> <a class="code hl_function" href="ui__components_8h.html#ada31b54d8e469084084abd5d7f78a57a">ui_components_boxart_draw</a>(<a class="code hl_struct" href="ui__components_8h.html#structcomponent__boxart__t">component_boxart_t</a> *b);</div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span> </div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span><span class="preprocessor">#endif </span><span class="comment">/* UI_COMPONENTS_H__ */</span><span class="preprocessor"></span></div>
<div class="ttc" id="amenu__state_8h_html"><div class="ttname"><a href="menu__state_8h.html">menu_state.h</a></div><div class="ttdoc">Menu State.</div></div>
<div class="ttc" id="amenu__state_8h_html_structentry__t"><div class="ttname"><a href="menu__state_8h.html#structentry__t">entry_t</a></div><div class="ttdoc">File Entry Structure.</div><div class="ttdef"><b>Definition</b> menu_state.h:57</div></div>
<div class="ttc" id="amenu__state_8h_html_structmenu__t"><div class="ttname"><a href="menu__state_8h.html#structmenu__t">menu_t</a></div><div class="ttdoc">Menu Structure.</div><div class="ttdef"><b>Definition</b> menu_state.h:64</div></div>
<div class="ttc" id="aui__components_8h_html_a150f8458f19c9d03bfd7297676fc7680"><div class="ttname"><a href="ui__components_8h.html#a150f8458f19c9d03bfd7297676fc7680">ui_components_progressbar_draw</a></div><div class="ttdeci">void ui_components_progressbar_draw(int x0, int y0, int x1, int y1, float progress)</div><div class="ttdoc">Draw a progress bar component.</div><div class="ttdef"><b>Definition</b> common.c:44</div></div>
<div class="ttc" id="aui__components_8h_html_a19fde3f83a0b9050ffd8345ea0050032"><div class="ttname"><a href="ui__components_8h.html#a19fde3f83a0b9050ffd8345ea0050032">ui_components_box_draw</a></div><div class="ttdeci">void ui_components_box_draw(int x0, int y0, int x1, int y1, color_t color)</div><div class="ttdoc">Draw a box component.</div><div class="ttdef"><b>Definition</b> common.c:8</div></div>
<div class="ttc" id="aui__components_8h_html_a1b40bed1ca761e7243cc82e2ab700150"><div class="ttname"><a href="ui__components_8h.html#a1b40bed1ca761e7243cc82e2ab700150">component_boxart_t::image</a></div><div class="ttdeci">surface_t * image</div><div class="ttdef"><b>Definition</b> ui_components.h:228</div></div>
<div class="ttc" id="aui__components_8h_html_a20d5f8de756694863150fc9fdb165df5"><div class="ttname"><a href="ui__components_8h.html#a20d5f8de756694863150fc9fdb165df5">ui_components_actions_bar_text_draw</a></div><div class="ttdeci">void ui_components_actions_bar_text_draw(rdpq_align_t align, rdpq_valign_t valign, char *fmt,...)</div><div class="ttdoc">Draw the actions bar text component.</div><div class="ttdef"><b>Definition</b> common.c:169</div></div>
<div class="ttc" id="aui__components_8h_html_a25b8a39daddb449472425521a679f171"><div class="ttname"><a href="ui__components_8h.html#a25b8a39daddb449472425521a679f171">ui_components_main_text_draw</a></div><div class="ttdeci">void ui_components_main_text_draw(rdpq_align_t align, rdpq_valign_t valign, char *fmt,...)</div><div class="ttdoc">Draw the main text component.</div><div class="ttdef"><b>Definition</b> common.c:139</div></div>
<div class="ttc" id="aui__components_8h_html_a2a0e7f4688bff44d1e41a3b49ffbc791"><div class="ttname"><a href="ui__components_8h.html#a2a0e7f4688bff44d1e41a3b49ffbc791">ui_components_messagebox_draw</a></div><div class="ttdeci">void ui_components_messagebox_draw(char *fmt,...)</div><div class="ttdoc">Draw a message box component.</div><div class="ttdef"><b>Definition</b> common.c:105</div></div>
<div class="ttc" id="aui__components_8h_html_a38d9464112258ff472b96fac7e5511f7"><div class="ttname"><a href="ui__components_8h.html#a38d9464112258ff472b96fac7e5511f7">ui_components_dialog_draw</a></div><div class="ttdeci">void ui_components_dialog_draw(int width, int height)</div><div class="ttdoc">Draw a dialog component.</div><div class="ttdef"><b>Definition</b> common.c:95</div></div>
<div class="ttc" id="aui__components_8h_html_a3b997df3be1af71aae30da3b3db0f467"><div class="ttname"><a href="ui__components_8h.html#a3b997df3be1af71aae30da3b3db0f467">ui_components_background_replace_image</a></div><div class="ttdeci">void ui_components_background_replace_image(surface_t *image)</div><div class="ttdoc">Replace the background image.</div><div class="ttdef"><b>Definition</b> background.c:188</div></div>
<div class="ttc" id="aui__components_8h_html_a3e4221f0e019cd6a5242964a275c7fa3"><div class="ttname"><a href="ui__components_8h.html#a3e4221f0e019cd6a5242964a275c7fa3">ui_components_border_draw</a></div><div class="ttdeci">void ui_components_border_draw(int x0, int y0, int x1, int y1)</div><div class="ttdoc">Draw a border component.</div><div class="ttdef"><b>Definition</b> common.c:16</div></div>
<div class="ttc" id="aui__components_8h_html_a3f9c7fdf201044d4a5c2b26481a1e947"><div class="ttname"><a href="ui__components_8h.html#a3f9c7fdf201044d4a5c2b26481a1e947">component_context_menu_t::hide_pending</a></div><div class="ttdeci">bool hide_pending</div><div class="ttdef"><b>Definition</b> ui_components.h:180</div></div>
<div class="ttc" id="aui__components_8h_html_a430e0e508cd3f8afa45d92c829ef4641"><div class="ttname"><a href="ui__components_8h.html#a430e0e508cd3f8afa45d92c829ef4641">ui_components_background_draw</a></div><div class="ttdeci">void ui_components_background_draw(void)</div><div class="ttdoc">Draw the background component.</div><div class="ttdef"><b>Definition</b> background.c:209</div></div>
<div class="ttc" id="aui__components_8h_html_a4451d34e746c41d4b7da7ff949f00dd9"><div class="ttname"><a href="ui__components_8h.html#a4451d34e746c41d4b7da7ff949f00dd9">ui_components_file_list_draw</a></div><div class="ttdeci">void ui_components_file_list_draw(entry_t *list, int entries, int selected)</div><div class="ttdoc">Draw the file list component.</div><div class="ttdef"><b>Definition</b> file_list.c:28</div></div>
<div class="ttc" id="aui__components_8h_html_a49736b8aac4d3edaa97c998fbbb84c3a"><div class="ttname"><a href="ui__components_8h.html#a49736b8aac4d3edaa97c998fbbb84c3a">ui_components_layout_draw</a></div><div class="ttdeci">void ui_components_layout_draw(void)</div><div class="ttdoc">Draw the layout component.</div><div class="ttdef"><b>Definition</b> common.c:28</div></div>
<div class="ttc" id="aui__components_8h_html_a62ed882efa35b7570bc0dbfef044b627"><div class="ttname"><a href="ui__components_8h.html#a62ed882efa35b7570bc0dbfef044b627">component_context_menu_t::parent</a></div><div class="ttdeci">struct component_context_menu * parent</div><div class="ttdef"><b>Definition</b> ui_components.h:181</div></div>
<div class="ttc" id="aui__components_8h_html_a6ef3e230917241f16f9ba164c40cf247"><div class="ttname"><a href="ui__components_8h.html#a6ef3e230917241f16f9ba164c40cf247">component_boxart_t::loading</a></div><div class="ttdeci">bool loading</div><div class="ttdef"><b>Definition</b> ui_components.h:227</div></div>
<div class="ttc" id="aui__components_8h_html_a70e42afc6a29c48031a5cc9b468e5ef0"><div class="ttname"><a href="ui__components_8h.html#a70e42afc6a29c48031a5cc9b468e5ef0">ui_components_context_menu_draw</a></div><div class="ttdeci">void ui_components_context_menu_draw(component_context_menu_t *cm)</div><div class="ttdoc">Draw the context menu component.</div><div class="ttdef"><b>Definition</b> context_menu.c:74</div></div>
<div class="ttc" id="aui__components_8h_html_a8183b2f441dc05921228700ad3c5775e"><div class="ttname"><a href="ui__components_8h.html#a8183b2f441dc05921228700ad3c5775e">component_context_menu_t::row_selected</a></div><div class="ttdeci">int row_selected</div><div class="ttdef"><b>Definition</b> ui_components.h:179</div></div>
<div class="ttc" id="aui__components_8h_html_a86fb1ca1e34bcb2e657394c83ce3790b"><div class="ttname"><a href="ui__components_8h.html#a86fb1ca1e34bcb2e657394c83ce3790b">ui_components_seekbar_draw</a></div><div class="ttdeci">void ui_components_seekbar_draw(float progress)</div><div class="ttdoc">Draw a seek bar component.</div><div class="ttdef"><b>Definition</b> common.c:51</div></div>
<div class="ttc" id="aui__components_8h_html_a8b3e6c2e1c5f4525162f58f5b26f57d9"><div class="ttname"><a href="ui__components_8h.html#a8b3e6c2e1c5f4525162f58f5b26f57d9">ui_components_context_menu_show</a></div><div class="ttdeci">void ui_components_context_menu_show(component_context_menu_t *cm)</div><div class="ttdoc">Show the context menu component.</div><div class="ttdef"><b>Definition</b> context_menu.c:25</div></div>
<div class="ttc" id="aui__components_8h_html_a9e46cb883ffa851e48a4d40beeb1a107"><div class="ttname"><a href="ui__components_8h.html#a9e46cb883ffa851e48a4d40beeb1a107">ui_components_background_init</a></div><div class="ttdeci">void ui_components_background_init(char *cache_location)</div><div class="ttdoc">Initialize the background component.</div><div class="ttdef"><b>Definition</b> background.c:160</div></div>
<div class="ttc" id="aui__components_8h_html_aa6307036a4767d033e871f5ddb38bdf0"><div class="ttname"><a href="ui__components_8h.html#aa6307036a4767d033e871f5ddb38bdf0">component_context_menu_t::row_count</a></div><div class="ttdeci">int row_count</div><div class="ttdef"><b>Definition</b> ui_components.h:178</div></div>
<div class="ttc" id="aui__components_8h_html_aa77ed4c6e4f6494fea90d148786d15e0"><div class="ttname"><a href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0">file_image_type_t</a></div><div class="ttdeci">file_image_type_t</div><div class="ttdoc">File image Enumeration.</div><div class="ttdef"><b>Definition</b> ui_components.h:19</div></div>
<div class="ttc" id="aui__components_8h_html_aa77ed4c6e4f6494fea90d148786d15e0a168c1c65c7a71060f51b90f4c72eebb6"><div class="ttname"><a href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0a168c1c65c7a71060f51b90f4c72eebb6">IMAGE_BOXART_BACK</a></div><div class="ttdeci">@ IMAGE_BOXART_BACK</div><div class="ttdef"><b>Definition</b> ui_components.h:21</div></div>
<div class="ttc" id="aui__components_8h_html_aa77ed4c6e4f6494fea90d148786d15e0a31e4763c33fa1167be8534e1b699c141"><div class="ttname"><a href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0a31e4763c33fa1167be8534e1b699c141">IMAGE_THUMBNAIL</a></div><div class="ttdeci">@ IMAGE_THUMBNAIL</div><div class="ttdef"><b>Definition</b> ui_components.h:28</div></div>
<div class="ttc" id="aui__components_8h_html_aa77ed4c6e4f6494fea90d148786d15e0a4484878450652af835580e0c873fb202"><div class="ttname"><a href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0a4484878450652af835580e0c873fb202">IMAGE_GAMEPAK_BACK</a></div><div class="ttdeci">@ IMAGE_GAMEPAK_BACK</div><div class="ttdef"><b>Definition</b> ui_components.h:27</div></div>
<div class="ttc" id="aui__components_8h_html_aa77ed4c6e4f6494fea90d148786d15e0a70ee32ccb4ffff891ff0f614dc829e43"><div class="ttname"><a href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0a70ee32ccb4ffff891ff0f614dc829e43">IMAGE_TYPE_END</a></div><div class="ttdeci">@ IMAGE_TYPE_END</div><div class="ttdef"><b>Definition</b> ui_components.h:29</div></div>
<div class="ttc" id="aui__components_8h_html_aa77ed4c6e4f6494fea90d148786d15e0a8a3d14863765152a2bdbe199f841bb16"><div class="ttname"><a href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0a8a3d14863765152a2bdbe199f841bb16">IMAGE_BOXART_RIGHT</a></div><div class="ttdeci">@ IMAGE_BOXART_RIGHT</div><div class="ttdef"><b>Definition</b> ui_components.h:25</div></div>
<div class="ttc" id="aui__components_8h_html_aa77ed4c6e4f6494fea90d148786d15e0a8c45009bd27938261bf3fdbcffe10034"><div class="ttname"><a href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0a8c45009bd27938261bf3fdbcffe10034">IMAGE_BOXART_TOP</a></div><div class="ttdeci">@ IMAGE_BOXART_TOP</div><div class="ttdef"><b>Definition</b> ui_components.h:22</div></div>
<div class="ttc" id="aui__components_8h_html_aa77ed4c6e4f6494fea90d148786d15e0aa94ad56ce027265773b773ae281e96c2"><div class="ttname"><a href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0aa94ad56ce027265773b773ae281e96c2">IMAGE_BOXART_BOTTOM</a></div><div class="ttdeci">@ IMAGE_BOXART_BOTTOM</div><div class="ttdef"><b>Definition</b> ui_components.h:23</div></div>
<div class="ttc" id="aui__components_8h_html_aa77ed4c6e4f6494fea90d148786d15e0ab6182f6facb69f0d3dae86daa848cc43"><div class="ttname"><a href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0ab6182f6facb69f0d3dae86daa848cc43">IMAGE_GAMEPAK_FRONT</a></div><div class="ttdeci">@ IMAGE_GAMEPAK_FRONT</div><div class="ttdef"><b>Definition</b> ui_components.h:26</div></div>
<div class="ttc" id="aui__components_8h_html_aa77ed4c6e4f6494fea90d148786d15e0ace9b225f3b48bb882ad4c8c17accb5ff"><div class="ttname"><a href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0ace9b225f3b48bb882ad4c8c17accb5ff">IMAGE_BOXART_LEFT</a></div><div class="ttdeci">@ IMAGE_BOXART_LEFT</div><div class="ttdef"><b>Definition</b> ui_components.h:24</div></div>
<div class="ttc" id="aui__components_8h_html_aa77ed4c6e4f6494fea90d148786d15e0ad59d41948ca8c475c75c4b2df95aed3c"><div class="ttname"><a href="ui__components_8h.html#aa77ed4c6e4f6494fea90d148786d15e0ad59d41948ca8c475c75c4b2df95aed3c">IMAGE_BOXART_FRONT</a></div><div class="ttdeci">@ IMAGE_BOXART_FRONT</div><div class="ttdef"><b>Definition</b> ui_components.h:20</div></div>
<div class="ttc" id="aui__components_8h_html_ab7813f3fda3c7021a40579f523c84bdc"><div class="ttname"><a href="ui__components_8h.html#ab7813f3fda3c7021a40579f523c84bdc">ui_components_list_scrollbar_draw</a></div><div class="ttdeci">void ui_components_list_scrollbar_draw(int position, int items, int visible_items)</div><div class="ttdoc">Draw a list scrollbar component.</div><div class="ttdef"><b>Definition</b> common.c:83</div></div>
<div class="ttc" id="aui__components_8h_html_ab7ef483e79ce878eac283808e415d5c4"><div class="ttname"><a href="ui__components_8h.html#ab7ef483e79ce878eac283808e415d5c4">ui_components_scrollbar_draw</a></div><div class="ttdeci">void ui_components_scrollbar_draw(int x, int y, int width, int height, int position, int items, int visible_items)</div><div class="ttdoc">Draw a scrollbar component.</div><div class="ttdef"><b>Definition</b> common.c:71</div></div>
<div class="ttc" id="aui__components_8h_html_ac5f3e5007fdc55383741cbabe4164fa8"><div class="ttname"><a href="ui__components_8h.html#ac5f3e5007fdc55383741cbabe4164fa8">ui_components_context_menu_process</a></div><div class="ttdeci">bool ui_components_context_menu_process(menu_t *menu, component_context_menu_t *cm)</div><div class="ttdoc">Process the context menu component.</div><div class="ttdef"><b>Definition</b> context_menu.c:30</div></div>
<div class="ttc" id="aui__components_8h_html_ac6936fee273ef656c6bc72f7378f22ca"><div class="ttname"><a href="ui__components_8h.html#ac6936fee273ef656c6bc72f7378f22ca">ui_components_boxart_free</a></div><div class="ttdeci">void ui_components_boxart_free(component_boxart_t *b)</div><div class="ttdoc">Free the box art component resources.</div><div class="ttdef"><b>Definition</b> boxart.c:123</div></div>
<div class="ttc" id="aui__components_8h_html_ad4f2b342246c13cee51a157e581dd2b0"><div class="ttname"><a href="ui__components_8h.html#ad4f2b342246c13cee51a157e581dd2b0">component_context_menu_t::submenu</a></div><div class="ttdeci">struct component_context_menu * submenu</div><div class="ttdef"><b>Definition</b> ui_components.h:182</div></div>
<div class="ttc" id="aui__components_8h_html_ada31b54d8e469084084abd5d7f78a57a"><div class="ttname"><a href="ui__components_8h.html#ada31b54d8e469084084abd5d7f78a57a">ui_components_boxart_draw</a></div><div class="ttdeci">void ui_components_boxart_draw(component_boxart_t *b)</div><div class="ttdoc">Draw the box art component.</div><div class="ttdef"><b>Definition</b> boxart.c:136</div></div>
<div class="ttc" id="aui__components_8h_html_af42a44cb942201920ae50554013ae624"><div class="ttname"><a href="ui__components_8h.html#af42a44cb942201920ae50554013ae624">ui_components_context_menu_init</a></div><div class="ttdeci">void ui_components_context_menu_init(component_context_menu_t *cm)</div><div class="ttdoc">Initialize the context menu component.</div><div class="ttdef"><b>Definition</b> context_menu.c:15</div></div>
<div class="ttc" id="aui__components_8h_html_afd907af4f432f262676bb167d09fd70c"><div class="ttname"><a href="ui__components_8h.html#afd907af4f432f262676bb167d09fd70c">ui_components_boxart_init</a></div><div class="ttdeci">component_boxart_t * ui_components_boxart_init(const char *storage_prefix, char *game_code, file_image_type_t current_image_view)</div><div class="ttdoc">Initialize the box art component.</div><div class="ttdef"><b>Definition</b> boxart.c:20</div></div>
<div class="ttc" id="aui__components_8h_html_afe89a346987638090e9faaadccc05d79"><div class="ttname"><a href="ui__components_8h.html#afe89a346987638090e9faaadccc05d79">ui_components_loader_draw</a></div><div class="ttdeci">void ui_components_loader_draw(float position)</div><div class="ttdoc">Draw a loader component.</div><div class="ttdef"><b>Definition</b> common.c:61</div></div>
<div class="ttc" id="aui__components_8h_html_aff8c7238e004733ed189888e0e639948"><div class="ttname"><a href="ui__components_8h.html#aff8c7238e004733ed189888e0e639948">ui_components_background_free</a></div><div class="ttdeci">void ui_components_background_free(void)</div><div class="ttdoc">Free the background component resources.</div><div class="ttdef"><b>Definition</b> background.c:169</div></div>
<div class="ttc" id="aui__components_8h_html_structcomponent__boxart__t"><div class="ttname"><a href="ui__components_8h.html#structcomponent__boxart__t">component_boxart_t</a></div><div class="ttdoc">Box Art Structure.</div><div class="ttdef"><b>Definition</b> ui_components.h:226</div></div>
<div class="ttc" id="aui__components_8h_html_structcomponent__context__menu__t"><div class="ttname"><a href="ui__components_8h.html#structcomponent__context__menu__t">component_context_menu_t</a></div><div class="ttdoc">Context menu structure.</div><div class="ttdef"><b>Definition</b> ui_components.h:177</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Jan 25 2025 00:07:04 for N64FlashcartMenu by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>