N64FlashcartMenu/menu__state_8h.html

390 lines
16 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: menu_state.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="#enum-members">Enumerations</a> </div>
<div class="headertitle"><div class="title">menu_state.h File Reference</div></div>
</div><!--header-->
<div class="contents">
<p>Menu State.
<a href="#details">More...</a></p>
<p><a href="menu__state_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:structentry__t"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="menu__state_8h.html#structentry__t">entry_t</a></td></tr>
<tr class="memdesc:structentry__t"><td class="mdescLeft">&#160;</td><td class="mdescRight">File Entry Structure. <a href="menu__state_8h.html#structentry__t">More...</a><br /></td></tr>
<tr class="separator:structentry__t"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structmenu__t"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="menu__state_8h.html#structmenu__t">menu_t</a></td></tr>
<tr class="memdesc:structmenu__t"><td class="mdescLeft">&#160;</td><td class="mdescRight">Menu Structure. <a href="menu__state_8h.html#structmenu__t">More...</a><br /></td></tr>
<tr class="separator:structmenu__t"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structmenu__t_8actions"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="menu__state_8h.html#structmenu__t_8actions">menu_t.actions</a></td></tr>
<tr class="separator:structmenu__t_8actions"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structmenu__t_8browser"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="menu__state_8h.html#structmenu__t_8browser">menu_t.browser</a></td></tr>
<tr class="separator:structmenu__t_8browser"><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:a5af12c6c88e4bdfbc419c9cdb455903e"><td class="memItemLeft" align="right" valign="top"><a id="a5af12c6c88e4bdfbc419c9cdb455903e" name="a5af12c6c88e4bdfbc419c9cdb455903e"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>BROWSER_LIST_SIZE</b>&#160;&#160;&#160;2048</td></tr>
<tr class="separator:a5af12c6c88e4bdfbc419c9cdb455903e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="enum-members" name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:aea8b3793f8f84c964eb96c91b0768a70"><td class="memItemLeft" align="right" valign="top"><a id="aea8b3793f8f84c964eb96c91b0768a70" name="aea8b3793f8f84c964eb96c91b0768a70"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="menu__state_8h.html#aea8b3793f8f84c964eb96c91b0768a70">menu_mode_t</a> { <br />
&#160;&#160;<b>MENU_MODE_NONE</b>
, <b>MENU_MODE_STARTUP</b>
, <b>MENU_MODE_BROWSER</b>
, <b>MENU_MODE_FILE_INFO</b>
, <br />
&#160;&#160;<b>MENU_MODE_SYSTEM_INFO</b>
, <b>MENU_MODE_IMAGE_VIEWER</b>
, <b>MENU_MODE_MUSIC_PLAYER</b>
, <b>MENU_MODE_CREDITS</b>
, <br />
&#160;&#160;<b>MENU_MODE_LOAD</b>
, <b>MENU_MODE_ERROR</b>
, <b>MENU_MODE_FAULT</b>
, <b>MENU_MODE_BOOT</b>
<br />
}</td></tr>
<tr class="memdesc:aea8b3793f8f84c964eb96c91b0768a70"><td class="mdescLeft">&#160;</td><td class="mdescRight">Menu mode enumeration. <br /></td></tr>
<tr class="separator:aea8b3793f8f84c964eb96c91b0768a70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e00527da87fefde59d447ebc4aedd7a"><td class="memItemLeft" align="right" valign="top"><a id="a7e00527da87fefde59d447ebc4aedd7a" name="a7e00527da87fefde59d447ebc4aedd7a"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="menu__state_8h.html#a7e00527da87fefde59d447ebc4aedd7a">entry_type_t</a> { <br />
&#160;&#160;<b>ENTRY_TYPE_DIR</b>
, <b>ENTRY_TYPE_ROM</b>
, <b>ENTRY_TYPE_SAVE</b>
, <b>ENTRY_TYPE_IMAGE</b>
, <br />
&#160;&#160;<b>ENTRY_TYPE_MUSIC</b>
, <b>ENTRY_TYPE_OTHER</b>
<br />
}</td></tr>
<tr class="memdesc:a7e00527da87fefde59d447ebc4aedd7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">File entry type enumeration. <br /></td></tr>
<tr class="separator:a7e00527da87fefde59d447ebc4aedd7a"><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 State. </p>
</div><hr/><h2 class="groupheader">Data Structure Documentation</h2>
<a name="structentry__t" id="structentry__t"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structentry__t">&#9670;&#160;</a></span>entry_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct entry_t</td>
</tr>
</table>
</div><div class="memdoc">
<div class="textblock"><p >File Entry Structure. </p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="ab04f7c44381c01e411be318875eb5eb6" name="ab04f7c44381c01e411be318875eb5eb6"></a>char *</td>
<td class="fieldname">
name</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="aef850a0587520b182cc3aa3b4eca809b" name="aef850a0587520b182cc3aa3b4eca809b"></a><a class="el" href="menu__state_8h.html#a7e00527da87fefde59d447ebc4aedd7a">entry_type_t</a></td>
<td class="fieldname">
type</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a67460ae77b6a4433d48f7736ee6a500a" name="a67460ae77b6a4433d48f7736ee6a500a"></a>int</td>
<td class="fieldname">
size</td>
<td class="fielddoc">
</td></tr>
</table>
</div>
</div>
<a name="structmenu__t" id="structmenu__t"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structmenu__t">&#9670;&#160;</a></span>menu_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct menu_t</td>
</tr>
</table>
</div><div class="memdoc">
<div class="textblock"><p >Menu Structure. </p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a184a5afbe3e3480ceffcaeb4d95033b5" name="a184a5afbe3e3480ceffcaeb4d95033b5"></a><a class="el" href="menu__state_8h.html#aea8b3793f8f84c964eb96c91b0768a70">menu_mode_t</a></td>
<td class="fieldname">
mode</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a210afa29c89942bb8b10e602370e9678" name="a210afa29c89942bb8b10e602370e9678"></a><a class="el" href="menu__state_8h.html#aea8b3793f8f84c964eb96c91b0768a70">menu_mode_t</a></td>
<td class="fieldname">
next_mode</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="acbb96bcc792a9b8a221ed230ef730712" name="acbb96bcc792a9b8a221ed230ef730712"></a><a class="el" href="settings_8h.html#structsettings__t">settings_t</a></td>
<td class="fieldname">
settings</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a7d163e01ff87e02a01cb733ce698f90e" name="a7d163e01ff87e02a01cb733ce698f90e"></a><a class="el" href="boot_8h.html#structboot__params__t">boot_params_t</a> *</td>
<td class="fieldname">
boot_params</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a2cba053cad9f6d3236617aab1e349f71" name="a2cba053cad9f6d3236617aab1e349f71"></a><a class="el" href="flashcart_8h.html#a350f576549fef0c185b679ef0a132289">flashcart_error_t</a></td>
<td class="fieldname">
flashcart_error</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a057b4d4f44a9e6ffe0d18bb41cfff2d5" name="a057b4d4f44a9e6ffe0d18bb41cfff2d5"></a>char *</td>
<td class="fieldname">
error_message</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="afeaeef441ca98750e5ef82c30e677613" name="afeaeef441ca98750e5ef82c30e677613"></a>struct <a class="el" href="menu__state_8h.html#structmenu__t_8actions">menu_t.actions</a></td>
<td class="fieldname">
actions</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="ac72b3aa394b9d07cf099e0db553ee8dc" name="ac72b3aa394b9d07cf099e0db553ee8dc"></a>struct <a class="el" href="menu__state_8h.html#structmenu__t_8browser">menu_t.browser</a></td>
<td class="fieldname">
browser</td>
<td class="fielddoc">
</td></tr>
</table>
</div>
</div>
<a name="structmenu__t_8actions" id="structmenu__t_8actions"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structmenu__t_8actions">&#9670;&#160;</a></span>menu_t.actions</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct menu_t.actions</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="ab072e4bbdfe4a337c959bf4f5b16a021" name="ab072e4bbdfe4a337c959bf4f5b16a021"></a>bool</td>
<td class="fieldname">
go_up</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a67036e224def9419f767e7a80c8d9a7a" name="a67036e224def9419f767e7a80c8d9a7a"></a>bool</td>
<td class="fieldname">
go_down</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="ab65fa9c785d6ab6d443cc2d1534bcb1b" name="ab65fa9c785d6ab6d443cc2d1534bcb1b"></a>bool</td>
<td class="fieldname">
go_left</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a75dcf65fcb811399e5f3173ce1a01daf" name="a75dcf65fcb811399e5f3173ce1a01daf"></a>bool</td>
<td class="fieldname">
go_right</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a31d4541b8e926a24f0c9b835b68cfdf3" name="a31d4541b8e926a24f0c9b835b68cfdf3"></a>bool</td>
<td class="fieldname">
fast</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a2733f89c8389ba4014a71be2079a772b" name="a2733f89c8389ba4014a71be2079a772b"></a>int</td>
<td class="fieldname">
vertical_held_counter</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="afe760727ce646ceb9b0b4b9c8e599367" name="afe760727ce646ceb9b0b4b9c8e599367"></a>int</td>
<td class="fieldname">
horizontal_held_counter</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="ae2a7106f1cc8bb1e1318df70aa0a3540" name="ae2a7106f1cc8bb1e1318df70aa0a3540"></a>bool</td>
<td class="fieldname">
enter</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a469bba0a564235dfceede42db14f17b0" name="a469bba0a564235dfceede42db14f17b0"></a>bool</td>
<td class="fieldname">
back</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a080505fba0c91df9d7cff41d972acaf1" name="a080505fba0c91df9d7cff41d972acaf1"></a>bool</td>
<td class="fieldname">
file_info</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a0ab3a6faf42848e1003ae626ba15ce9d" name="a0ab3a6faf42848e1003ae626ba15ce9d"></a>bool</td>
<td class="fieldname">
system_info</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a2e5d8aa3dfa8ef34ca5131d20f9dad51" name="a2e5d8aa3dfa8ef34ca5131d20f9dad51"></a>bool</td>
<td class="fieldname">
settings</td>
<td class="fielddoc">
</td></tr>
</table>
</div>
</div>
<a name="structmenu__t_8browser" id="structmenu__t_8browser"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structmenu__t_8browser">&#9670;&#160;</a></span>menu_t.browser</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct menu_t.browser</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="a9f7d0ee82b6a6ca7ddeae841f3253059" name="a9f7d0ee82b6a6ca7ddeae841f3253059"></a>bool</td>
<td class="fieldname">
valid</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a5f8f22b8cdbaeee8cf857673a9b6ba20" name="a5f8f22b8cdbaeee8cf857673a9b6ba20"></a><a class="el" href="path_8h.html#structpath__t">path_t</a> *</td>
<td class="fieldname">
directory</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a0df5d70bf9cd99d000a113be520e26a4" name="a0df5d70bf9cd99d000a113be520e26a4"></a><a class="el" href="menu__state_8h.html#structentry__t">entry_t</a></td>
<td class="fieldname">
list[BROWSER_LIST_SIZE]</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a5fce916b625108149ee3ea5f48d9b0d1" name="a5fce916b625108149ee3ea5f48d9b0d1"></a>int</td>
<td class="fieldname">
entries</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="aef7de3f485174ff47f061ad27d83d0ee" name="aef7de3f485174ff47f061ad27d83d0ee"></a>int</td>
<td class="fieldname">
selected</td>
<td class="fielddoc">
</td></tr>
</table>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Aug 5 2023 00:00:47 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>