<!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"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.9.1"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>GRRLIB: grrlib.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 style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">GRRLIB  <span id="projectnumber">4.4.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.9.1 --> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ var searchBox = new SearchBox("searchBox", "search",false,'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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(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"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#nested-classes">Data Structures</a> | <a href="#define-members">Macros</a> | <a href="#typedef-members">Typedefs</a> | <a href="#enum-members">Enumerations</a> | <a href="#func-members">Functions</a> | <a href="#var-members">Variables</a> </div> <div class="headertitle"> <div class="title">grrlib.h File Reference</div> </div> </div><!--header--> <div class="contents"> <p>GRRLIB user include file. <a href="#details">More...</a></p> <div class="textblock"><code>#include <gccore.h></code><br /> <code>#include "<a class="el" href="_g_r_r_l_i_b____lib_8h.html">grrlib/GRRLIB__lib.h</a>"</code><br /> <code>#include "<a class="el" href="_g_r_r_l_i_b____inline_8h.html">grrlib/GRRLIB__inline.h</a>"</code><br /> </div><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> Data Structures</h2></td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_g_r_r_l_i_b__draw_settings.html">GRRLIB_drawSettings</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Structure to hold the current drawing settings. <a href="struct_g_r_r_l_i_b__draw_settings.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Structure to hold the texture information. <a href="struct_g_r_r_l_i_b__tex_img.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_g_r_r_l_i_b__bytemap_char.html">GRRLIB_bytemapChar</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Structure to hold the bytemap character information. <a href="struct_g_r_r_l_i_b__bytemap_char.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_g_r_r_l_i_b__bytemap_font.html">GRRLIB_bytemapFont</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Structure to hold the bytemap font information. <a href="struct_g_r_r_l_i_b__bytemap_font.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_g_r_r_l_i_b___font.html">GRRLIB_Font</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Structure to hold the TTF information. <a href="struct_g_r_r_l_i_b___font.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> Macros</h2></td></tr> <tr class="memitem:gad36e97f844e145cd811f40ee306eb11f"><td class="memItemLeft" align="right" valign="top"> #define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gad36e97f844e145cd811f40ee306eb11f">GRRLIB_VER_STRING</a>   "4.4.1"</td></tr> <tr class="memdesc:gad36e97f844e145cd811f40ee306eb11f"><td class="mdescLeft"> </td><td class="mdescRight">Version information for GRRLIB. <br /></td></tr> <tr class="separator:gad36e97f844e145cd811f40ee306eb11f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga2cde25567f177a6cd9191d536764235e"><td class="memItemLeft" align="right" valign="top"> #define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga2cde25567f177a6cd9191d536764235e">R</a>(c)   (((c) >>24) &0xFF)</td></tr> <tr class="memdesc:ga2cde25567f177a6cd9191d536764235e"><td class="mdescLeft"> </td><td class="mdescRight">Extract red component of colour. <br /></td></tr> <tr class="separator:ga2cde25567f177a6cd9191d536764235e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga7cc73638f4849985153257c89a69ee94"><td class="memItemLeft" align="right" valign="top"> #define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga7cc73638f4849985153257c89a69ee94">G</a>(c)   (((c) >>16) &0xFF)</td></tr> <tr class="memdesc:ga7cc73638f4849985153257c89a69ee94"><td class="mdescLeft"> </td><td class="mdescRight">Extract green component of colour. <br /></td></tr> <tr class="separator:ga7cc73638f4849985153257c89a69ee94"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:gadddcd4b5f23e5e290c31b64cd8c8efaa"><td class="memItemLeft" align="right" valign="top"> #define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gadddcd4b5f23e5e290c31b64cd8c8efaa">B</a>(c)   (((c) >> 8) &0xFF)</td></tr> <tr class="memdesc:gadddcd4b5f23e5e290c31b64cd8c8efaa"><td class="mdescLeft"> </td><td class="mdescRight">Extract blue component of colour. <br /></td></tr> <tr class="separator:gadddcd4b5f23e5e290c31b64cd8c8efaa"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga96aca57a76bd8537a24bb11ab44ef8d9"><td class="memItemLeft" align="right" valign="top"> #define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga96aca57a76bd8537a24bb11ab44ef8d9">A</a>(c)   ( (c) &0xFF)</td></tr> <tr class="memdesc:ga96aca57a76bd8537a24bb11ab44ef8d9"><td class="mdescLeft"> </td><td class="mdescRight">Extract alpha component of colour. <br /></td></tr> <tr class="separator:ga96aca57a76bd8537a24bb11ab44ef8d9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:gaba32782053c6a2b01e3706d632d77895"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gaba32782053c6a2b01e3706d632d77895">RGBA</a>(r, g, b, a)</td></tr> <tr class="memdesc:gaba32782053c6a2b01e3706d632d77895"><td class="mdescLeft"> </td><td class="mdescRight">Build an RGB pixel from components. <a href="group___all_func.html#gaba32782053c6a2b01e3706d632d77895">More...</a><br /></td></tr> <tr class="separator:gaba32782053c6a2b01e3706d632d77895"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:gaa1595302fa27df7d3e5913865659ca71"><td class="memItemLeft" align="right" valign="top"> #define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gaa1595302fa27df7d3e5913865659ca71">GRRLIB_BLEND_NONE</a>   (<a class="el" href="group___all_func.html#gga84c65877bb197763cda6669c473be692aeded8fce060bcb04b096c17cea237c23">GRRLIB_BLEND_ALPHA</a>)</td></tr> <tr class="memdesc:gaa1595302fa27df7d3e5913865659ca71"><td class="mdescLeft"> </td><td class="mdescRight">Alias for GRRLIB_BLEND_ALPHA. <br /></td></tr> <tr class="separator:gaa1595302fa27df7d3e5913865659ca71"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga4da19aad1f8a920283a84a3af7d7e34a"><td class="memItemLeft" align="right" valign="top"> #define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga4da19aad1f8a920283a84a3af7d7e34a">GRRLIB_BLEND_LIGHT</a>   (<a class="el" href="group___all_func.html#gga84c65877bb197763cda6669c473be692ad4f0554f7bfc19410c4fedaeab1a10fd">GRRLIB_BLEND_ADD</a>)</td></tr> <tr class="memdesc:ga4da19aad1f8a920283a84a3af7d7e34a"><td class="mdescLeft"> </td><td class="mdescRight">Alias for GRRLIB_BLEND_ADD. <br /></td></tr> <tr class="separator:ga4da19aad1f8a920283a84a3af7d7e34a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga2308b6e9df5946957149bfa693c6a93e"><td class="memItemLeft" align="right" valign="top"> #define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga2308b6e9df5946957149bfa693c6a93e">GRRLIB_BLEND_SHADE</a>   (<a class="el" href="group___all_func.html#gga84c65877bb197763cda6669c473be692a4a7b1a0e143ad522128a7c8f5f7dc7fb">GRRLIB_BLEND_MULTI</a>)</td></tr> <tr class="memdesc:ga2308b6e9df5946957149bfa693c6a93e"><td class="mdescLeft"> </td><td class="mdescRight">Alias for GRRLIB_BLEND_MULTI. <br /></td></tr> <tr class="separator:ga2308b6e9df5946957149bfa693c6a93e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga065dde42220d3d8e638f5f9e1993e44f"><td class="memItemLeft" align="right" valign="top"> #define </td><td class="memItemRight" valign="bottom"><b>GRR_EXTERN</b>   extern</td></tr> <tr class="separator:ga065dde42220d3d8e638f5f9e1993e44f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga11bc269e562078ae863744e6f121d246"><td class="memItemLeft" align="right" valign="top"> #define </td><td class="memItemRight" valign="bottom"><b>GRR_INIT</b>(v)</td></tr> <tr class="separator:ga11bc269e562078ae863744e6f121d246"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga96c64b43f483cefce8f2b58d282538d4"><td class="memItemLeft" align="right" valign="top"> #define </td><td class="memItemRight" valign="bottom"><b>GRR_INITS</b>(...)</td></tr> <tr class="separator:ga96c64b43f483cefce8f2b58d282538d4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga2eb6f9e0395b47b8d5e3eeae4fe0c116"><td class="memItemLeft" align="right" valign="top"> #define </td><td class="memItemRight" valign="bottom"><b>INLINE</b>   static inline</td></tr> <tr class="separator:ga2eb6f9e0395b47b8d5e3eeae4fe0c116"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a> Typedefs</h2></td></tr> <tr class="memitem:gaadb8b5eb7000391e477ed8221fa3f2c9"><td class="memItemLeft" align="right" valign="top"> typedef enum <a class="el" href="group___all_func.html#ga84c65877bb197763cda6669c473be692">GRRLIB_blendMode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gaadb8b5eb7000391e477ed8221fa3f2c9">GRRLIB_blendMode</a></td></tr> <tr class="memdesc:gaadb8b5eb7000391e477ed8221fa3f2c9"><td class="mdescLeft"> </td><td class="mdescRight">GRRLIB Blending Modes. <br /></td></tr> <tr class="separator:gaadb8b5eb7000391e477ed8221fa3f2c9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga5832d092436ee56d5f83b6792d309290"><td class="memItemLeft" align="right" valign="top"> typedef struct <a class="el" href="struct_g_r_r_l_i_b__draw_settings.html">GRRLIB_drawSettings</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga5832d092436ee56d5f83b6792d309290">GRRLIB_drawSettings</a></td></tr> <tr class="memdesc:ga5832d092436ee56d5f83b6792d309290"><td class="mdescLeft"> </td><td class="mdescRight">Structure to hold the current drawing settings. <br /></td></tr> <tr class="separator:ga5832d092436ee56d5f83b6792d309290"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga7f5b59ff4d8d339dcb303b660339d9bb"><td class="memItemLeft" align="right" valign="top"> typedef struct <a class="el" href="struct_g_r_r_l_i_b__tex_img.html">GRRLIB_texImg</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga7f5b59ff4d8d339dcb303b660339d9bb">GRRLIB_texImg</a></td></tr> <tr class="memdesc:ga7f5b59ff4d8d339dcb303b660339d9bb"><td class="mdescLeft"> </td><td class="mdescRight">Structure to hold the texture information. <br /></td></tr> <tr class="separator:ga7f5b59ff4d8d339dcb303b660339d9bb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga3afef19dc5b9ad7c6e89fe06f9bfe1e0"><td class="memItemLeft" align="right" valign="top"> typedef struct <a class="el" href="struct_g_r_r_l_i_b__bytemap_char.html">GRRLIB_bytemapChar</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga3afef19dc5b9ad7c6e89fe06f9bfe1e0">GRRLIB_bytemapChar</a></td></tr> <tr class="memdesc:ga3afef19dc5b9ad7c6e89fe06f9bfe1e0"><td class="mdescLeft"> </td><td class="mdescRight">Structure to hold the bytemap character information. <br /></td></tr> <tr class="separator:ga3afef19dc5b9ad7c6e89fe06f9bfe1e0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga08ac096c30fe4b6becaa039a97905c73"><td class="memItemLeft" align="right" valign="top"> typedef struct <a class="el" href="struct_g_r_r_l_i_b__bytemap_font.html">GRRLIB_bytemapFont</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga08ac096c30fe4b6becaa039a97905c73">GRRLIB_bytemapFont</a></td></tr> <tr class="memdesc:ga08ac096c30fe4b6becaa039a97905c73"><td class="mdescLeft"> </td><td class="mdescRight">Structure to hold the bytemap font information. <br /></td></tr> <tr class="separator:ga08ac096c30fe4b6becaa039a97905c73"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:gac8a079ae4566c590762c46b8210bb9f4"><td class="memItemLeft" align="right" valign="top"> typedef struct <a class="el" href="struct_g_r_r_l_i_b___font.html">GRRLIB_Font</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#gac8a079ae4566c590762c46b8210bb9f4">GRRLIB_ttfFont</a></td></tr> <tr class="memdesc:gac8a079ae4566c590762c46b8210bb9f4"><td class="mdescLeft"> </td><td class="mdescRight">Structure to hold the TTF information. <br /></td></tr> <tr class="separator:gac8a079ae4566c590762c46b8210bb9f4"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a> Enumerations</h2></td></tr> <tr class="memitem:ga84c65877bb197763cda6669c473be692"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga84c65877bb197763cda6669c473be692">GRRLIB_blendMode</a> { <br />   <a class="el" href="group___all_func.html#gga84c65877bb197763cda6669c473be692aeded8fce060bcb04b096c17cea237c23">GRRLIB_BLEND_ALPHA</a> = 0 , <a class="el" href="group___all_func.html#gga84c65877bb197763cda6669c473be692ad4f0554f7bfc19410c4fedaeab1a10fd">GRRLIB_BLEND_ADD</a> = 1 , <a class="el" href="group___all_func.html#gga84c65877bb197763cda6669c473be692ad026c10937b34f2e3e5dd462f528ef00">GRRLIB_BLEND_SCREEN</a> = 2 , <a class="el" href="group___all_func.html#gga84c65877bb197763cda6669c473be692a4a7b1a0e143ad522128a7c8f5f7dc7fb">GRRLIB_BLEND_MULTI</a> = 3 , <br />   <a class="el" href="group___all_func.html#gga84c65877bb197763cda6669c473be692ab3aacba447b6cee253fc713e45ab49fd">GRRLIB_BLEND_INV</a> = 4 <br /> }</td></tr> <tr class="memdesc:ga84c65877bb197763cda6669c473be692"><td class="mdescLeft"> </td><td class="mdescRight">GRRLIB Blending Modes. <a href="group___all_func.html#ga84c65877bb197763cda6669c473be692">More...</a><br /></td></tr> <tr class="separator:ga84c65877bb197763cda6669c473be692"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:ga7138a4aaee5099b15859368c5f499b2f"><td class="memItemLeft" align="right" valign="top"> GRR_EXTERN void *xfb[2] </td><td class="memItemRight" valign="bottom"><b>GRR_INITS</b> (NULL, NULL)</td></tr> <tr class="separator:ga7138a4aaee5099b15859368c5f499b2f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga7b2416f572740e91fa710421174d55d8"><td class="memItemLeft" align="right" valign="top"> GRR_EXTERN u32 fb </td><td class="memItemRight" valign="bottom"><b>GRR_INIT</b> (0)</td></tr> <tr class="separator:ga7b2416f572740e91fa710421174d55d8"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> Variables</h2></td></tr> <tr class="memitem:ga10c3414080fff8aeaccb0b1584d51edc"><td class="memItemLeft" align="right" valign="top"> GRR_EXTERN GXRModeObj * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___all_func.html#ga10c3414080fff8aeaccb0b1584d51edc">rmode</a></td></tr> <tr class="memdesc:ga10c3414080fff8aeaccb0b1584d51edc"><td class="mdescLeft"> </td><td class="mdescRight">Video mode. <br /></td></tr> <tr class="separator:ga10c3414080fff8aeaccb0b1584d51edc"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>GRRLIB user include file. </p> </div></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </small></address> </body> </html>