N64FlashcartMenu/constants_8h_source.html
2024-10-20 14:52:17 +00:00

166 lines
19 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.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>N64FlashcartMenu: constants.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.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><li class="navelem"><a class="el" href="dir_a2193b6f8ca8748b0e3b26a8265ce7c7.html">components</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">constants.h</div></div>
</div><!--header-->
<div class="contents">
<a href="constants_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 COMPONENTS_CONSTANTS_H__</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#define COMPONENTS_CONSTANTS_H__</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> </div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"><a class="line" href="constants_8h.html#a46d67d48a7faab308f2e058dc35da83a"> 11</a></span><span class="preprocessor">#define DISPLAY_WIDTH (640)</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="constants_8h.html#a43b7b2061f733ea1dc0a5a6028e131ff"> 13</a></span><span class="preprocessor">#define DISPLAY_HEIGHT (480)</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> </div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"><a class="line" href="constants_8h.html#a9052e52bd99cbd5a17923051f3c920d9"> 16</a></span><span class="preprocessor">#define DISPLAY_CENTER_X (DISPLAY_WIDTH / 2)</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="constants_8h.html#a00874cb140e18d8f2858e9d122acf0a0"> 18</a></span><span class="preprocessor">#define DISPLAY_CENTER_Y (DISPLAY_HEIGHT / 2)</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="constants_8h.html#a32c7b7e5c9612d766d6d8f48cd648243"> 21</a></span><span class="preprocessor">#define OVERSCAN_WIDTH (32)</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="constants_8h.html#afad4a01c4604b18fd126bbc5dd996c39"> 23</a></span><span class="preprocessor">#define OVERSCAN_HEIGHT (24)</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="constants_8h.html#a9b677c2a6549810814fa608f4697910a"> 26</a></span><span class="preprocessor">#define VISIBLE_AREA_X0 (OVERSCAN_WIDTH)</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="constants_8h.html#a599519b46c499c0b6ee7591ad1443700"> 28</a></span><span class="preprocessor">#define VISIBLE_AREA_Y0 (OVERSCAN_HEIGHT)</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="constants_8h.html#ab42ef3a06ea6594861bb1dfe41d4cbfc"> 30</a></span><span class="preprocessor">#define VISIBLE_AREA_X1 (DISPLAY_WIDTH - OVERSCAN_WIDTH)</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="constants_8h.html#a993f4bc0369a4835a2cddd44f38241ee"> 32</a></span><span class="preprocessor">#define VISIBLE_AREA_Y1 (DISPLAY_HEIGHT - OVERSCAN_HEIGHT)</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="constants_8h.html#a6372292a7f4e97871a7cbb8acd5530c7"> 35</a></span><span class="preprocessor">#define VISIBLE_AREA_WIDTH (VISIBLE_AREA_X1 - VISIBLE_AREA_X0)</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="constants_8h.html#a3900f3b23135d3bc0a4a199a0d1e050a"> 37</a></span><span class="preprocessor">#define VISIBLE_AREA_HEIGHT (VISIBLE_AREA_Y1 - VISIBLE_AREA_Y0)</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="constants_8h.html#a8ed7a0f0ea48c9733bf7e57fe6eaf0f4"> 40</a></span><span class="preprocessor">#define BORDER_THICKNESS (4)</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span><span class="preprocessor">#define LAYOUT_ACTIONS_SEPARATOR_Y (400)</span></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> </div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="constants_8h.html#aa65e7de38a5d113fb320a352c9f173b3"> 45</a></span><span class="preprocessor">#define SEEKBAR_HEIGHT (24)</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="constants_8h.html#a7ed55a68a6f9501122e63fc7ef1c26a5"> 47</a></span><span class="preprocessor">#define SEEKBAR_WIDTH (524)</span></div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="constants_8h.html#a107ef7af0cc809f048e0e7ebfd5866d7"> 49</a></span><span class="preprocessor">#define SEEKBAR_X (DISPLAY_CENTER_X - (SEEKBAR_WIDTH / 2))</span></div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="constants_8h.html#af7d998d0dc9e124bacc16281a9b8935b"> 51</a></span><span class="preprocessor">#define SEEKBAR_Y (VISIBLE_AREA_Y1 - SEEKBAR_HEIGHT - 80)</span></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"><a class="line" href="constants_8h.html#aaed2114b9c700deb0b9d02bd7673ef93"> 54</a></span><span class="preprocessor">#define LOADER_WIDTH (320)</span></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="constants_8h.html#affa436a10ce5c880345dafb241361833"> 56</a></span><span class="preprocessor">#define LOADER_HEIGHT (24)</span></div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="constants_8h.html#ab728396003eb5cb3e5099dfe20d37c85"> 58</a></span><span class="preprocessor">#define LOADER_X (DISPLAY_CENTER_X - (LOADER_WIDTH / 2))</span></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="constants_8h.html#a6fe7c15551efdf4f66c74d5decd72f43"> 60</a></span><span class="preprocessor">#define LOADER_Y (DISPLAY_CENTER_Y - (LOADER_HEIGHT / 2))</span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> </div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="constants_8h.html#a2c5ad0e537cf5c0c34f8107a4bbd7add"> 63</a></span><span class="preprocessor">#define MESSAGEBOX_MAX_WIDTH (360)</span></div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="constants_8h.html#ab8b02a9ebb78a66fa1c36c8604295116"> 65</a></span><span class="preprocessor">#define MESSAGEBOX_MARGIN (32)</span></div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span><span class="preprocessor">#define TEXT_MARGIN_HORIZONTAL (10)</span></div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span><span class="preprocessor">#define TEXT_MARGIN_VERTICAL (6)</span></div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span><span class="preprocessor">#define TEXT_OFFSET_VERTICAL (1)</span></div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span><span class="preprocessor">#define TEXT_LINE_SPACING_ADJUST (0)</span></div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="constants_8h.html#a05817fe257afbe0f071f9ecb5b5544db"> 73</a></span><span class="preprocessor">#define BOXART_WIDTH (158)</span></div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="constants_8h.html#aecb936f69f40e5bd052597baa49a11a2"> 75</a></span><span class="preprocessor">#define BOXART_HEIGHT (112)</span></div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="constants_8h.html#a1dd26d043582325cae03bf26e09a02fe"> 77</a></span><span class="preprocessor">#define BOXART_X (VISIBLE_AREA_X1 - BOXART_WIDTH - 24)</span></div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"><a class="line" href="constants_8h.html#a42e7d267ca14ca1060cab46284922dea"> 79</a></span><span class="preprocessor">#define BOXART_Y (LAYOUT_ACTIONS_SEPARATOR_Y - BOXART_HEIGHT - 24)</span></div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> </div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="constants_8h.html#ad559674629cec2697e6282d2639a0d6d"> 82</a></span><span class="preprocessor">#define LIST_SCROLLBAR_WIDTH (12)</span></div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"><a class="line" href="constants_8h.html#a85bdb7c6baeb55445fc1e649c6b64a02"> 84</a></span><span class="preprocessor">#define LIST_SCROLLBAR_HEIGHT (LAYOUT_ACTIONS_SEPARATOR_Y - OVERSCAN_HEIGHT)</span></div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"><a class="line" href="constants_8h.html#a1f483d503fa19ce793059c85cd182a2c"> 86</a></span><span class="preprocessor">#define LIST_SCROLLBAR_X (VISIBLE_AREA_X1 - LIST_SCROLLBAR_WIDTH)</span></div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"><a class="line" href="constants_8h.html#a416f6ac63ddaaa285d573cd513bb3c21"> 88</a></span><span class="preprocessor">#define LIST_SCROLLBAR_Y (VISIBLE_AREA_Y0)</span></div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> </div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"><a class="line" href="constants_8h.html#ab066fe75e795cd65e59e2d47e89f7695"> 91</a></span><span class="preprocessor">#define LIST_ENTRIES (19)</span></div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"><a class="line" href="constants_8h.html#a084715a542c9cc19fce9ee942f1cda85"> 93</a></span><span class="preprocessor">#define FILE_LIST_MAX_WIDTH (480)</span></div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span><span class="preprocessor">#define FILE_LIST_HIGHLIGHT_WIDTH (VISIBLE_AREA_X1 - VISIBLE_AREA_X0 - LIST_SCROLLBAR_WIDTH)</span></div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span><span class="preprocessor">#define FILE_LIST_HIGHLIGHT_X (VISIBLE_AREA_X0)</span></div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> </div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"><a class="line" href="constants_8h.html#ad34ec4463c7da0f6da7f56f6d43f9f33"> 98</a></span><span class="preprocessor">#define BACKGROUND_EMPTY_COLOR RGBA32(0x00, 0x00, 0x00, 0xFF)</span></div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"><a class="line" href="constants_8h.html#ab399c3a31a6aacaea384ee5552292590"> 100</a></span><span class="preprocessor">#define BACKGROUND_OVERLAY_COLOR RGBA32(0x00, 0x00, 0x00, 0xA0)</span></div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> </div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"><a class="line" href="constants_8h.html#a966901ace2cf6cba3fc9cec310150860"> 103</a></span><span class="preprocessor">#define BORDER_COLOR RGBA32(0xFF, 0xFF, 0xFF, 0xFF)</span></div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> </div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"><a class="line" href="constants_8h.html#a5ab464068eb9e8f6c60aa357ef311571"> 106</a></span><span class="preprocessor">#define PROGRESSBAR_BG_COLOR RGBA32(0x00, 0x00, 0x00, 0xFF)</span></div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"><a class="line" href="constants_8h.html#a3f1a94f2927dd17b0fd77ccb23b33ddc"> 108</a></span><span class="preprocessor">#define PROGRESSBAR_DONE_COLOR RGBA32(0x3B, 0x7C, 0xF5, 0xFF)</span></div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> </div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"><a class="line" href="constants_8h.html#a61c381b074cba19bb6f0d7071a8c176e"> 111</a></span><span class="preprocessor">#define SCROLLBAR_BG_COLOR RGBA32(0x3F, 0x3F, 0x3F, 0xFF)</span></div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="constants_8h.html#a77788d60445dfa3a2500f44487d7720f"> 113</a></span><span class="preprocessor">#define SCROLLBAR_INACTIVE_COLOR RGBA32(0x5F, 0x5F, 0x5F, 0xFF)</span></div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"><a class="line" href="constants_8h.html#abf79df084d59750eb55bbda6888944a9"> 115</a></span><span class="preprocessor">#define SCROLLBAR_POSITION_COLOR RGBA32(0x7F, 0x7F, 0x7F, 0xFF)</span></div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> </div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"><a class="line" href="constants_8h.html#a6082ce2c2f2291f499e7de6f0973cfb3"> 118</a></span><span class="preprocessor">#define DIALOG_BG_COLOR RGBA32(0x00, 0x00, 0x00, 0xFF)</span></div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> </div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"><a class="line" href="constants_8h.html#a0e310295ec01558e62840b2bbfe95f47"> 121</a></span><span class="preprocessor">#define BOXART_LOADING_COLOR RGBA32(0x3F, 0x3F, 0x3F, 0xFF)</span></div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> </div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"><a class="line" href="constants_8h.html#aea0ff4749095856d59aacdad57614f59"> 124</a></span><span class="preprocessor">#define FILE_LIST_HIGHLIGHT_COLOR RGBA32(0x3F, 0x3F, 0x3F, 0xFF)</span></div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> </div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"><a class="line" href="constants_8h.html#aaf6ba3542bb494f77f96f266bd96226f"> 127</a></span><span class="preprocessor">#define CONTEXT_MENU_HIGHLIGHT_COLOR RGBA32(0x3F, 0x3F, 0x3F, 0xFF)</span></div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> </div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> </div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span><span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Oct 20 2024 14:52:16 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>