N64FlashcartMenu/components_8h.html

273 lines
20 KiB
HTML
Raw Normal View History

<!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.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>N64FlashcartMenu: components.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<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.5 -->
<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>
<!-- 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="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">components.h File Reference</div></div>
</div><!--header-->
<div class="contents">
<p>Menu Components.
<a href="#details">More...</a></p>
<p><a href="components_8h_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 id="nested-classes" name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:structcomponent__context__menu__t"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="components_8h.html#structcomponent__context__menu__t">component_context_menu_t</a></td></tr>
<tr class="separator:structcomponent__context__menu__t"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structcomponent__boxart__t"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="components_8h.html#structcomponent__boxart__t">component_boxart_t</a></td></tr>
<tr class="memdesc:structcomponent__boxart__t"><td class="mdescLeft">&#160;</td><td class="mdescRight">Box Art Structure. <a href="components_8h.html#structcomponent__boxart__t">More...</a><br /></td></tr>
<tr class="separator:structcomponent__boxart__t"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcomponent__context__menu__t_8list.html">component_context_menu_t.list</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:aed8b55a844b1419369ca727617ed9930"><td class="memItemLeft" align="right" valign="top"><a id="aed8b55a844b1419369ca727617ed9930" name="aed8b55a844b1419369ca727617ed9930"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>COMPONENT_CONTEXT_MENU_LIST_END</b>&#160;&#160;&#160;{ .text = NULL }</td></tr>
<tr class="separator:aed8b55a844b1419369ca727617ed9930"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:abf3f91b334c68ce31008abd3fa3e5028"><td class="memItemLeft" align="right" valign="top"><a id="abf3f91b334c68ce31008abd3fa3e5028" name="abf3f91b334c68ce31008abd3fa3e5028"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>component_box_draw</b> (int x0, int y0, int x1, int y1, color_t color)</td></tr>
<tr class="separator:abf3f91b334c68ce31008abd3fa3e5028"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bfecabe05267b17e5363bdd7edcb159"><td class="memItemLeft" align="right" valign="top"><a id="a0bfecabe05267b17e5363bdd7edcb159" name="a0bfecabe05267b17e5363bdd7edcb159"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>component_border_draw</b> (int x0, int y0, int x1, int y1)</td></tr>
<tr class="separator:a0bfecabe05267b17e5363bdd7edcb159"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a929048bcf82238838dd823952ffb1c57"><td class="memItemLeft" align="right" valign="top"><a id="a929048bcf82238838dd823952ffb1c57" name="a929048bcf82238838dd823952ffb1c57"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>component_layout_draw</b> (void)</td></tr>
<tr class="separator:a929048bcf82238838dd823952ffb1c57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2546238a895d7bd3cd988b20474f2a7b"><td class="memItemLeft" align="right" valign="top"><a id="a2546238a895d7bd3cd988b20474f2a7b" name="a2546238a895d7bd3cd988b20474f2a7b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>component_progressbar_draw</b> (int x0, int y0, int x1, int y1, float progress)</td></tr>
<tr class="separator:a2546238a895d7bd3cd988b20474f2a7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83921f9644f19c4f94665b0fb218414e"><td class="memItemLeft" align="right" valign="top"><a id="a83921f9644f19c4f94665b0fb218414e" name="a83921f9644f19c4f94665b0fb218414e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>component_seekbar_draw</b> (float progress)</td></tr>
<tr class="separator:a83921f9644f19c4f94665b0fb218414e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67e5bc09e78335536a7ce78f749d77f1"><td class="memItemLeft" align="right" valign="top"><a id="a67e5bc09e78335536a7ce78f749d77f1" name="a67e5bc09e78335536a7ce78f749d77f1"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>component_loader_draw</b> (float position)</td></tr>
<tr class="separator:a67e5bc09e78335536a7ce78f749d77f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18142c38ec83c06a6188f81b4b89d6c5"><td class="memItemLeft" align="right" valign="top"><a id="a18142c38ec83c06a6188f81b4b89d6c5" name="a18142c38ec83c06a6188f81b4b89d6c5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>component_scrollbar_draw</b> (int x, int y, int width, int height, int position, int items, int visible_items)</td></tr>
<tr class="separator:a18142c38ec83c06a6188f81b4b89d6c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed2c821c6512ad270d5787e8cc1fe197"><td class="memItemLeft" align="right" valign="top"><a id="aed2c821c6512ad270d5787e8cc1fe197" name="aed2c821c6512ad270d5787e8cc1fe197"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>component_list_scrollbar_draw</b> (int position, int items, int visible_items)</td></tr>
<tr class="separator:aed2c821c6512ad270d5787e8cc1fe197"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89cd372ae604fd4c127cb1a920d9af07"><td class="memItemLeft" align="right" valign="top"><a id="a89cd372ae604fd4c127cb1a920d9af07" name="a89cd372ae604fd4c127cb1a920d9af07"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>component_dialog_draw</b> (int width, int height)</td></tr>
<tr class="separator:a89cd372ae604fd4c127cb1a920d9af07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43978a78de320527e4e7776135577467"><td class="memItemLeft" align="right" valign="top"><a id="a43978a78de320527e4e7776135577467" name="a43978a78de320527e4e7776135577467"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>component_messagebox_draw</b> (char *fmt,...)</td></tr>
<tr class="separator:a43978a78de320527e4e7776135577467"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1b3fa126275fd7a1b345b67866140f0"><td class="memItemLeft" align="right" valign="top"><a id="ac1b3fa126275fd7a1b345b67866140f0" name="ac1b3fa126275fd7a1b345b67866140f0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>component_main_text_draw</b> (rdpq_align_t align, rdpq_valign_t valign, char *fmt,...)</td></tr>
<tr class="separator:ac1b3fa126275fd7a1b345b67866140f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1cb434caa96d9206594e8a6fd3f927a8"><td class="memItemLeft" align="right" valign="top"><a id="a1cb434caa96d9206594e8a6fd3f927a8" name="a1cb434caa96d9206594e8a6fd3f927a8"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>component_actions_bar_text_draw</b> (rdpq_align_t align, rdpq_valign_t valign, char *fmt,...)</td></tr>
<tr class="separator:a1cb434caa96d9206594e8a6fd3f927a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32b74ef332af7777ddfb3ba37067cc4b"><td class="memItemLeft" align="right" valign="top"><a id="a32b74ef332af7777ddfb3ba37067cc4b" name="a32b74ef332af7777ddfb3ba37067cc4b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>component_background_init</b> (char *cache_location)</td></tr>
<tr class="separator:a32b74ef332af7777ddfb3ba37067cc4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4387e2391089cbbd5ef7059bda473895"><td class="memItemLeft" align="right" valign="top"><a id="a4387e2391089cbbd5ef7059bda473895" name="a4387e2391089cbbd5ef7059bda473895"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>component_background_free</b> (void)</td></tr>
<tr class="separator:a4387e2391089cbbd5ef7059bda473895"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83c03aa976e986db7a46c63e7b151c65"><td class="memItemLeft" align="right" valign="top"><a id="a83c03aa976e986db7a46c63e7b151c65" name="a83c03aa976e986db7a46c63e7b151c65"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>component_background_replace_image</b> (surface_t *image)</td></tr>
<tr class="separator:a83c03aa976e986db7a46c63e7b151c65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34a10b31512ad4b1b833f3209acefacc"><td class="memItemLeft" align="right" valign="top"><a id="a34a10b31512ad4b1b833f3209acefacc" name="a34a10b31512ad4b1b833f3209acefacc"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>component_background_draw</b> (void)</td></tr>
<tr class="separator:a34a10b31512ad4b1b833f3209acefacc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb4828936ba2b92c7d395b686f0c92f8"><td class="memItemLeft" align="right" valign="top"><a id="afb4828936ba2b92c7d395b686f0c92f8" name="afb4828936ba2b92c7d395b686f0c92f8"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>component_file_list_draw</b> (<a class="el" href="menu__state_8h.html#structentry__t">entry_t</a> *list, int entries, int selected)</td></tr>
<tr class="separator:afb4828936ba2b92c7d395b686f0c92f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa7041cc46e7c4d956a98b4b2fa19db4"><td class="memItemLeft" align="right" valign="top"><a id="aaa7041cc46e7c4d956a98b4b2fa19db4" name="aaa7041cc46e7c4d956a98b4b2fa19db4"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>component_context_menu_init</b> (<a class="el" href="components_8h.html#structcomponent__context__menu__t">component_context_menu_t</a> *cm)</td></tr>
<tr class="separator:aaa7041cc46e7c4d956a98b4b2fa19db4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08119868520b71fbbd08cf037aa7dd16"><td class="memItemLeft" align="right" valign="top"><a id="a08119868520b71fbbd08cf037aa7dd16" name="a08119868520b71fbbd08cf037aa7dd16"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>component_context_menu_show</b> (<a class="el" href="components_8h.html#structcomponent__context__menu__t">component_context_menu_t</a> *cm)</td></tr>
<tr class="separator:a08119868520b71fbbd08cf037aa7dd16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa18653701c5327b5a451af543da8692c"><td class="memItemLeft" align="right" valign="top"><a id="aa18653701c5327b5a451af543da8692c" name="aa18653701c5327b5a451af543da8692c"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>component_context_menu_process</b> (<a class="el" href="menu__state_8h.html#structmenu__t">menu_t</a> *menu, <a class="el" href="components_8h.html#structcomponent__context__menu__t">component_context_menu_t</a> *cm)</td></tr>
<tr class="separator:aa18653701c5327b5a451af543da8692c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a7074e22a1e01d9243b78d9b5962bf6"><td class="memItemLeft" align="right" valign="top"><a id="a4a7074e22a1e01d9243b78d9b5962bf6" name="a4a7074e22a1e01d9243b78d9b5962bf6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>component_context_menu_draw</b> (<a class="el" href="components_8h.html#structcomponent__context__menu__t">component_context_menu_t</a> *cm)</td></tr>
<tr class="separator:a4a7074e22a1e01d9243b78d9b5962bf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cd3bc590b0c8b38f3216dd44c7a3822"><td class="memItemLeft" align="right" valign="top"><a id="a7cd3bc590b0c8b38f3216dd44c7a3822" name="a7cd3bc590b0c8b38f3216dd44c7a3822"></a>
<a class="el" href="components_8h.html#structcomponent__boxart__t">component_boxart_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>component_boxart_init</b> (const char *storage_prefix, char *game_code)</td></tr>
<tr class="separator:a7cd3bc590b0c8b38f3216dd44c7a3822"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a043606a1b67edcc937cb136143a90b38"><td class="memItemLeft" align="right" valign="top"><a id="a043606a1b67edcc937cb136143a90b38" name="a043606a1b67edcc937cb136143a90b38"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>component_boxart_free</b> (<a class="el" href="components_8h.html#structcomponent__boxart__t">component_boxart_t</a> *b)</td></tr>
<tr class="separator:a043606a1b67edcc937cb136143a90b38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4da206239617c9a898fe2cf09bb70e65"><td class="memItemLeft" align="right" valign="top"><a id="a4da206239617c9a898fe2cf09bb70e65" name="a4da206239617c9a898fe2cf09bb70e65"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>component_boxart_draw</b> (<a class="el" href="components_8h.html#structcomponent__boxart__t">component_boxart_t</a> *b)</td></tr>
<tr class="separator:a4da206239617c9a898fe2cf09bb70e65"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >Menu Components. </p>
</div><hr/><h2 class="groupheader">Data Structure Documentation</h2>
<a name="structcomponent__context__menu__t" id="structcomponent__context__menu__t"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structcomponent__context__menu__t">&#9670;&#160;</a></span>component_context_menu_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct component_context_menu_t</td>
</tr>
</table>
</div><div class="memdoc">
<div class="textblock"></div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a65c352ec21d39e31111f7932ca802ab9" name="a65c352ec21d39e31111f7932ca802ab9"></a>int</td>
<td class="fieldname">
count</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a7a0639f88a4835e7b68b33f86e81179c" name="a7a0639f88a4835e7b68b33f86e81179c"></a>int</td>
<td class="fieldname">
selected</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a3f9c7fdf201044d4a5c2b26481a1e947" name="a3f9c7fdf201044d4a5c2b26481a1e947"></a>bool</td>
<td class="fieldname">
hide_pending</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a62ed882efa35b7570bc0dbfef044b627" name="a62ed882efa35b7570bc0dbfef044b627"></a>struct component_context_menu *</td>
<td class="fieldname">
parent</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="ad4f2b342246c13cee51a157e581dd2b0" name="ad4f2b342246c13cee51a157e581dd2b0"></a>struct component_context_menu *</td>
<td class="fieldname">
submenu</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="af25d134b391e98916b45c78718b2cb4e" name="af25d134b391e98916b45c78718b2cb4e"></a>struct <a class="el" href="structcomponent__context__menu__t_8list.html">component_context_menu_t.list</a></td>
<td class="fieldname">
list[]</td>
<td class="fielddoc">
</td></tr>
</table>
</div>
</div>
<a name="structcomponent__boxart__t" id="structcomponent__boxart__t"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structcomponent__boxart__t">&#9670;&#160;</a></span>component_boxart_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct component_boxart_t</td>
</tr>
</table>
</div><div class="memdoc">
<div class="textblock"><p >Box Art Structure. </p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a6ef3e230917241f16f9ba164c40cf247" name="a6ef3e230917241f16f9ba164c40cf247"></a>bool</td>
<td class="fieldname">
loading</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a1b40bed1ca761e7243cc82e2ab700150" name="a1b40bed1ca761e7243cc82e2ab700150"></a>surface_t *</td>
<td class="fieldname">
image</td>
<td class="fielddoc">
</td></tr>
</table>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue May 21 2024 16:22:20 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.5
</small></address>
</body>
</html>